Prometheus
Enabling Remote Write in Prometheus
Currently, Odigos supports Prometheus via the Remote Write API. In order to enable remote write in Prometheus, set the following feature flag.
Configuring the Prometheus Backend
Once the remote write API is enabled, you can configure the Prometheus backend in the Odigos UI. Enter the URL of the Prometheus server and give a name to the backend.
Adding a Destination to Odigos
Odigos makes it simple to add and configure destinations, allowing you to select the specific signals [traces/logs/metrics] that you want to send to each destination. There are two primary methods for configuring destinations in Odigos:
- Using the UI
To add a destination via the UI, follow these steps:- Use the Odigos CLI to access the UI: Odigos UI
-
In the left sidebar, navigate to the
Destination
page. -
Click
Add New Destination
-
Select
Prometheus
and follow the on-screen instructions.
- Using kubernetes manifests
Save the YAML below to a file (e.g., destination.yaml
) and apply it using kubectl
: