Hello,
I have a rather strange issue with a Grafana dashboard that I use to monitor my Windows hosts. There is a “Process” section that has five graphs. The graphs show % Processor Time, Handle Count, Private Bytes, Virtual Bytes, and Working Set for each process. The issue I’m having is that I use a program called Notepad++ and when that process is present, the five graphs all fail to display anything and show the following query error…
InfluxDB returned error: error parsing query: error parsing regexp: invalid nested repetition operator:
++ at line 1, char 121
The query for the % Processor Time is…
SELECT mean("Percent_Processor_Time") as "% Processor Time" FROM "win_proc" WHERE host =~ /$hostname$/ AND instance =~ /$process$/ AND $timeFilter GROUP BY time($interval), instance fill(linear)
If I manually select processes to show in the graph, everything displays correctly. As soon as I select the “All” option, the graph goes blank. This happens if I select only the “Notepad++” process.
Is there a way to modify the query so it doesn’t interpret the characters in the process name as part of the query?
Thanks.