Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[exporter/signalfx] Prioritize token from context in exporter #37276

Conversation

asreehari-splunk
Copy link
Contributor

Description

In preparation for deprecating access_token_passthrough from the signalfx receiver and exporter, update the signalfx exporter to taken accessToken from the context

Testing
Updated unit tests
tested end to end with the following setup
telemetrygen sending metrics in otlp over grpc with X-Sf-Token header and token
otlp receiver with include_metadata set to true
batch processor using the X-Sf-Token key to group
access_token_passthrough set to true

@asreehari-splunk asreehari-splunk force-pushed the OTL-3132/PrioritizeTokenFromContextSignalFxExporter branch from 2324faa to aed0865 Compare January 16, 2025 19:17
@dmitryax dmitryax changed the title Prioritize token from context in exporter [exporter/signalfx] Prioritize token from context in exporter Jan 16, 2025
@asreehari-splunk asreehari-splunk force-pushed the OTL-3132/PrioritizeTokenFromContextSignalFxExporter branch from aed0865 to e3bdbaf Compare January 16, 2025 19:34
@dmitryax dmitryax merged commit 86235b7 into open-telemetry:main Jan 16, 2025
164 checks passed
@github-actions github-actions bot added this to the next release milestone Jan 16, 2025
chengchuanpeng pushed a commit to chengchuanpeng/opentelemetry-collector-contrib that referenced this pull request Jan 26, 2025
…elemetry#37276)

#### Description
In preparation for deprecating access_token_passthrough from the
signalfx receiver and exporter, update the signalfx exporter to taken
accessToken from the context

Testing
Updated unit tests
tested end to end with the following setup
telemetrygen sending metrics in otlp over grpc with X-Sf-Token header
and token
otlp receiver with include_metadata set to true
batch processor using the X-Sf-Token key to group
access_token_passthrough set to true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants