Releases: GoogleCloudPlatform/opentelemetry-operations-java
v0.26.0
Changes Highlights
- Updates the OTel dependencies so that the exporters are now compatible with newest Otel Java agent (fix #263)
- Updates internal resource mappings (#260, #272)
What's Changed
- Update README.md by @nimf in #257
- Use faas.instance instead of faas.id in resource detection and mapping by @dashpole in #260
- Fix cloudfunctions test by @dashpole in #270
- upgrade google java format for jdk 17 by @SylvainJuge in #264
- Update OTel dependencies by @psx95 in #267
- Update mappings for generic_task and generic_node by @psx95 in #272
- Add security policy by @dashpole in #273
- chore: run codeql on PRs by @dashpole in #274
New Contributors
- @nimf made their first contribution in #257
- @SylvainJuge made their first contribution in #264
Full Changelog: v0.25.2...v0.26.0
v0.25.2
Changes Highlights
- Fixes invalid metric descriptor bug on Windows based environments #252
- Enable cloud run support for metric exporter #248
- Updates to documentation & examples
Complete Release Notes - What's Changed
- Update instructions for releasing by @psx95 in #239
- Updates exporter-auto readme for shaded-variants by @psx95 in #245
- Enable metrics-exporter example to run as cloud run job by @psx95 in #249
- Update copyright from "Google" -> "Google LLC" by @aabmass in #254
- Remove MR mapping for cloud run and cloud functions by @psx95 in #250
- Hardcode path separator used for metric type by @psx95 in #253
- Make private static fields final by @psx95 in #256
Full Changelog: v0.25.1...v0.25.2
Release v0.25.1
Release 0.25.0
Changes Highlights
- With this release a shaded variant of the auto-exporter is being provided along with an un-shaded variant. The shaded jar is recommended when the auto-exporter required to be provided as an agent. This is a common use-case when using OTel auto-instrumentation.
- Fixed underlying bug with the exporters that caused OpenTelemetry to disable if this library was used with opencensus-shim (#141).
- Updated metric exporter to set label descriptors for metrics to type String if the default prefix -
workload.googleapis.comis used (#159). - Documentation updates and fixes to the examples that make them easier to run & follow.
Important - Broken Dependencies
- The non-shaded variant for
exporter-autohas a broken POM, which will cause issues in a Maven project. Use the shaded variant instead.
Complete Release Notes - What's Changed
- Update README to add missing setup steps. by @psx95 in #192
- Replaced concrete type TraceExporter with interface type SpanExporter by @psx95 in #194
- Fix header check by @psx95 in #197
- chore: add CODEOWNERS file to auto assign team for reviews by @aabmass in #200
- Fix trace exporter by @psx95 in #193
- Fix metrics exporter by @psx95 in #203
- Remove shadow plugin from exporter-trace module by @psx95 in #204
- Fix exporter-trace example & add README by @psx95 in #206
- Fix metrics exporter integration by @psx95 in #207
- Fix documentation errors by @psx95 in #208
- Upgrade to Gradle 7.6 by @punya in #209
- Update gradle by @psx95 in #211
- Improve build time for e2e-test-server by @psx95 in #213
- Relocate dependencies in the generated shadowJar by @psx95 in #212
- Make GCPResourceTest environment agnostic by @psx95 in #217
- Update dependencies by @psx95 in #219
- Fix autoconf example by @psx95 in #223
- Update license header by @psx95 in #222
- Add missing otlp exporter dependency by @psx95 in #221
- Add required env variables for publishing metrics by @psx95 in #224
- Spotless yaml by @psx95 in #227
- Update allowed copyright holders by @psx95 in #230
- Spotless shell by @psx95 in #228
- Fix timeseries by @psx95 in #231
- Refactor: Rename method & variables for better readability by @psx95 in #233
- Configures auto-exporter to publish shaded and non-shaded variants by @psx95 in #235
- Adds dependency declarations to order tasks by @psx95 in #237
- Declares explicit dependency for signMavenPublication by @psx95 in #238
- Add script to run example in docker container by @psx95 in #229
Full Changelog: v0.24.0...v0.25.0
Release 0.24.0
Dependency version updates, updated resource detection and prefix option for metrics exporter.
With this release, minimum supported Java version has been upgraded to Java 11.
What's Changed
- FEATURE: enable resource detection for GCP compute environments.
- CHORE: Upgrade Gradle from v6.x to v7.x.
- FEATURE: Add prefix option to metrics exporter.
- CHORE: Update dependency versions.
Full Changelog: v0.23.0...v0.24.0
Release 0.23.0
Metrics Exporter is no longer alpha! This comes with two breaking changes to the metric exporter.
Changes
- FEATURE: Metric config now allows
endpointto be specified instead of stub. - FEATURE: trace now supports
endpointto be specified instread of stub. - FIX: Bump to latest OTEL java releases.
- CLEANUP: Minimize dependencies in metric exporter.
- CLEANUP: Javadoc fixes for metric exporter
- BREAKING: metrics now written to workload.googleapis.com prefix (inline with other OTEL exporters).
- BREAKING: metrics now only supports endpoint not stub config.
Release 0.22.0
Fixes maven dependency issues from 0.21.0
- Resource detection now shades unstable dependencies, removing
-alphaversion.
Release 0.21.0
This release provides a preview of the stable metric-exporer for Java, additionally releasing alpha-versions of important OTEL components individually consumable.
GCP Propagators
This release includes a new maven artifact: com.google.cloud.opentelemetry:propagators-gcp. This provides hooks to leverage the X-Cloud-Trace-Context propagation header used by Google Cloud load balancers. See the readme for details.
GCP Resource Detection
This release includes a new maven artifact: com.google.cloud.opentelemetry:detector-resources. This provides hooks to detect GCP related resource attributes, e.g. cloud.platform.
See the readme for details.
Tracing Exporter Changes
This release includes some (possibly breaking) trace exporter changes. Specifically, the exporter will now include more attributes in spans by default, including instrumentation scope, resource and others.
Release 0.20.0
- Update to stable version of metrics API
- Breaking: Update + Fix monitored resource mapping for latest monitored resource usage in GKE.
Release 0.19.0
- Bump otel version to 1.9.x