-
Notifications
You must be signed in to change notification settings - Fork 296
Distributed Tracing integration with SDK builds. #2741
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
Merged
LarryOsterman
merged 89 commits into
Azure:main
from
LarryOsterman:larryo/opentelemetry_prototype_implementation
Jul 22, 2025
Merged
Changes from 15 commits
Commits
Show all changes
89 commits
Select commit
Hold shift + click to select a range
c541514
PR feedback from previous PR
LarryOsterman d64c714
Start of a dummy service client upon which to hang tracing stuff
LarryOsterman a5d6b2d
Create RequestInstrumentationPolicy to add spans for HTTP operations
LarryOsterman c72cc32
Telemetry static strings again
LarryOsterman db6c352
http::Method as_str()
LarryOsterman 16b26b8
Added service tracing spans; populate az.namespace
LarryOsterman e785237
Added test recording for opentelemetry tests
LarryOsterman 534b950
cargo publish fix
LarryOsterman 1da7fd7
cargo publish fix 2
LarryOsterman 726466e
Oops, commited too little stuff
LarryOsterman 6d9c143
OTel feedback from Liudmila
LarryOsterman 85de5a9
Propagate OpenTelemetry trace headers into request headers
LarryOsterman baccb1b
More documentation
LarryOsterman 7629a8c
Small cleanup on propagate_headers
LarryOsterman ec08e04
Started filling out OpenTelemetry readme.md
LarryOsterman 0daa061
PR feedback from Liudmila
LarryOsterman 5c14d45
Cargo fmt fixes
LarryOsterman caef252
Removed unused public function
LarryOsterman 5e48398
Added the ability to configure an OpenTelemetryProvider on the global…
LarryOsterman be61079
Documentation updates
LarryOsterman 9cb989c
Corrected name of opentelemetry package
LarryOsterman 06afa82
First cut at EH perf tests
LarryOsterman 2017281
PR feedback from previous PR
LarryOsterman 9dac777
Start of a dummy service client upon which to hang tracing stuff
LarryOsterman 381c005
Create RequestInstrumentationPolicy to add spans for HTTP operations
LarryOsterman c1febef
Telemetry static strings again
LarryOsterman 1372431
http::Method as_str()
LarryOsterman a08bc7e
Added service tracing spans; populate az.namespace
LarryOsterman 22f4acc
Added test recording for opentelemetry tests
LarryOsterman 0630d0e
cargo publish fix
LarryOsterman 635c218
cargo publish fix 2
LarryOsterman e043e12
Oops, commited too little stuff
LarryOsterman 1db8a91
OTel feedback from Liudmila
LarryOsterman 15aa29c
Propagate OpenTelemetry trace headers into request headers
LarryOsterman d7af2bb
More documentation
LarryOsterman c965604
Small cleanup on propagate_headers
LarryOsterman 9a4956c
Started filling out OpenTelemetry readme.md
LarryOsterman ee192ba
PR feedback from Liudmila
LarryOsterman 25789b1
Cargo fmt fixes
LarryOsterman 154ce9a
Removed unused public function
LarryOsterman 342b28d
Added the ability to configure an OpenTelemetryProvider on the global…
LarryOsterman dd5866e
Documentation updates
LarryOsterman 32ffbe7
Created PublicApiInstrumentationPolicy to instrument public APIs
LarryOsterman 43fe44a
Added attributes to the PublicApiInstrumentationInformation structure
LarryOsterman 1eb9d20
Updated cargo.lock
LarryOsterman 6e50363
CI pipeline fixes
LarryOsterman f5ff78f
Merge branch 'larryo/opentelemetry_prototype_implementation' into lar…
LarryOsterman a7c7245
Post merge fixes
LarryOsterman 7ec16b9
tracing::function now works as expected
LarryOsterman 4d54207
PR feedback
LarryOsterman 1b84a83
Added tests for no tracer.
LarryOsterman 6f3217a
Removed tests module from telemetry service implementation.
LarryOsterman 7abec7d
Fixed build issues.
LarryOsterman 65b0c59
Test fix
LarryOsterman f5ba616
Merge branch 'larryo/opentelemetry_prototype_implementation' of https…
LarryOsterman f140238
Merge branch 'Azure:main' into larryo/opentelemetry_prototype_impleme…
LarryOsterman 5f6d1c6
Updated documentation a bit
LarryOsterman da804a4
CI fixes; clean up public instrumentation policy implementation
LarryOsterman 58186f7
Tracing feature is gated on HTTP feature
LarryOsterman 6c64c34
Doc fixes
LarryOsterman 6ffc905
Fixed test function
LarryOsterman f09d06f
Try fixing pack error
LarryOsterman 66297ac
Removed azure_core dependency from azure_core_macros to fix packing p…
LarryOsterman e6325bd
Fixed url in doccoment
LarryOsterman af4661e
Doc and commented out code cleanup
LarryOsterman c8e512a
Renamed tracing_provider to tracer_provider
LarryOsterman 6557eba
Updated distributed tracing documentation
LarryOsterman 0ca0136
Added helper function to allow service clients to create their own sp…
LarryOsterman cdc3ab2
Added tests for public_api_information function
LarryOsterman 858c0bb
Added pageable test
LarryOsterman 9821dd4
tracing::client is pub(crate) to match rust generator
LarryOsterman e859cc9
allow tracing::new on methods starting with with
LarryOsterman 6d1bb0d
Added tracing::subclient to express subclient instantiation
LarryOsterman c2ebbf2
Added subclient to cspell.json
LarryOsterman 41571b7
Added subclient text to distributed tracing documentation
LarryOsterman 5d95e02
PR feedback part 1 - does not pass tests currently
LarryOsterman cd99701
Added support for Arc::new
LarryOsterman 2e2105a
Update doc/distributed-tracing-for-rust-service-clients.md
LarryOsterman 7cf7fe7
PR feedback
LarryOsterman c77fcaa
Merge branch 'larryo/opentelemetry_prototype_implementation' of https…
LarryOsterman c8893c5
PR feedback
LarryOsterman aa0f99a
Removed unnecessary modification
LarryOsterman bd42d8e
Use azuresdkforcpp web server instead of actual live servers to impro…
LarryOsterman 446e9f1
cspell fixes
LarryOsterman fc57023
Update sdk/core/azure_core_opentelemetry/src/span.rs
LarryOsterman 7cbcf7b
Update sdk/core/azure_core_opentelemetry/src/tracer.rs
LarryOsterman 3150ae2
clippy and format fixes
LarryOsterman 024d192
Merge branch 'main' into larryo/opentelemetry_prototype_implementation
LarryOsterman 0921536
Merge with pervious PR
LarryOsterman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
11 changes: 11 additions & 0 deletions
11
sdk/core/azure_core/src/http/options/request_instrumentation.rs
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
use std::sync::Arc; | ||
|
||
/// Policy options to enable distributed tracing. | ||
#[derive(Clone, Debug, Default)] | ||
pub struct RequestInstrumentationOptions { | ||
/// Set the tracing provider for distributed tracing. | ||
pub tracing_provider: Option<Arc<dyn crate::tracing::TracerProvider>>, | ||
} |
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.