The easiest and fastest way to see your Metricfire data is in Grafana, which comes with your Metricfire account. It's also possible to view your Metricfire data in a locally hosted Grafana.
Prometheus provide some clear documentation and helpful guides on creating queries here: https://prometheus.io/docs/visualization/grafana/#creating-a-prometheus-data-source
Your Metricfire account comes with a blank Grafana instance, with a datasource configured. This allows you to immediately graph the data you've sent us. Check out your Grafana here – https://app.hostedgraphite.com/grafana/
If you already have Grafana set up in your organisation, you can view your Metricfire data in it by adding Metricfire as a datasource.
In Grafana's configuration menu, click on Data Sources and select Prometheus
Http URL: https://app.metricfire.com/datasource
Select Basic Auth and provide Account ID and API key found in your Account Details at https://app.hostedgraphite.com/
After clicking on Save and Test, a green confirmation should appear stating that Data source is working.
It's possible, though not necessary, to use a local Prometheus as a datasource for your Metricfire Grafana.
The recommended way to add your Prometheus as a datasource to our Grafana as a service would be to first make it accessible over https (required) with basic authentication enabled (suggested). Some useful links on these things:
One option is something like:
Most web servers have some documentation on this. The examples in Prometheus use Nginx, so we recommend having a look at the nginx documentation: http://nginx.org/en/docs/http/configuring_https_servers.html
Prometheus provides a guide for enabling this:
After this is all configured, your prometheus should be accessible over https. When you're happy with it, go to https://app.hostedgraphite.com/grafana/datasources and add a new Prometheus datasource.
If you just want to graph a locally running prometheus you can expose it with ngrok (https://ngrok.com/), a tool for exposing localhost through a NAT or firewall quickly and securely. It isn't a permanent solution; the url for the datasource will change every time you restart Prometheus and you will need to edit your Metricfire Grafana datasource.