Promtail
Oodle provides a seamless integration with Promtail. You can use OTel Collector Loki receiver and then export the data via OTel exporter to Oodle.
Configuration
OTel configuration
To configure Open Telemetry to send logs to Oodle, you'll need the following values:
OODLE_INSTANCE: Your Oodle instance ID. Go toSettingsicon ->API Keyspage in your Oodle UI to find out. (Oodle UI links: ap1, us1)OODLE_API_KEY: Your Oodle API key for authentication. Go toSettingsicon ->API Keysin your Oodle UI to choose an appropriate key. (Oodle UI links: ap1, us1)
You can then configure OTel collector to receive logs from Promtail again via Loki receiver
receivers:
loki:
protocols:
http:
endpoint: 0.0.0.0:3500
grpc:
endpoint: 0.0.0.0:3600
use_incoming_timestamp: true
exporters:
otlphttp/oodle:
logs_endpoint: "https://<OODLE_ENDPOINT>-logs.collector.oodle.ai/ingest/otel/v1/logs"
headers:
"X-OODLE-INSTANCE": "<OODLE_INSTANCE>"
"X-API-KEY": "<OODLE_API_KEY>"
processors:
batch:
service:
pipelines:
logs:
receivers: [loki]
processors: [batch]
exporters: [otlphttp/oodle]
Steps
You can find the required Promtail configuration changes by doing the following:
- Login to the Oodle UI, then navigate to Settings page
- Click on the Promtail tile
- Choose an appropriate API key from the list on top of the drawer
You can then configure OTel collector to receive logs from Promtail again via Loki receiver
Promtail configuration
You can now configure Promtail agent to send logs to OTel collector configured above:
clients:
- url: http://otelcol:3500/loki/api/v1/push
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