Skip to main content

Grafana Alloy

Oodle has native support for Open Telemetry Logs.

To send logs to Oodle from Grafana Alloy, you will need the following:

  • OODLE_INSTANCE: Your Oodle instance ID. Go to Settings icon -> API Keys page in your Oodle UI to find out. (Oodle UI links: ap1, us1)
  • OODLE_API_KEY: Your Oodle API key for authentication. Go to Settings icon -> API Keys in your Oodle UI to choose an appropriate key. (Oodle UI links: ap1, us1)

Alloy Configuration

You can add a otelcol.exporter.otlphttp component to your Alloy configuration to send logs to Oodle:

otelcol.exporter.otlphttp "oodle_logs" {
client {
endpoint = "https://<OODLE_INSTANCE>-logs.collector.oodle.ai"
headers = {
"X-OODLE-INSTANCE" = "<OODLE_INSTANCE>",
"X-API-KEY" = "<OODLE_API_KEY>",
}
compression = "gzip"
}

logs_endpoint =
"https://<OODLE_INSTANCE>-logs.collector.oodle.ai/ingest/otel/v1/logs"
}

// Example of existing logs processor
otelcol.processor.attributes "add_environment" {
action {
// Existing config
}

output {
logs = [
otelcol.exporter.loki.default.input,
otelcol.exporter.otlphttp.oodle_logs.input,
]
}
}

Steps

Grafana Alloy Logs Integration

You can find the Alloy config changes by following these steps:

  1. Login to the Oodle UI, then navigate to Settings page
  2. Click on the Alloy tile
  3. Choose an appropriate API key from the list on top of the drawer
  4. Select the Logs tab

Follow the steps in the drawer to add a otelcol.exporter.otlphttp component to your Alloy configuration to send logs to Oodle

Support

If you need assistance or have any questions, please reach out to us through:

  • The help chat widget available on the Support link in the sidebar
  • Email at support@oodle.ai