grafana / alloy

OpenTelemetry Collector distribution with programmable pipelines
https://grafana.com/oss/alloy
Apache License 2.0
1.45k stars 216 forks source link

Debug metrics for otelcol.exporter.loki #1957

Open tshuma1 opened 1 month ago

tshuma1 commented 1 month ago

Request

Can we have debug metrics for the otelcol.exporter.loki component (I dont see any) . Or we should rather use metrics such as loki_write_sent_entries_total from the loki.write component.

It would be good to have debug metrics specifically for otelcol.exporter.loki , the same way we have debug metrics such as otelcol_exporter_send_failed_spans_total for the otelcol.exporter.otlp component.

Use case

We would like to visualize in a dashboard log entries sent and dropped by the loki exporter but we do not have accurate enough metrics to achieve that. For now we can only rely on the (imprecise) metrics from the loki.write component such as loki_write_sent_entries_total , loki_write_dropped_entries_total etc .

github-actions[bot] commented 3 days ago

This issue has not had any activity in the past 30 days, so the needs-attention label has been added to it. If the opened issue is a bug, check to see if a newer release fixed your issue. If it is no longer relevant, please feel free to close this issue. The needs-attention label signals to maintainers that something has fallen through the cracks. No action is needed by you; your issue will be kept open and you do not have to respond to this comment. The label will be removed the next time this job runs if there is new activity. Thank you for your contributions!