Deprecate the exporters and related artifacts#441
Draft
psx95 wants to merge 3 commits intoGoogleCloudPlatform:mainfrom
Draft
Deprecate the exporters and related artifacts#441psx95 wants to merge 3 commits intoGoogleCloudPlatform:mainfrom
psx95 wants to merge 3 commits intoGoogleCloudPlatform:mainfrom
Conversation
6d7912b to
6507068
Compare
dashpole
reviewed
May 8, 2026
|
|
||
| ## Migrate from OpenTelemetry Google Cloud Trace Exporter to OTLP exporter | ||
|
|
||
| Follow the [Migrate from the Trace exporter to the OTLP endpoint](https://docs.cloud.google.com/trace/docs/migrate-to-otlp-endpoints) guide for migration instructions. |
Contributor
There was a problem hiding this comment.
I think you can use https://docs.cloud.google.com/trace/docs/migrate-to-otlp-endpoints#java_3 to make sure it shows the java samples?
| ## Overview | ||
| Google Cloud now supports native OTLP (OpenTelemetry Protocol) ingestion for Cloud Trace and Cloud Monitoring via the [Telemetry API](https://docs.cloud.google.com/stackdriver/docs/reference/telemetry/overview). This allows you to use the standard OpenTelemetry OTLP exporters for sending telemetry data to Google Cloud. | ||
|
|
||
| ## Migrate from OpenTelemetry Google Cloud Trace Exporter to OTLP exporter |
Contributor
There was a problem hiding this comment.
I was imagining this would be fairly detailed, but I guess it doesn't have to be if it is covered in the GCP docs. We should make sure we tell users of each of the configuration options how they can obtain the same behavior with the OTLP exporter:
- setFixedAttributes
- setAttributeMapping
|
|
||
| > [!NOTE] The Google Cloud OTLP metrics endpoint is currently in preview and the migration guides are being developed. | ||
|
|
||
| TODO: Add migration guide for metrics exporter |
Contributor
There was a problem hiding this comment.
Things to cover for metrics other than just the default "make it work":
- How to set a prefix with the OTLP exporter (Currently using setPrefix, or if they want the previous default workload.googleapis.com)
- setResourceAttributesFilter
- setInstrumentationLibraryLabelsEnabled
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR marks the public APIs of the artifacts released from this repository as deprecated and also emits deprecation warnings during runtime in form of logs in case any of these artifacts are used in an application.
The PR also adds a migration guide, which will hold instructions for users to follow while moving from the OpenTelemetry Google Cloud Monitoring and Trace exporters to OpenTelemetry OTLP exporters.