https://github.com/heaths/tracing-examples
Tracing examples for Azure SDK for Rust
https://github.com/heaths/tracing-examples
tracing
Last synced: 8 months ago
JSON representation
Tracing examples for Azure SDK for Rust
- Host: GitHub
- URL: https://github.com/heaths/tracing-examples
- Owner: heaths
- License: mit
- Created: 2024-10-26T12:07:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-29T23:46:41.000Z (over 1 year ago)
- Last Synced: 2025-04-03T10:14:24.571Z (about 1 year ago)
- Topics: tracing
- Language: Rust
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Tracing examples
This crate contains examples of tracing for use in [Azure SDK for Rust](https://github.com/Azure/azure-sdk-for-rust).
## Rotate secret
An example of convenience methods calling generated methods. You can pass "foo", "bar", or "baz" to rotate an existing secret,
or specify any other value to emit an error.
```bash
cargo run --example rotate_secret -- foo secret --level debug
```
## Links
Some interesting documentation to consider:
* [`tracing`](https://docs.rs/tracing/latest/tracing/index.html)
* [`tracing_subscriber`](https://docs.rs/tracing-subscriber/latest/tracing_subscriber/index.html)
* [`tracing_opentelemetry`](https://docs.rs/tracing-opentelemetry/latest/tracing_opentelemetry/index.html)
* [`reqwest_tracing`](https://docs.rs/reqwest-tracing/latest/reqwest_tracing/index.html)