grafana / mimir

Grafana Mimir provides horizontally scalable, highly available, multi-tenant, long-term storage for Prometheus.
https://grafana.com/oss/mimir/
GNU Affero General Public License v3.0
4.17k stars 535 forks source link

(devel) Enable otel-collector containers to emit logs under docker-compose #9982

Closed seizethedave closed 4 days ago

seizethedave commented 4 days ago

What this PR does

This allows the otel-collector containers available in monolithic development mode to write basic logs to the screen. With this, you begin to see output on the screen like this:

otel-otlp-1  | 2024-11-21T19:38:17.580Z info    Metrics {"kind": "exporter", "data_type": "metrics", "name": "debug", "resource metrics": 1, "metrics": 20, "data points": 22}

... which is useful when testing locally. (Especially when writes are failing.)

Checklist