Getting Started with the Mezmo Platform
Manage Source Data
Build Telemetry Pipelines
Monitor Data and Create Alerts
Pipeline Destinations
Pipeline Processors
Reference
Other Mezmo Resources
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Prometheus Remote Write
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
Description
You can send your metrics to a Mezmo Pipeline to be received as Prometheus Remote Write data.
Configuration
The Mezmo Prometheus Remote Write source provides a unique endpoint URL that uses Bearer Token authentication. You can obtain the unique endpoint and Bearer Token from the Mezmo pipeline app when you create a new Prometheus Remote Write source.
Configuration Options
| Option | Description |
|---|---|
| url | unique URL for your remote_write source |
| bearer_token | token used in sending data to your remote_write source |
Prometheus Configuration File
To configure a Prometheus instance add a section like this to its configuration file:
YAML
- url: https://pipeline.mezmo.com/v1/<YOUR ROUTE ID> bearer_token: <YOUR_PIPELINE_INGEST_KEY>Kubernetes Operator
If you are running Prometheus within Kubernetes using the Kubernetes operator you can configure the instance with these commands, templating in the Bearer Token, the endpoint provided by the Mezmo Web App, and the Prometheus crd name:
Bash
kubectl -n monitoring create secret generic mz-prom-rw-token --from-literal=value=<TOKEN FROM APP>Bash
cat <<'EOF' | kubectl patch prometheus -n <PROMETHEUS NAMESPACE> <YOUR PROMETHEUS CRD INSTANCE> -f -spec: remoteWrite: - authorization: credentials: key: value name: mz-prom-rw-token url: <ENDPOINT FROM APP>EOFType to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on Nov 6, 2024
Was this page helpful?
Next to read:
Splunk HECDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message