Better Stack Prometheus metrics

Start collecting metrics in 5 minutes

How you would like to collect your Prometheus metrics?

Forward metrics from your Prometheus instance

Collect metrics from your Prometheus instance using Remote-Write.

1. Configure your Prometheus

Add a remote_write section to your Prometheus config file:

prometheus.yml
global:
  scrape_interval: 15s
  evaluation_interval: 15s

# your existing configuration

remote_write:
  - url: "https://$INGESTING_HOST/metrics"
    authorization:
      type: Bearer
      credentials: "$SOURCE_TOKEN"

2. Reload the configuration

Reload the configuration of your Prometheus server:

Select your platform:

Reload Prometheus server
ps -A | grep prometheus | tr -s ' ' | xargs | cut -f1 -d' ' | xargs kill -HUP

3. See your metrics in Better Stack 🎉

You should see your metrics in the Prometheus dashboard.

Need help?

Please let us know at hello@betterstack.com.
We're happy to help! 🙏