Best of ObservabilityAugust 2024

  1. 1
    Article
    Avatar of gcgitconnected·2y

    Why Use GoFr for Golang Backend?

    GoFr is a Golang framework designed for accelerated microservice development. It offers built-in observability tools such as health-check and heartbeat URLs, metrics, and structured logging. GoFr supports multiple data sources including MySQL, PostgreSQL, and MQTT, and simplifies REST API design, logging, metrics, tracing, and CORS configuration. Its compatibility with Kubernetes and minimal code for route registration enable developers to focus on business logic while ensuring the application is production-ready.

  2. 2
    Article
    Avatar of java_libhuntAwesome Java Newsletter·2y

    Structured logging in Spring Boot 3.4

    Structured logging in Spring Boot 3.4 allows logs to be written in well-defined, machine-readable formats such as JSON. This enables powerful search and analytics capabilities. It supports the Elastic Common Schema (ECS) and Logstash formats and allows for custom formats. Developers can add additional fields to logs for better filtering and analysis. Logs can be output to the console or written to a file for different use cases.

  3. 3
    Article
    Avatar of newstackThe New Stack·2y

    What Is OpenTelemetry? The Ultimate Guide

    OpenTelemetry is a vendor-neutral, standardized approach to capturing observability data like metrics, logs, and traces. It allows integration of various observability tools into a unified system, providing a consistent framework for capturing and analyzing telemetry data. Key components include the API/SDKs, automatic instrumentation agents, and the widely used OpenTelemetry Collector. Fundamental to observability are the golden signals: latency, traffic, errors, and saturation, which are essential for effective system performance analysis. OpenTelemetry's future development aims to enhance client-side instrumentation and extend its capabilities across diverse platforms.

  4. 4
    Article
    Avatar of communityCommunity Picks·2y

    11 Non-AI Java Trends: From GraalVM to Spring Modulith

    Java developers are showcasing interest in several non-AI trends. These include GraalVM for improving runtime efficiency, Data-Oriented Programming (DOP) for treating data as first-class citizens, the debate between Quarkus and Spring Boot, in-depth details of Spring Internals, Kotlin integration with Spring Boot, and security improvements with Spring Security 3 and OAuth2. Additionally, discussions focus on the benefits of Spring Data JDBC, alternatives to Thymeleaf templates, the evolving Spring Modulith architecture, enhanced runtime efficiency with virtual threads and CRaC in Java 21, and observability improvements introduced in Spring Boot 3.2 and 3.3.

  5. 5
    Article
    Avatar of last9Last9·2y

    Top Observability Best Practices for Microservices in 2024

    Microservices architecture provides benefits such as agility, scalability, and flexibility but also introduces complexity that can be managed with the right observability tools. Key best practices, such as standardization, data retention, anomaly detection, root cause analysis, and ongoing optimization, are crucial for effective monitoring and management. Challenges include handling data volume, latency in data processing, skillset requirements, and cost management. Advanced techniques like distributed context propagation and intelligent sampling in tracing, centralized error management, and optimizing telemetry data can enhance observability and system reliability.

  6. 6
    Article
    Avatar of p99confP99 Conf·2y

    A Tale of Database Performance Pains

    The post tells the story of Patrick's challenges with database performance after starting his own online business. He learned critical lessons about selecting the right database, managing provisioned throughput, setting up observability tools, ensuring regular backups, and understanding concurrency limitations. His experiences highlight the importance of thoroughly evaluating database options, preparing for unexpected traffic spikes, and scheduling maintenance operations during low-demand periods.

  7. 7
    Article
    Avatar of frankelA Java geek·2y

    OpenTelemetry Tracing on Spring Boot, Java Agent vs. Micrometer Tracing

    The post discusses the implementation of OpenTelemetry Tracing in Spring Boot applications, comparing three methods: Java Agent v1, Java Agent v2, and Micrometer Tracing. It provides a detailed breakdown of how each approach works, the infrastructure needed, and the code changes required to implement tracing. The post highlights that while Micrometer Tracing integrates seamlessly with Spring Boot and GraalVM, the Java Agent requires minimal code changes but has different behaviors between its versions. The post also emphasizes the advantages and limitations of each approach.

  8. 8
    Article
    Avatar of francofernandoThe Polymathic Engineer·2y

    Observability

    Booking.com employs a unique approach to observability by using events instead of the traditional logs, metrics, and traces. Events provide a fuller context and can generate classical observability pillars while enabling advanced analytics. Booking's observability system includes an event-proxy daemon and utilizes Kafka to process event data, transforming it into traces, application performance metrics, and error logs for debugging.

  9. 9
    Article
    Avatar of communityCommunity Picks·2y

    Step up your coding with the Continuous Feedback Udemy Course (CF)

    The Continuous Feedback Udemy course teaches Java developers how to enhance their coding practices by collecting and using runtime data for shorter feedback loops. The course covers tracing fundamentals, the benefits of using OpenTelemetry, and leveraging observability data to detect and resolve issues early. It includes 1.5 hours of on-demand video, lifetime access, and a certificate upon completion.