Skip to content

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

Open
wants to merge 87 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
c541514
PR feedback from previous PR
LarryOsterman Jun 25, 2025
d64c714
Start of a dummy service client upon which to hang tracing stuff
LarryOsterman Jun 25, 2025
a5d6b2d
Create RequestInstrumentationPolicy to add spans for HTTP operations
LarryOsterman Jun 26, 2025
c72cc32
Telemetry static strings again
LarryOsterman Jun 26, 2025
db6c352
http::Method as_str()
LarryOsterman Jun 26, 2025
16b26b8
Added service tracing spans; populate az.namespace
LarryOsterman Jun 28, 2025
e785237
Added test recording for opentelemetry tests
LarryOsterman Jun 30, 2025
534b950
cargo publish fix
LarryOsterman Jun 30, 2025
1da7fd7
cargo publish fix 2
LarryOsterman Jun 30, 2025
726466e
Oops, commited too little stuff
LarryOsterman Jun 30, 2025
6d9c143
OTel feedback from Liudmila
LarryOsterman Jun 30, 2025
85de5a9
Propagate OpenTelemetry trace headers into request headers
LarryOsterman Jun 30, 2025
baccb1b
More documentation
LarryOsterman Jun 30, 2025
7629a8c
Small cleanup on propagate_headers
LarryOsterman Jun 30, 2025
ec08e04
Started filling out OpenTelemetry readme.md
LarryOsterman Jun 30, 2025
0daa061
PR feedback from Liudmila
LarryOsterman Jul 1, 2025
5c14d45
Cargo fmt fixes
LarryOsterman Jul 1, 2025
caef252
Removed unused public function
LarryOsterman Jul 1, 2025
5e48398
Added the ability to configure an OpenTelemetryProvider on the global…
LarryOsterman Jul 1, 2025
be61079
Documentation updates
LarryOsterman Jul 1, 2025
9cb989c
Corrected name of opentelemetry package
LarryOsterman Jul 2, 2025
06afa82
First cut at EH perf tests
LarryOsterman Jul 8, 2025
2017281
PR feedback from previous PR
LarryOsterman Jun 25, 2025
9dac777
Start of a dummy service client upon which to hang tracing stuff
LarryOsterman Jun 25, 2025
381c005
Create RequestInstrumentationPolicy to add spans for HTTP operations
LarryOsterman Jun 26, 2025
c1febef
Telemetry static strings again
LarryOsterman Jun 26, 2025
1372431
http::Method as_str()
LarryOsterman Jun 26, 2025
a08bc7e
Added service tracing spans; populate az.namespace
LarryOsterman Jun 28, 2025
22f4acc
Added test recording for opentelemetry tests
LarryOsterman Jun 30, 2025
0630d0e
cargo publish fix
LarryOsterman Jun 30, 2025
635c218
cargo publish fix 2
LarryOsterman Jun 30, 2025
e043e12
Oops, commited too little stuff
LarryOsterman Jun 30, 2025
1db8a91
OTel feedback from Liudmila
LarryOsterman Jun 30, 2025
15aa29c
Propagate OpenTelemetry trace headers into request headers
LarryOsterman Jun 30, 2025
d7af2bb
More documentation
LarryOsterman Jun 30, 2025
c965604
Small cleanup on propagate_headers
LarryOsterman Jun 30, 2025
9a4956c
Started filling out OpenTelemetry readme.md
LarryOsterman Jun 30, 2025
ee192ba
PR feedback from Liudmila
LarryOsterman Jul 1, 2025
25789b1
Cargo fmt fixes
LarryOsterman Jul 1, 2025
154ce9a
Removed unused public function
LarryOsterman Jul 1, 2025
342b28d
Added the ability to configure an OpenTelemetryProvider on the global…
LarryOsterman Jul 1, 2025
dd5866e
Documentation updates
LarryOsterman Jul 1, 2025
32ffbe7
Created PublicApiInstrumentationPolicy to instrument public APIs
LarryOsterman Jul 9, 2025
43fe44a
Added attributes to the PublicApiInstrumentationInformation structure
LarryOsterman Jul 9, 2025
1eb9d20
Updated cargo.lock
LarryOsterman Jul 9, 2025
6e50363
CI pipeline fixes
LarryOsterman Jul 9, 2025
f5ff78f
Merge branch 'larryo/opentelemetry_prototype_implementation' into lar…
LarryOsterman Jul 9, 2025
a7c7245
Post merge fixes
LarryOsterman Jul 9, 2025
7ec16b9
tracing::function now works as expected
LarryOsterman Jul 11, 2025
4d54207
PR feedback
LarryOsterman Jul 11, 2025
1b84a83
Added tests for no tracer.
LarryOsterman Jul 11, 2025
6f3217a
Removed tests module from telemetry service implementation.
LarryOsterman Jul 11, 2025
7abec7d
Fixed build issues.
LarryOsterman Jul 11, 2025
65b0c59
Test fix
LarryOsterman Jul 11, 2025
f5ba616
Merge branch 'larryo/opentelemetry_prototype_implementation' of https…
LarryOsterman Jul 11, 2025
f140238
Merge branch 'Azure:main' into larryo/opentelemetry_prototype_impleme…
LarryOsterman Jul 11, 2025
5f6d1c6
Updated documentation a bit
LarryOsterman Jul 11, 2025
da804a4
CI fixes; clean up public instrumentation policy implementation
LarryOsterman Jul 14, 2025
58186f7
Tracing feature is gated on HTTP feature
LarryOsterman Jul 14, 2025
6c64c34
Doc fixes
LarryOsterman Jul 14, 2025
6ffc905
Fixed test function
LarryOsterman Jul 14, 2025
f09d06f
Try fixing pack error
LarryOsterman Jul 14, 2025
66297ac
Removed azure_core dependency from azure_core_macros to fix packing p…
LarryOsterman Jul 14, 2025
e6325bd
Fixed url in doccoment
LarryOsterman Jul 14, 2025
af4661e
Doc and commented out code cleanup
LarryOsterman Jul 14, 2025
c8e512a
Renamed tracing_provider to tracer_provider
LarryOsterman Jul 14, 2025
6557eba
Updated distributed tracing documentation
LarryOsterman Jul 14, 2025
0ca0136
Added helper function to allow service clients to create their own sp…
LarryOsterman Jul 14, 2025
cdc3ab2
Added tests for public_api_information function
LarryOsterman Jul 14, 2025
858c0bb
Added pageable test
LarryOsterman Jul 15, 2025
9821dd4
tracing::client is pub(crate) to match rust generator
LarryOsterman Jul 15, 2025
e859cc9
allow tracing::new on methods starting with with
LarryOsterman Jul 15, 2025
6d1bb0d
Added tracing::subclient to express subclient instantiation
LarryOsterman Jul 15, 2025
c2ebbf2
Added subclient to cspell.json
LarryOsterman Jul 16, 2025
41571b7
Added subclient text to distributed tracing documentation
LarryOsterman Jul 16, 2025
5d95e02
PR feedback part 1 - does not pass tests currently
LarryOsterman Jul 19, 2025
cd99701
Added support for Arc::new
LarryOsterman Jul 21, 2025
2e2105a
Update doc/distributed-tracing-for-rust-service-clients.md
LarryOsterman Jul 21, 2025
7cf7fe7
PR feedback
LarryOsterman Jul 21, 2025
c77fcaa
Merge branch 'larryo/opentelemetry_prototype_implementation' of https…
LarryOsterman Jul 21, 2025
c8893c5
PR feedback
LarryOsterman Jul 21, 2025
aa0f99a
Removed unnecessary modification
LarryOsterman Jul 21, 2025
bd42d8e
Use azuresdkforcpp web server instead of actual live servers to impro…
LarryOsterman Jul 21, 2025
446e9f1
cspell fixes
LarryOsterman Jul 22, 2025
fc57023
Update sdk/core/azure_core_opentelemetry/src/span.rs
LarryOsterman Jul 22, 2025
7cbcf7b
Update sdk/core/azure_core_opentelemetry/src/tracer.rs
LarryOsterman Jul 22, 2025
3150ae2
clippy and format fixes
LarryOsterman Jul 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
"seekable",
"servicebus",
"stylesheet",
"subclient",
"telemetered",
"typespec",
"undelete",
Expand Down Expand Up @@ -208,4 +209,4 @@
]
}
]
}
}
33 changes: 32 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ members = [
"sdk/typespec/typespec_macros",
"sdk/core/azure_core",
"sdk/core/azure_core_amqp",
"sdk/core/azure_core_macros",
"sdk/core/azure_core_test",
"sdk/core/azure_core_test_macros",
"sdk/core/azure_core_opentelemetry",
Expand Down Expand Up @@ -49,6 +50,11 @@ path = "sdk/typespec/typespec_macros"
version = "0.26.0"
path = "sdk/core/azure_core"

[workspace.dependencies.azure_core_macros]
version = "0.1.0"
path = "sdk/core/azure_core_macros"


[workspace.dependencies.azure_core_amqp]
version = "0.5.0"
path = "sdk/core/azure_core_amqp"
Expand Down
Loading