I am using Prometheus as my data source and plotting in grafana.
I have two different metrics like “system_total_processes” and “system_process_running”. Currently i have plotted as different graphs for both but I want to plot in same graph with legends.
I have plotted with below query and both in different graph.
system_total_processes{instance=~"$host"}
system_process_running{instance=~"$host"}
I am sure there must be change in prometheus query but how to write that so that grafana plot in one graph.
Any pointer will be appreciated.