Filtering out items in metrics

Hello!
I used to be able to do this with simple regex, but it hasn’t working in awhile. What is the best way to accomplish what I am trying to do:

I am building a graph for an application that has multiple items per host. For example, the “Application: CPU” may have these items:

CPU Nice Time
CPU Steal Time
CPU User Time
CPU Idle Time
Processor Load
Iowait time

And I want to display ALL “CPU” items in the graph but NOT “CPU Idle Time”. What is the best way to exclude this from my graph? This used to work in the item field (many versions ago) but no longer does: /CPU (?!idle)/

Thank you in advance!
Jed

  • What Grafana version and what operating system are you using?

  • What are you trying to achieve?

  • How are you trying to achieve it?

  • What happened?

  • What did you expect to happen?

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

  • Did you follow any online instructions? If so, what is the URL?