For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

Create an Exporter

Exporter is a Custom Resource (CR) that represents a Monitoring Exporter pipeline on the Management Cluster. This guide walks through creating one end to end.

Prerequisites

Before creating an Exporter CR, ensure the following:

  • The Monitoring Extension is installed. See Installation.
  • Crossplane, the required functions (function-extra-resources, function-go-templating, function-sequencer, function-auto-ready), and the Helm and Kubernetes providers are all running and healthy.
  • A PromQL-compatible metrics source is reachable from the Management Cluster. The composition defaults to http://mimir-gateway.cennso-monitoring/prometheus when spec.source.metricsURL is omitted; explicitly setting the URL is recommended.
  • If the sink requires OAuth 2.0 authentication, the credentials Secret exists in the target namespace before the Exporter is applied.

For more details about the Exporter API, see the Exporter concept page.

Steps

  1. Create the OAuth2 credentials Secret in the namespace where you will create the Exporter. The Secret must contain the four keys that the Telegraf configuration expects:

    bash

    The api_endpoint key must hold the exact URL of the ingest gateway that accepts the NDJSON document stream. The Telegraf outputs.http plugin POSTs to this URL verbatim.

  2. Create a YAML file for your Exporter CR (for example: exporter.yaml) and configure it according to your needs:

    yaml

    For more details about the Exporter CRD, refer to the Exporter API reference.

  3. Apply the Exporter CR to your Management Cluster:

    bash

Verification

To verify that the Exporter pipeline is running, follow these steps:

  1. Check whether the CR is synced and ready:

    bash

    Sample output:

    bash
  2. Confirm the ConfigMap with the rendered Telegraf configuration was created:

    bash
  3. Check that the Helm Release was created and is deployed:

    bash
  4. Verify the Telegraf pod is running and has loaded the expected plugins:

    bash

    A healthy pod logs lines such as Loaded inputs: internal promql, processors: rename, secretstores: cennso_oauth, and outputs: http prometheus_client with no Unauthorized (401) errors.

  5. Confirm that ECS-compliant documents are being indexed. Query the Elasticsearch index directly:

    bash

    The response should contain documents with orchestrator.*, container.name, host.name, and service.name as nested objects at the document root, alongside @timestamp and the metric value nested under the measurement name.