Skip to content

Commit d26f7cb

Browse files
authored
Merge branch 'main' into cijothomas/028migration
2 parents b7a4ad8 + 41464d1 commit d26f7cb

File tree

13 files changed

+70
-45
lines changed

13 files changed

+70
-45
lines changed

README.md

Lines changed: 22 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ documentation.
3030

3131
| Signal/Component | Overall Status |
3232
| -------------------- | ------------------ |
33-
| Logs-API | RC* |
34-
| Logs-SDK | Beta |
35-
| Logs-OTLP Exporter | Beta |
36-
| Logs-Appender-Tracing | Beta |
37-
| Metrics-API | RC |
38-
| Metrics-SDK | Beta |
39-
| Metrics-OTLP Exporter | Beta |
33+
| Logs-API | Stable* |
34+
| Logs-SDK | RC |
35+
| Logs-OTLP Exporter | RC |
36+
| Logs-Appender-Tracing | RC |
37+
| Metrics-API | Stable |
38+
| Metrics-SDK | RC |
39+
| Metrics-OTLP Exporter | RC |
4040
| Traces-API | Beta |
4141
| Traces-SDK | Beta |
4242
| Traces-OTLP Exporter | Beta |
@@ -55,50 +55,28 @@ If you already use the logging APIs from above, continue to use them, and use
5555
the appenders above to bridge the logs to OpenTelemetry. If you are using a
5656
library not listed here, feel free to contribute a new appender for the same.
5757

58-
If you are starting fresh, then consider using
58+
If you are starting fresh, we recommend using
5959
[tracing](https://github.com/tokio-rs/tracing) as your logging API. It supports
60-
structured logging and is actively maintained.
60+
structured logging and is actively maintained. `OpenTelemetry` itself uses
61+
`tracing` for its internal logging.
6162

6263
Project versioning information and stability guarantees can be found
6364
[here](VERSIONING.md).
6465

6566
## Getting Started
6667

67-
```rust
68-
use opentelemetry::trace::{
69-
TraceContextExt,
70-
Tracer,
71-
TracerProvider,
72-
};
73-
use opentelemetry_sdk::trace::SdkTracerProvider;
74-
75-
fn main() {
76-
// Create a new trace pipeline that prints to stdout
77-
let provider = TracerProvider::builder()
78-
.with_simple_exporter(opentelemetry_stdout::SpanExporter::default())
79-
.build();
80-
let tracer = provider.tracer("readme_example");
81-
82-
tracer.in_span("doing_work", |cx| {
83-
// Traced app logic here...
84-
});
85-
86-
// Shutdown trace pipeline
87-
provider.shutdown().expect("TracerProvider should shutdown successfully")
88-
}
89-
```
90-
91-
The example above requires the following packages:
92-
93-
```toml
94-
# Cargo.toml
95-
[dependencies]
96-
opentelemetry = "0.27"
97-
opentelemetry_sdk = "0.27"
98-
opentelemetry-stdout = { version = "0.27", features = ["trace"] }
99-
```
100-
101-
See the [examples](./examples) directory for different integration patterns.
68+
If you are new to OpenTelemetry, start with the [Stdout
69+
Example](./opentelemetry-stdout/examples/basic.rs). This example demonstrates
70+
how to use OpenTelemetry for logs, metrics, and traces, and display
71+
telemetry data on your console.
72+
73+
For those using OTLP, the recommended OpenTelemetry Exporter for production
74+
scenarios, refer to the [OTLP Example -
75+
HTTP](./opentelemetry-otlp/examples/basic-otlp-http/README.md) and the [OTLP
76+
Example - gRPC](./opentelemetry-otlp/examples/basic-otlp/README.md).
77+
78+
Additional examples for various integration patterns can be found in the
79+
[examples](./examples) directory.
10280

10381
## Overview of crates
10482

opentelemetry-appender-log/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,7 @@ management, and export of telemetry. A major goal of OpenTelemetry is that you
2626
can easily instrument your applications or systems, no matter their language,
2727
infrastructure, or runtime environment. Crucially, the storage and visualization
2828
of telemetry is intentionally left to other tools.
29+
30+
## Release Notes
31+
32+
You can find the release notes (changelog) [here](./CHANGELOG.md).

opentelemetry-appender-tracing/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ of telemetry is intentionally left to other tools.
3535

3636
*[Supported Rust Versions](#supported-rust-versions)*
3737

38+
## Release Notes
39+
40+
You can find the release notes (changelog) [here](./CHANGELOG.md).
41+
3842
## Supported Rust Versions
3943

4044
OpenTelemetry is built against the latest stable release. The minimum supported

opentelemetry-http/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ of telemetry is intentionally left to other tools.
3131

3232
*[Supported Rust Versions](#supported-rust-versions)*
3333

34+
## Release Notes
35+
36+
You can find the release notes (changelog) [here](./CHANGELOG.md).
37+
3438
## Supported Rust Versions
3539

3640
OpenTelemetry is built against the latest stable release. The minimum supported

opentelemetry-jaeger-propagator/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ of telemetry is intentionally left to other tools.
3131

3232
*[Supported Rust Versions](#supported-rust-versions)*
3333

34+
## Release Notes
35+
36+
You can find the release notes (changelog) [here](./CHANGELOG.md).
37+
3438
## Supported Rust Versions
3539

3640
OpenTelemetry is built against the latest stable release. The minimum supported

opentelemetry-otlp/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ of telemetry is intentionally left to other tools.
3939

4040
See [docs](https://docs.rs/opentelemetry-otlp).
4141

42+
## Release Notes
43+
44+
You can find the release notes (changelog) [here](./CHANGELOG.md).
45+
4246
## Supported Rust Versions
4347

4448
OpenTelemetry is built against the latest stable release. The minimum supported

opentelemetry-prometheus/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,7 @@ of telemetry is intentionally left to other tools.
3232

3333
[`Prometheus`]: https://prometheus.io
3434
[`OpenTelemetry`]: https://crates.io/crates/opentelemetry
35+
36+
## Release Notes
37+
38+
You can find the release notes (changelog) [here](./CHANGELOG.md).

opentelemetry-proto/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ repository and transformation between types from generated files and types defin
88

99
*[Supported Rust Versions](#supported-rust-versions)*
1010

11+
## Release Notes
12+
13+
You can find the release notes (changelog) [here](./CHANGELOG.md).
14+
1115
## Supported Rust Versions
1216

1317
OpenTelemetry is built against the latest stable release. The minimum supported

opentelemetry-sdk/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ additional exporters and other related components as well.
100100

101101
See [docs](https://docs.rs/opentelemetry-sdk).
102102

103+
## Release Notes
104+
105+
You can find the release notes (changelog) [here](./CHANGELOG.md).
106+
103107
## Supported Rust Versions
104108

105109
OpenTelemetry is built against the latest stable release. The minimum supported

opentelemetry-semantic-conventions/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ and visualization tools.
2525

2626
*[Supported Rust Versions](#supported-rust-versions)*
2727

28+
## Release Notes
29+
30+
You can find the release notes (changelog) [here](./CHANGELOG.md).
31+
2832
## Supported Rust Versions
2933

3034
OpenTelemetry is built against the latest stable release. The minimum supported

0 commit comments

Comments
 (0)