Skip to content

Commit

Permalink
📝 Update link to changelog, remove homepage, ...
Browse files Browse the repository at this point in the history
  • Loading branch information
davidB committed Nov 25, 2023
1 parent 319b1eb commit 7f38094
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 100 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ version = "0.15.0"
authors = ["David Bernard"]
license = "CC0-1.0"
repository = "https://github.com/davidB/tracing-opentelemetry-instrumentation-sdk"
rust-version = "1.70"

[workspace.dependencies]
http = "^0.2"
Expand Down
3 changes: 1 addition & 2 deletions axum-tracing-opentelemetry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ categories = [
"development-tools::profiling",
"web-programming",
]
homepage = "https://github.com/davidB/tracing-opentelemetry-instrumentation-sdk/axum-tracing-opentelemetry"
rust-version = "1.70"
rust-version.workspace = true
edition.workspace = true
version.workspace = true
authors.workspace = true
Expand Down
77 changes: 1 addition & 76 deletions axum-tracing-opentelemetry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,84 +52,9 @@ async fn shutdown_signal() {

For more info about how to initialize, you can look at crate [`init-tracing-opentelemetry`] or [`tracing-opentelemetry`].

## Compatibility

| axum | axum-tracing-opentelemetry |
|------|----------------------------|
| 0.6 | latest - 0.6 |
| 0.5 | 0.1 - 0.5 |

## Changelog - History

### 0.13

- ⬆️ upgrade to opentelemetry 0.20 (and related dependencies)

### 0.12

- 💥 upgrade opentelemetry attributes to follow semantic 1.22
- 💥 extract tools, tonic,... into separate crates [`init-tracing-opentelemetry`], [`tonic-tracing-opentelemetry`], [`tracing-opentelemetry-instrumentation-sdk`], without re-export and features
- 💥 remove `trace_id` from attributes (opnetelemetry) and field in trace (log,...) on creation
because the previous workaround created invalid states in some context
- deprecate factory `opentelemetry_tracing_layer`, `response_with_trace_layer`
- full rewrite without tower-http/Tracing

### 0.11

- upgrade to opentelemetry 0.19

### 0.10

- 💥 default configuration for otlp Sampler is no longer hardcoded to `always_on`, but read environment variables `OTEL_TRACES_SAMPLER`, `OTEL_TRACES_SAMPLER_ARG`
- ✨ provide opinionated `tracing_subscriber_ext`
- ✨ log under target `otel::setup` detected configuration by otel setup tools
- ✨ add a axum layer for gRPC (#36) (wip)

### 0.9

- add `DetectResource` builder to help detection for [Resource Semantic Conventions | OpenTelemetry](https://opentelemetry.io/docs/reference/specification/resource/semantic_conventions/#semantic-attributes-with-sdk-provided-default-value)

### 0.8

- add `init_propagator` to configure the global propagator based on content of the env variable [OTEL_PROPAGATORS](https://opentelemetry.io/docs/concepts/sdk-configuration/general-sdk-configuration/#otel_propagators)

### 0.7

- add a layer`response_with_trace_layer` to have `traceparent` injected into response
- improve discovery of otlp configuration based on `OTEL_EXPORTER_OTLP_TRACES_ENDPOINT`, `OTEL_EXPORTER_OTLP_ENDPOINT`, `OTEL_EXPORTER_OTLP_TRACES_PROTOCOL`, `OTEL_EXPORTER_OTLP_PROTOCOL`

### 0.6

- upgrade to axum 0.6

### 0.5

- upgrade to opentelemetry 0.18
- breaking change: upgrade opentelemetry-jaeger to 0.17 (switch from PipelineBuiler to AgentPipeline)

### 0.4

- allow customization of tracer
- add tracer to export on stdout or stderr
- add tracer to export to nowhere (like `/dev/null`) to allow to have trace_id
and the opentelemetry span & metadata on log and http response (without collector)

### 0.3

- Allow customization of exporter pipeline
- Fix name of the root span (#6)

### 0.2

- First public release as a crate

### 0.1

- Code originally created at part of axum-extra [Add OpenTelemetry middleware by davidpdrsn · Pull Request #769 · tokio-rs/axum](https://github.com/tokio-rs/axum/pull/769)
- Code copied and modified as part of [davidB/sandbox_axum_observability: Sandbox to experiment axum and observability](https://github.com/davidB/sandbox_axum_observability)
- Published as a standalone crate with OK from original author
[CHANGELOG.md](https://github.com/davidB/tracing-opentelemetry-instrumentation-sdk/blob/main/CHANGELOG.md)

[`tracing-opentelemetry`]: https://crates.io/crates/tracing-opentelemetry
[`init-tracing-opentelemetry`]: https://crates.io/crates/init-tracing-opentelemetry
[`tonic-tracing-opentelemetry`]: https://crates.io/crates/tonic-tracing-opentelemetry
[`tracing-opentelemetry-instrumentation-sdk`]: https://crates.io/crates/tracing-opentelemetry-instrumentation-sdk
1 change: 0 additions & 1 deletion fake-opentelemetry-collector/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ description = "A Fake (basic) opentelemetry collector, useful to test what is co
readme = "README.md"
keywords = ["tracing", "opentelemetry", "faker", "mock"]
categories = ["development-tools::testing"]
homepage = "https://github.com/davidB/tracing-opentelemetry-instrumentation-sdk/fake-opentelemetry-collector"
edition.workspace = true
version.workspace = true
authors.workspace = true
Expand Down
1 change: 0 additions & 1 deletion init-tracing-opentelemetry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ description = "A set of helpers to initialize (and more) tracing + opentelemetry
readme = "README.md"
keywords = ["tracing", "opentelemetry"]
categories = ["development-tools::debugging", "development-tools::profiling"]
homepage = "https://github.com/davidB/tracing-opentelemetry-instrumentation-sdk/init-tracing-opentelemetry"
edition.workspace = true
version.workspace = true
authors.workspace = true
Expand Down
9 changes: 1 addition & 8 deletions init-tracing-opentelemetry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,4 @@ spec:

## Changelog - History

### 0.13

- ⬆️ upgrade to opentelemetry 0.20 (and related dependencies)
- 💥 stdio tracer moved under feature flags "sdout" and change type to reflect change into opentelemetry

### 0.12

- 💥 extracted from axum-tracing-opentelemetry
[CHANGELOG.md](https://github.com/davidB/tracing-opentelemetry-instrumentation-sdk/blob/main/CHANGELOG.md)
1 change: 0 additions & 1 deletion testing-tracing-opentelemetry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ description = "helpers to help testing app + tracing + opentelemetry."
readme = "README.md"
keywords = ["tracing", "opentelemetry"]
categories = ["development-tools::testing"]
homepage = "https://github.com/davidB/tracing-opentelemetry-instrumentation-sdk/testing-tracing-opentelemetry"
publish = false
edition.workspace = true
version.workspace = true
Expand Down
3 changes: 1 addition & 2 deletions tonic-tracing-opentelemetry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ categories = [
"development-tools::profiling",
"web-programming",
]
homepage = "https://github.com/davidB/tracing-opentelemetry-instrumentation-sdk/tonic-tracing-opentelemetry"
rust-version = "1.70"
rust-version.workspace = true
edition.workspace = true
version.workspace = true
authors.workspace = true
Expand Down
9 changes: 1 addition & 8 deletions tonic-tracing-opentelemetry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,4 @@ Extract of `server.rs`:

## Changelog - History

### 0.13

- ⬆️ upgrade to opentelemetry 0.20 (and related dependencies)

### 0.12

- 💥 extracted from axum-tracing-opentelemetry 0.11
- add filter (eg to not trace on healthcheck)
[CHANGELOG.md](https://github.com/davidB/tracing-opentelemetry-instrumentation-sdk/blob/main/CHANGELOG.md)
1 change: 0 additions & 1 deletion tracing-opentelemetry-instrumentation-sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ categories = [
"development-tools::profiling",
"web-programming",
]
homepage = "https://github.com/davidB/tracing-opentelemetry-instrumentation-sdk/tracing-opentelemetry-instrumentation-sdk"
edition.workspace = true
version.workspace = true
authors.workspace = true
Expand Down

0 comments on commit 7f38094

Please sign in to comment.