Piotr Krzemiński
01/13/2025, 10:09 AMTies
01/13/2025, 11:57 AMRiccardo Lippolis
01/13/2025, 1:09 PMPiotr Krzemiński
01/13/2025, 1:54 PMPiotr Krzemiński
01/16/2025, 9:20 AMRiccardo Lippolis
01/17/2025, 11:40 AMa setup that does provide some metrics, but after several ours, the metrics simply disappearso I assume it is all working in the beginning, but then after a few hours you don't see any new metric information appear, am I right? And does this apply to logs, traces and metrics, or only specifically to metrics? In short, the way the information flows is like this:
your app
-> opentelemetry collector
-> grafana/jaeger/prometheus
so it indeed seems like at some point either the connection between your app and the otel collector is broken, or the connection between the collector and the observability backends (grafana/jaeger/prometheus). To determine whether the OTel collector is still receiving information, you could try a few things:
• configure the collector to output its internal telemetry as a prometheus exporter, to have the otel collector also send metrics to your prometheus instance
• set the log level of the collector to debug to see if anything is still happening with the collector at the moment you don't see any metrics anymore
• configure a debug exporter in the otel collector, so that you can see in the logging whether the otel collector is attempting to export anything. If you don't see metrics, but you do see some exporting going on in the logging, the issue must be in the connection between the collector and the observability backends, but if you also don't see any logging, either your app is not sending anything, or the connection between your app and the otel collector is broken, or the otel collector is broken (which could theoretically be caused by the github issue you linked to)
I hope this gives you some pointers to look at!