Skip to content

Commit 5939f38

Browse files
committed
doc: remove deprecated sample from README
FIX #170
1 parent 5a8e972 commit 5939f38

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

axum-tracing-opentelemetry/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ For examples, you can look at the [examples](https://github.com/davidB/tracing-o
1616

1717
```txt
1818
//...
19-
use axum_tracing_opentelemetry::opentelemetry_tracing_layer;
19+
use axum_tracing_opentelemetry::middleware::{OtelAxumLayer, OtelInResponseLayer};
2020
2121
#[tokio::main]
2222
async fn main() -> Result<(), axum::BoxError> {

examples/axum-otlp/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export OTEL_TRACES_SAMPLER="always_on"
5454
...
5555
```
5656

57-
Into an other terminal, call the `/` (endpoint with `opentelemetry_tracing_layer` and `response_with_trace_layer`)
57+
Into an other terminal, call the `/` (endpoint with `OtelAxumLayer` and `OtelInResponseLayer`)
5858

5959
```sh
6060
❯ curl -i http://127.0.0.1:3003/

init-tracing-opentelemetry/README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
A set of helpers to initialize (and more) tracing + opentelemetry (compose your own or use opinionated preset)
77

88
```txt
9-
//...
10-
use axum_tracing_opentelemetry::opentelemetry_tracing_layer;
11-
129
#[tokio::main]
1310
async fn main() -> Result<(), axum::BoxError> {
1411
// very opinionated init of tracing, look as is source to compose your own

0 commit comments

Comments
 (0)