[Agent Server] Add OTLP protocol regression tests#48087
Draft
Shivakishore14 wants to merge 4 commits into
Draft
Conversation
Use in-process HTTP/protobuf and gRPC receivers to verify traces, metrics, and logs through the public observability setup. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 2ddb2a79-14d1-4372-a29d-8a0c65a55b7b
|
Azure Pipelines: Successfully started running 1 pipeline(s). 9 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Add Agent Server-managed OTLP gRPC exporter setup when customers configure OTEL_EXPORTER_OTLP_PROTOCOL=grpc, while leaving HTTP/protobuf export delegated to the Microsoft OpenTelemetry distro. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 0c368201-b3c0-4a22-8311-2c288cbd374c
Apply Foundry enrichment during on_end and update the private attribute workaround for immutable BoundedAttributes so exported spans retain Agent Server metadata. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 0c368201-b3c0-4a22-8311-2c288cbd374c
Member
Author
|
/azp run python - pullrequest |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Keep span enrichment compatible with newer OpenTelemetry SDKs and tighten the OTLP gRPC exporter dependency to avoid slow resolver installs in apistub. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 0c368201-b3c0-4a22-8311-2c288cbd374c
Member
Author
|
/azp run python - pullrequest |
|
Azure Pipelines: No pipelines were found matching this branch/path. |
Member
Author
|
/azp run Azure SDK - Python - Pull Request |
|
No pipelines are associated with this pull request. |
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.
Description
Adds local, dependency-contract coverage for Agent Server OTLP protocol configuration:
This draft depends on microsoft/opentelemetry-distro-python#224. With the currently published
microsoft-opentelemetry==1.3.5, the HTTP/protobuf case passes and the gRPC case fails because HTTP exporters are still constructed. With the local distro fix, both cases pass. After the distro fix is released, this PR should raise the SDK minimum dependency to the fixed version.Dependency: microsoft/opentelemetry-distro-python#224
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines
Validation
1.3.5: HTTP/protobuf passes; gRPC fails as expectedazpysdk pylint .: passes