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 Cloud and have access to a copy of it.

Send metrics to Moogsoft Cloud

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

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

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

  2. Provide your 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 Cloud:

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

2022-11-30T15:20:48-05:00