Skip to main content

Prometheus Remote Write integration

Moogsoft Cloud can ingest metrics from any external system that supports the Prometheus remote write protocol. This includes services such as Prometheus, Telegraf, NewRelic, Sysdig, Fluentbit, and many more.

Before you begin

Before you start to set up your integration, ensure that you have met the following requirements:

  • You understand how to use Prometheus remote write, which is documented here.

  • You have created an API key in Moogsoft and have access to a copy of it.

Send metrics to Moogsoft

To send metrics to Moogsoft using Prometheus remote write, do the following:

  1. Configure your external system to send to the following Moogsoft API endpoint:

    https://api.moogsoft.ai/v1/integrations/metrics/prometheus-remote-write

  2. Provide your Moogsoft API key to the external system as an HTTP header named apiKey.

Here is an example YAML snippet that configures a Prometheus instance to send metrics to Moogsoft:

remote_write:
    - url: "https://api.moogsoft.ai/v1/integrations/metrics/prometheus-remote-write"
      headers:
          apiKey: "<API-KEY>"