Comments on: Spring Boot 3 Observability with Grafana https://piotrminkowski.com/2022/11/03/spring-boot-3-observability-with-grafana/ Java, Spring, Kotlin, microservices, Kubernetes, containers Mon, 08 May 2023 10:36:23 +0000 hourly 1 https://wordpress.org/?v=6.9.1 By: piotr.minkowski https://piotrminkowski.com/2022/11/03/spring-boot-3-observability-with-grafana/#comment-1978 Mon, 08 May 2023 10:36:23 +0000 https://piotrminkowski.com/?p=13682#comment-1978 In reply to Luis Klein.

Yes, you can inject the Tracer bean.

]]>
By: Luis Klein https://piotrminkowski.com/2022/11/03/spring-boot-3-observability-with-grafana/#comment-1748 Mon, 12 Dec 2022 16:31:22 +0000 https://piotrminkowski.com/?p=13682#comment-1748 Hello, there is a way to get the TraceId on line code? Someting like that:

@Autowired
private io.opentracing.Tracer tracer;

]]>
By: piotr.minkowski https://piotrminkowski.com/2022/11/03/spring-boot-3-observability-with-grafana/#comment-1738 Thu, 08 Dec 2022 09:16:40 +0000 https://piotrminkowski.com/?p=13682#comment-1738 In reply to Bac.

You also need to send traces and collect Prometheus metrics somehow. But there same as in that case, you may also use other to do it instead of the Grafana agent

]]>
By: Bac https://piotrminkowski.com/2022/11/03/spring-boot-3-observability-with-grafana/#comment-1734 Fri, 02 Dec 2022 03:43:13 +0000 https://piotrminkowski.com/?p=13682#comment-1734 Hello Piotr Minkowski

If I use com.github.loki4j.logback.Loki4jAppender to send logs to Loki directly, I don’t need to use Grafana Agent. Is it right?

]]>
By: piotr.minkowski https://piotrminkowski.com/2022/11/03/spring-boot-3-observability-with-grafana/#comment-1713 Fri, 04 Nov 2022 08:41:17 +0000 https://piotrminkowski.com/?p=13682#comment-1713 In reply to Srikrishnan Raguraman.

Thanks! I’m using otel bridge (`micrometer-tracing-bridge-otel`) on the app side for collecting traces. Then I need somehow send data to Grafana Cloud. Grafana Agent just starts zipkin on the default port and then send data to the cloud.

]]>
By: Srikrishnan Raguraman https://piotrminkowski.com/2022/11/03/spring-boot-3-observability-with-grafana/#comment-1711 Thu, 03 Nov 2022 22:16:41 +0000 https://piotrminkowski.com/?p=13682#comment-1711 Good article.
Can you please throw light on why you chose grafana agent instead of open telemetry collector sending data using otel protocol

]]>