Is there a way to make Prometheus to scrape only the metrics which are present in Grafana?

As a customer of Grafna Cloud, I need to minimize the number of DataSeries that are being sent (remote_write) to Grafana Cloud, to avoid being overcharged for metrics that I don’t really use.

This can be done by filtering out the metrics that I don’t use in my Grafana dashboards, is there a way to do that automatically? Without having to write down all the metric_relabel_configs rules manually?

Go to Source
Author: Meir Gabay

How to display Apache Tomcat metrics on Ubuntu (Like cPanel’s metrics)

I need a way to display metrics like number of visitors, location of visitors and so on using Ubuntu and Apache Tomcat.
I would like it to work in a cPanel or Webmin fashion where the data is displayed on a webpage and I can access it from another machine (something lightweight too, because my server is a weak machine).

I am using Apache Tomcat v9.0.36 and Ubuntu 18.04.4 LTS.

Thanks

Go to Source
Author: Ivan Dimitrov