Bumps [io.opentelemetry:opentelemetry-bom-alpha](https://github.com/open-telemetry/opentelemetry-java) from 1.22.0-alpha to 1.23.0-alpha. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/open-telemetry/opentelemetry-java/releases">io.opentelemetry:opentelemetry-bom-alpha's releases</a>.</em></p> <blockquote> <h2>Version 1.22.0</h2> <h3>API</h3> <ul> <li>WARNING: GlobalOpenTelemetry trigger of autoconfiguration is now opt-in. Previously, <code>GlobalOpenTelemetry.get</code> triggered autoconfiguration if <code>opentelemetry-sdk-extension-autoconfigure</code> was detected on the classpath. That behavior is now opt-in by setting environment variable <code>OTEL_JAVA_GLOBAL_AUTOCONFIGURE_ENABLED=true</code>. (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5010">#5010</a>)</li> <li>Update LoggerBuilder, MeterBuilder, TracerBuilder javadoc (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5050">#5050</a>)</li> </ul> <h4>Context</h4> <ul> <li>Make closing scope idempotent and non-operational when corresponding context is not current. [(<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/issues/5061">#5061</a>)](<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5061">open-telemetry/opentelemetry-java#5061</a>)</li> </ul> <h3>SDK</h3> <ul> <li>Standardize internal usage of <code>ConfigUtil</code> for reading environment variables and system properties (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5048">#5048</a>)</li> </ul> <h4>Metrics</h4> <ul> <li>Lazily initialize exponential histogram buckets (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5023">#5023</a>)</li> <li>Delete MapCounter alternative exponential histogram implementation (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5047">#5047</a>)</li> <li>Add toString to SdkMeter, SdkObservableInstrument, AbstractInstrumentBuilder (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5072">#5072</a>)</li> </ul> <h4>Exporter</h4> <ul> <li><code>OtlpGrpcSpanExporter</code>, <code>OtlpHttpSpanExporter</code>, <code>OtlpGrpcLogRecordExporter</code>, <code>OtlpHttpLogRecordExporter</code>, <code>ZipkinSpanExporter</code>, and <code>JaegerGrpcSpanExporter</code> are now instrumented with <code>GlobalOpenTelemetry</code> by default. Instrumentation initializes lazily to prevent ordering issue of accessing <code>GlobalOpenTelemetry.get</code> before <code>GlobalOpenTelemetry.set</code> is called. (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/4993">#4993</a>)</li> <li>Add <code>ConfigurableSpanExporterProvider</code> implementation for <code>JaegerGrpcSpanExporter</code> (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5002">#5002</a>)</li> <li>Add <code>ConfigurableSpanExporterProvider</code>, <code>ConfigurableMetricExporterProvider</code>, <code>ConfigurableLogRecordExporterProvider</code> for <code>OtlpGrpc{Signal}Exporter</code>s and <code>OtlpHttp{SignalExporter</code>s (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5003">#5003</a>)</li> <li>Replace OTLP User-Agent spaces with dashes (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5080">#5080</a>)</li> <li>Add <code>AutoConfigurationCustomizerProvider</code> implementation for <code>PrometheusHttpServer</code> (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5053">#5053</a>)</li> <li>Add resource <code>target_info</code> and scope <code>target_info</code> metrics to <code>PrometheusHttpServer</code> in compliance with spec (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5039">#5039</a>)</li> <li>Drop delta metrics in <code>PrometheusHttpServer</code> (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5062">#5062</a>)</li> <li>PrometheusHttpServer drops metrics with same name and different type (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5078">#5078</a>)</li> </ul> <h4>SDK Extensions</h4> <ul> <li>DEPRECATION: Align autoconfigure exemplar filter names with spec. Previous names <code>none</code>, <code>all</code>, <code>with_sampled_trace</code> are deprecated. Use <code>always_off</code>, <code>always_on</code>, <code>trace_based</code> instead. (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5063">#5063</a>)</li> </ul> <h3>OpenTracing Shim</h3> <ul> <li>Add createTracerShim function (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/4988">#4988</a>)</li> </ul> <h3>🙇 Thank you</h3> <p>This release was possible thanks to the following contributors who shared their brilliant ideas and awesome pull requests:</p> <p><a href="https://github.com/amouhadi"><code>@amouhadi</code></a> <a href="https://github.com/brunobat"><code>@brunobat</code></a> <a href="https://github.com/carlosalberto"><code>@carlosalberto</code></a> <a href="https://github.com/cuichenli"><code>@cuichenli</code></a> <a href="https://github.com/dashpole"><code>@dashpole</code></a> <a href="https://github.com/deejgregor"><code>@deejgregor</code></a> <a href="https://github.com/jack-berg"><code>@jack-berg</code></a></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/open-telemetry/opentelemetry-java/blob/main/CHANGELOG.md">io.opentelemetry:opentelemetry-bom-alpha's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <h2>Unreleased</h2> <h2>Version 1.23.0 (2023-02-10)</h2> <p>This release is a notable release for metrics:</p> <ul> <li>The base2 exponential histogram aggregation has been marked as stable. To use, configure your <code>MetricExporter</code> with a default aggregation of <code>Aggregation.base2ExponentialBucketHistogram()</code> for histogram instruments. If using OTLP exporter with autoconfigure, set <code>OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION=BASE2_EXPONENTIAL_BUCKET_HISTOGRAM</code>. If using configuring OTLP programatically, use <code>Otlp*MetricExporterBuilder#setDefaultAggregationSelector(DefaultAggregationSelector)</code>.</li> <li>The metrics SDK undergone significant internal refactoring which results in reduced complexity and significantly reduced memory allocation during metric collection / export.</li> </ul> <h3>API</h3> <h4>Logs</h4> <ul> <li>WARNING: Split out Event API from Log API. Event API is now published in <code>opentelemetry-api-events</code>. API / SDK usage has also changed - see PR for details. (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5049">#5049</a>)</li> </ul> <h3>SDK</h3> <ul> <li>Add shutdown / close to <code>OpenTelemetrySdk</code> (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5100">#5100</a>)</li> </ul> <h4>Metrics</h4> <ul> <li>Base2 exponential histogram aggregations are now stable. Add <code>base2ExponentialBucketHistogram()</code> to <code>Aggregation</code>. (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5143">#5143</a>)</li> <li>Promote exponential histogram data interfaces to stable package (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5120">#5120</a>)</li> <li>Add Base2 prefix to internal exponential histogram classes (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5179">#5179</a>)</li> <li>Add MaxScale config parameter to <code>Base2ExponentialBucketHistogram</code> (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5044">#5044</a>)</li> <li>Add close method to <code>MetricReader</code> (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5109">#5109</a>)</li> <li>Reuse <code>AggregatorHandle</code> with cumulative temporality to reduce allocations (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5142">#5142</a>)</li> <li>Delete notion of accumulation to reduce allocations (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5154">#5154</a>)</li> <li>Delete bound instruments (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5157">#5157</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/open-telemetry/opentelemetry-java/commits">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jack Berg <jberg@newrelic.com> |
||
|---|---|---|
| .github | ||
| all | ||
| aws-resources | ||
| aws-xray | ||
| aws-xray-propagator | ||
| buildSrc | ||
| buildscripts | ||
| config/license | ||
| consistent-sampling | ||
| dependencyManagement | ||
| example | ||
| gradle/wrapper | ||
| jfr-events | ||
| jfr-streaming | ||
| jmx-metrics | ||
| maven-extension | ||
| micrometer-meter-provider | ||
| noop-api | ||
| prometheus-client-bridge | ||
| resource-providers | ||
| runtime-attach | ||
| samplers | ||
| static-instrumenter | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| CHANGELOG.md | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| README.md | ||
| RELEASING.md | ||
| build.gradle.kts | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| settings.gradle.kts | ||
| version.gradle.kts | ||
README.md
OpenTelemetry Java Contrib
This project is intended to provide helpful libraries and standalone OpenTelemetry-based utilities that don't fit the express scope of the OpenTelemetry Java or Java Instrumentation projects. If you need an easier way to bring observability to remote JVM-based applications and workflows that isn't easily satisfied by an SDK feature or via instrumentation, this project is hopefully for you.
Provided Libraries
- AWS Resources
- AWS X-Ray SDK Support
- AWS X-Ray Propagator
- Consistent sampling
- JFR Streaming
- JMX Metric Gatherer
- OpenTelemetry Maven Extension
- Runtime Attach
- Samplers
Getting Started
# Apply formatting
$ ./gradlew spotlessApply
# Build the complete project
$ ./gradlew build
# Run integration tests
$ ./gradlew integrationTest
# Clean artifacts
$ ./gradlew clean
Contributing
The Java Contrib project was initially formed to provide methods of easy remote JMX metric gathering and reporting, which is actively in development. If you have an idea for a similar use case in the metrics, traces, or logging domain we would be very interested in supporting it. Please open an issue to share your idea or suggestion. PRs are always welcome and greatly appreciated, but for larger functional changes a pre-coding introduction can be helpful to ensure this is the correct place and that active or conflicting efforts don't exist.
Triagers (@open-telemetry/java-contrib-triagers):
- All component owners are given Triager permissions to this repository.
Approvers (@open-telemetry/java-contrib-approvers):
- John Watson, Verta.ai
- Lauri Tulmin, Splunk
Maintainers (@open-telemetry/java-contrib-maintainers):
- Jack Berg, New Relic
- Mateusz Rzeszutek, Splunk
- Nikita Salnikov-Tarnovski, Splunk
- Trask Stalnaker, Microsoft
Emeritus maintainers:
- Ryan Fitzpatrick, Splunk
Learn more about roles in the community repository.
Thanks to all the people who already contributed!