From a181e6bdc573bbc9ab2ef5278fa816669b984772 Mon Sep 17 00:00:00 2001 From: Jack Berg Date: Thu, 21 Nov 2024 10:47:27 -0600 Subject: [PATCH] Add missing contrib processors, add auto version update for opentelemetry-java-contrib --- content/en/docs/languages/java/_index.md | 2 +- content/en/docs/languages/java/sdk.md | 10 ++++++---- scripts/auto-update/all-versions.sh | 1 + 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/content/en/docs/languages/java/_index.md b/content/en/docs/languages/java/_index.md index 50d2da30240b..a6c31bdd4aa9 100644 --- a/content/en/docs/languages/java/_index.md +++ b/content/en/docs/languages/java/_index.md @@ -8,7 +8,7 @@ cascade: vers: instrumentation: 2.10.0 otel: 1.44.1 - contrib: 1.38.0 + contrib: 1.41.0 semconv: 1.28.0 weight: 18 --- diff --git a/content/en/docs/languages/java/sdk.md b/content/en/docs/languages/java/sdk.md index ef4b13c07a8c..cf7b49074622 100644 --- a/content/en/docs/languages/java/sdk.md +++ b/content/en/docs/languages/java/sdk.md @@ -325,6 +325,7 @@ Span processors built-in to the SDK and maintained by the community in | `BaggageSpanProcessor` | `io.opentelemetry.contrib:opentelemetry-baggage-processor:{{% param vers.contrib %}}-alpha` | Enriches spans with baggage. | | `JfrSpanProcessor` | `io.opentelemetry.contrib:opentelemetry-jfr-events:{{% param vers.contrib %}}-alpha` | Creates JFR events from spans. | | `StackTraceSpanProcessor` | `io.opentelemetry.contrib:opentelemetry-span-stacktrace:{{% param vers.contrib %}}-alpha` | Enriches select spans with stack trace data. | +| `InferredSpansProcessor` | `io.opentelemetry.contrib:opentelemetry-inferred-spans:{{% param vers.contrib %}}-alpha` | Generates spans from async profiler instead of instrumentation. | The following code snippet demonstrates `SpanProcessor` programmatic configuration: @@ -998,10 +999,11 @@ other applications such as data enrichment. Log record processors built-in to the SDK and maintained by the community in `opentelemetry-java-contrib`: -| Class | Artifact | Description | -| -------------------------- | ------------------------------------------------------------ | ---------------------------------------------------------------------------- | -| `BatchLogRecordProcessor` | `io.opentelemetry:opentelemetry-sdk:{{% param vers.otel %}}` | Batches log records and exports them via a configurable `LogRecordExporter`. | -| `SimpleLogRecordProcessor` | `io.opentelemetry:opentelemetry-sdk:{{% param vers.otel %}}` | Exports each log record a via a configurable `LogRecordExporter`. | +| Class | Artifact | Description | +| -------------------------- | ------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------- | +| `BatchLogRecordProcessor` | `io.opentelemetry:opentelemetry-sdk:{{% param vers.otel %}}` | Batches log records and exports them via a configurable `LogRecordExporter`. | +| `SimpleLogRecordProcessor` | `io.opentelemetry:opentelemetry-sdk:{{% param vers.otel %}}` | Exports each log record a via a configurable `LogRecordExporter`. | +| `EventToSpanEventBridge` | `io.opentelemetry.contrib:opentelemetry-processors:{{% param vers.contrib %}}-alpha` | Records event log records as span events on the current span. | The following code snippet demonstrates `LogRecordProcessor` programmatic configuration: diff --git a/scripts/auto-update/all-versions.sh b/scripts/auto-update/all-versions.sh index d7e990819455..1020bb6a54d4 100755 --- a/scripts/auto-update/all-versions.sh +++ b/scripts/auto-update/all-versions.sh @@ -8,6 +8,7 @@ function auto_update_versions() { "opentelemetry-java otel content/en/docs/zero-code/java/_index.md" "opentelemetry-java-instrumentation instrumentation content/en/docs/languages/java/_index.md" "opentelemetry-java-instrumentation instrumentation content/en/docs/zero-code/java/_index.md" + "opentelemetry-java-contrib contrib content/en/docs/languages/java/_index.md" "opentelemetry-specification spec scripts/content-modules/adjust-pages.pl .gitmodules" "opentelemetry-proto otlp scripts/content-modules/adjust-pages.pl .gitmodules" "semantic-conventions semconv scripts/content-modules/adjust-pages.pl .gitmodules"