forked from open-telemetry/opentelemetry-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor readme fixes for examples (open-telemetry#1513)
- Loading branch information
1 parent
aba0af5
commit 8688e7e
Showing
3 changed files
with
35 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
@@ -1,41 +1,67 @@ | ||
# Examples | ||
|
||
This directory contains some examples that should help you get start crates from `opentelemetry-rust`. | ||
|
||
## log-basic | ||
**Logs** | ||
|
||
This example uses following crates from this repo: | ||
|
||
- opentelemetry(log) | ||
- opentelemetry-appender-log | ||
- opentelemetry-stdout | ||
|
||
Check this example if you want to understand *how to instrument logs using opentelemetry*. | ||
|
||
## metrics-basic | ||
**Metrics** | ||
|
||
This example uses following crates from this repo: | ||
|
||
- opentelemetry(metrics) | ||
- opentelemetry-stdout | ||
|
||
Check this example if you want to understand *how to instrument metrics using opentelemetry*. | ||
|
||
## metrics-advanced | ||
|
||
This example uses following crates from this repo: | ||
|
||
- opentelemetry(metrics) | ||
- opentelemetry-stdout | ||
|
||
This builds on top of the metrics-basic, | ||
and shows advanced features in Metrics SDK like using Views. | ||
|
||
## tracing-grpc | ||
|
||
This example uses following crates from this repo: | ||
|
||
- opentelemetry(tracing) | ||
- opentelemetry-stdout | ||
|
||
The application is built using `tokio`. | ||
|
||
Check this example if you want to understand *how to create spans and | ||
propagate/restore context in OpenTelemetry* in a gRPC client-server application. | ||
|
||
## tracing-http-propagator | ||
**Tracing** | ||
|
||
This example uses following crates from this repo: | ||
|
||
- opentelemetry(tracing) | ||
- opentelemetry-http | ||
- opentelemetry-stdout | ||
|
||
## tracing-grpc | ||
**Tracing** | ||
Check this example if you want to understand *how to create spans and | ||
propagate/restore context in OpenTelemetry* in an HTTP client-server | ||
application. | ||
|
||
## tracing-jaeger | ||
|
||
This example uses following crates from this repo: | ||
|
||
- opentelemetry(tracing) | ||
- opentelemetry-stdout | ||
- opentelemetry-otlp | ||
|
||
The application is built using `tokio`. | ||
|
||
Check this example if you want to understand *how to create spans and propagate/restore context in OpenTelemetry*. | ||
Check this example if you want to understand *how to use OTLP Exporter to export traces to Jaeger*. |
This file contains 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 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