Choosing OpenTelemetry Sampling: Head-Based vs Tail-Based
Start with head-based sampling for simple OpenTelemetry services; use tail-based sampling in the Collector when you need to keep error traces while dropping healthy ones.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Start with head-based sampling for simple OpenTelemetry services; use tail-based sampling in the Collector when you need to keep error traces while dropping healthy ones.
Learn how to configure the W3C Trace Context propagator and BatchSpanProcessor in OpenTelemetry SDK, verify trace continuity, and handle export failures.
Attach the OpenTelemetry Java Agent to automatically trace outbound HTTP calls from java.net.HttpURLConnection, Apache HttpClient, OkHttp, and others without changing application code. Covers agent download, JVM attachment, OTLP export configuration, validation steps, and rollback.
Use the Collector attributes processor to strip PII from spans and logs without changing application code, with verification steps and limits.
Learn how to configure the OpenTelemetry Collector to ingest traces into Dynatrace using OTLP, including necessary API scopes, configuration examples, and diagnostic steps.
When instrumenting Java services with OpenTelemetry, choosing between gRPC and HTTP/1.1 OTLP exporters boils down to latency, infrastructure, and operational simplicity. This guide compares both transports, explains trade‑offs, and shows concrete Java code to validate your choice.
New Relic's Java agent vs OpenTelemetry for Spring Boot: a practical decision framework covering auto-instrumentation, Infinite Tracing, metric alerting, and migration path.
Learn how to add OpenTelemetry auto‑instrumentation to a Spring Boot app with a single JVM flag, verify traces for HTTP, JDBC, and CompletableFuture flows, and understand the trade‑offs and limits of the Java agent.
Learn how to implement a minimal OpenTelemetry Collector sidecar in Kubernetes to handle OTLP trace ingestion, probabilistic sampling, and batch exporting to Jaeger.