You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: maven-extension/README.md
+9-8
Original file line number
Diff line number
Diff line change
@@ -61,14 +61,15 @@ Without this setting, the traces won't be exported and the OpenTelemetry Maven E
61
61
62
62
The Maven OpenTelemetry Extension supports a subset of the [OpenTelemetry autoconfiguration environment variables and JVM system properties](https://github.com/open-telemetry/opentelemetry-java/tree/main/sdk-extensions/autoconfigure).
63
63
64
-
| System property <br /> Environment variable | Default value | Description |
|`otel.traces.exporter` <br /> `OTEL_TRACES_EXPORTER`|`none`| Select the OpenTelemetry exporter for tracing, the currently only supported values are `none` and `otlp`. `none` makes the instrumentation NoOp |
67
-
|`otel.exporter.otlp.endpoint` <br /> `OTEL_EXPORTER_OTLP_ENDPOINT`|`http://localhost:4317`| The OTLP traces and metrics endpoint to connect to. Must be a URL with a scheme of either `http` or `https` based on the use of TLS. |
68
-
|`otel.exporter.otlp.headers` <br /> `OTEL_EXPORTER_OTLP_HEADERS`|| Key-value pairs separated by commas to pass as request headers on OTLP trace and metrics requests. |
69
-
|`otel.exporter.otlp.timeout` <br /> `OTEL_EXPORTER_OTLP_TIMEOUT`|`10000`| The maximum waiting time, in milliseconds, allowed to send each OTLP trace and metric batch. |
70
-
|`otel.resource.attributes` <br /> `OTEL_RESOURCE_ATTRIBUTES`|| Specify resource attributes in the following format: key1=val1,key2=val2,key3=val3 |
71
-
|`otel.instrumentation.maven.mojo.enabled` <br /> `OTEL_INSTRUMENTATION_MAVEN_MOJO_ENABLED`|`true`| Whether to create spans for mojo goal executions, `true` or `false`. Can be configured to reduce the number of spans created for large builds. |
64
+
| System property <br /> Environment variable | Default value | Description |
|`otel.traces.exporter` <br /> `OTEL_TRACES_EXPORTER`|`none`| Select the OpenTelemetry exporter for tracing, the currently only supported values are `none` and `otlp`. `none` makes the instrumentation NoOp |
67
+
|`otel.exporter.otlp.endpoint` <br /> `OTEL_EXPORTER_OTLP_ENDPOINT`|`http://localhost:4317`| The OTLP traces and metrics endpoint to connect to. Must be a URL with a scheme of either `http` or `https` based on the use of TLS. |
68
+
|`otel.exporter.otlp.headers` <br /> `OTEL_EXPORTER_OTLP_HEADERS`|| Key-value pairs separated by commas to pass as request headers on OTLP trace and metrics requests. |
69
+
|`otel.exporter.otlp.timeout` <br /> `OTEL_EXPORTER_OTLP_TIMEOUT`|`10000`| The maximum waiting time, in milliseconds, allowed to send each OTLP trace and metric batch. |
70
+
|`otel.resource.attributes` <br /> `OTEL_RESOURCE_ATTRIBUTES`|| Specify resource attributes in the following format: key1=val1,key2=val2,key3=val3 |
71
+
|`otel.instrumentation.maven.mojo.enabled` <br /> `OTEL_INSTRUMENTATION_MAVEN_MOJO_ENABLED`|`true`| Whether to create spans for mojo goal executions, `true` or `false`. Can be configured to reduce the number of spans created for large builds. |
72
+
|`otel.instrumentation.maven.transfer.enabled` <br /> `OTEL_INSTRUMENTATION_MAVEN_TRANSFER_ENABLED`|`false`| Whether to create spans for artifact transfers, `true` or `false`. Can be activated to understand impact of artifact transfers on performances. |
72
73
73
74
ℹ️ The `service.name` is set to `maven` and the `service.version` to the version of the Maven runtime in use.
0 commit comments