Skip to main content
There are two ways to send Prometheus metrics to Metoro.
This page covers sending Prometheus metrics into Metoro. To query metrics with PromQL inside Metoro dashboards, see PromQL.
If your workloads already use Prometheus Operator ServiceMonitor or PodMonitor resources, use Metoro’s built-in ServiceMonitor scraping. The Metoro Helm chart deploys the collector and Target Allocator for you.
The recommended approach is to use the OpenTelemetry Collector to scrape and forward Prometheus metrics to the exporter. This method preserves metric type information better than Prometheus Remote Write due to the more sophisticated type system in OpenTelemetry. Here’s an example configuration for the OpenTelemetry Collector:
This configuration:
  1. Sets up a Prometheus receiver to scrape metrics from your Prometheus instance
  2. Processes the metrics through a transformation pipeline
  3. Exports them to Metoro using the OTLP protocol
A full example can be seen here

2. Prometheus Remote Write

If you are unable to use the OpenTelemetry Collector, you can configure Prometheus to directly send metrics to Metoro using Remote Write. While this method is simpler to set up, it may not preserve all metric type information due to limitations in the Prometheus Remote Write protocol. Add the following to your Prometheus configuration:
This configuration will send all scraped metrics directly to the exporter from your Prometheus instance using Prometheus Remote Write. A full example can be seen here