I need a way to add a Dropdown menu ( or similar solution ) to show the metrics for only one cpu ( cpu 1 or cpu 0 ). Is this possible? The metric is node_cpu_seconds_total
How to add a dropdown menu in Grafana?
19.3k Views Asked by xRobot At
1
There are 1 best solutions below
3
Marcelo Ávila de Oliveira
On
BEST ANSWER
- Create a custom variable named "cpu" with values 0 and 1 in Dashboard settings > Variables > New

- Create the graph panel using the cpu variable (use the ":pipe" suffix to enable the use of 0 and 1 options at the same time)

- The CPU can be selected in the dropdown menu

Related Questions in GRAFANA
- How to get data from JMeter to influxDB with backend listener?
- Grafana installs successfully but interface is missing on Mac OS Yosemite
- Grafana create groups with hosts
- How can I correctly transform and display strictly increasing values from Influxdb in Grafana?
- Redirect to grafana from inside of Laravel Controller using AuthProxy
- Grafana worldmap with influxdb shows no datapoints
- How do you add a query for data grouped by a regex in influxdb to grafana?
- Does percentile metrics follow the rules of summations in Graphite + Grafana?
- InfluxDB count same string values for a timerange
- graphite or grafana, rename IDs to String in the series
- In Grafana, How to setup datasource and load templates from cli?
- How to edit the link in a slack notification from Grafana
- Get difference since 30 days ago in InfluxQL/InfluxDB
- Grafana / graphite - maxSeries on #A and #B
- Grafana / Graphite - Display number of series where count > 0
Related Questions in GRAFANA-TEMPLATING
- Grafana templates for Prometheus
- Grafana: global variables to access [from,to] values of the time range
- Disable View, Share and More menu from graph in Grafana
- Use variable in MYSQL query Grafana Returns Column Name instead of metrics
- Grafana query parsing error with label_values
- Grafana. Is it possible to remove attachment?
- How can i send hyperlink to email on Grafana alert?
- Grafana repeated rows are not grouped
- Probe probe_ssl_earliest_cert_expiry
- How to pass pod_name in pod_down grafana alert message
- Grafana issue with a new datasource plugin - define is not a function
- How to get Text of selected template variable in Grafana
- Grafana message templates
- How to produce multiple similar Grafana dashboards for kube-prometheus-stack? What does makes the collision that I see only one from the bunch of them
- How to sort alerts from Prometheus correctly in the Grafana panel
Related Questions in GRAFANA-API
- Disable View, Share and More menu from graph in Grafana
- POST /api/admin/provisioning/access-control/reload returns "Not found" in Grafana
- Set prometheus metric to return datetime instead of a float
- Grafana flow mode service_graphs
- Can't provision Grafana dashboard with default permissions
- Grafana edit provisioned contact points
- How to programmatically copy a dashboard's layout to another in Grafana?
- Star dashboard for Oauth users
- Grafana: Datasource (Prometheus ) query 403
- Unable to send request to the grafana using basic authentication
- Embedded Grafana in iframe and JWT authentication
- Grafana Proxy New Domain to old DOmain
- How to add a dropdown menu in Grafana?
- Getting "General" folder ID for a newly-created organization in grafana
- Send logs directly to Loki without use of agents
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
