I have data where metric is variable and I would like to visualize data about memory and CPU usage like Newrelic or ELK. Is it possible to realize?
Performance data is like this:
'php5-fpm'=42000000 'nginx'=10000000 'nrsysmond'=6000000 'newrelic'=5000000 'mysql'=3000000
The first column is variable.
SELECT mean("value") FROM "top_program_of_linux_memory_usage" WHERE ("hostname" =~ /^$hostname$/ AND "service" = 'Top_app_program_of_linux_memory_usage' AND "metric" =~ /(..).*/) AND $timeFilter GROUP BY time(5m) fill(none)
As result, I would like to see 10 (all or more) lines/column on a graphs something like to the picture.