Application logs are not pushed to grafana loko

23 Views Asked by At

I am working on adding observability(using grafana stack) to my spring boot microservives.

I can't see logs in my grafana loki dashboard. I think issue is with some configuration in one of docker-compose, otel-collector.yml, OpenTelemetryConfig file. links of code below

otel-collector.yml: https://github.com/raju4789/tourna-mate/blob/master/docker/collector/otel-collector.yml

docker-compose.yml : https://github.com/raju4789/tourna-mate/blob/master/docker-compose.yml

OpenTelemetryConfig: https://github.com/raju4789/tourna-mate/blob/master/tourni-identity-service/src/main/java/com/tournament/config/common/OpenTelemetryConfig.java

Full code here: https://github.com/raju4789/tourna-mate/tree/master

I was trying to follow this article to add observability: https://medium.com/@ahmadalammar/comprehensive-observability-in-spring-boot-using-opentelemetry-prometheus-grafana-tempo-and-e08842ae96be

Please help. I am struck on this for a while now.

0

There are 0 best solutions below