You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+86-73Lines changed: 86 additions & 73 deletions
Original file line number
Diff line number
Diff line change
@@ -2,83 +2,96 @@
2
2
3
3
# Elastic Distribution for OpenTelemetry .NET
4
4
5
-
The Elastic Distribution for OpenTelemetry .NET provides a zero code change extension
6
-
to [OpenTelemetry SDK for .NET](https://opentelemetry.io/docs/languages/net). These extensions ensure
7
-
a smooth and rich out of the box experience with [Elastic Observability](https://www.elastic.co/observability)
8
-
through strictly OpenTelemetry native means.
9
-
10
-
This ensures there are no new concepts to learn with the full OpenTelemetry ecosystem remains at ones
11
-
fingertips. Read more about the concept of [OpenTelemetry Distributions](https://opentelemetry.io/docs/concepts/distributions).
12
-
13
-
The Elastic Distribution for OpenTelemetry .NET includes some Elastic-specific processors to ensure the best
14
-
compatibility when exporting OpenTelemetry signal data [Elastic Observability](https://www.elastic.co/observability).
15
-
The distribution also preconfigures the collection of tracing, metrics and logs signals, applying
16
-
some opinionated defaults, such as which sources are collected by default. The distribution also
17
-
ensures that the OTLP exporter is enabled by default.
18
-
19
-
> **_IMPORTANT:_** The Elastic Distribution for OpenTelemetry .NET is currently in early alpha release status.
20
-
> It is not yet feature complete and may contain bugs. We are actively working on improving the distribution and
21
-
adding new features.
5
+
> [!WARNING]
6
+
> The Elastic Distribution for OpenTelemetry .NET is not yet recommended for production use. Functionality may be changed or removed in future releases. Alpha releases are not subject to the support SLA of official GA features.
22
7
>
23
-
> If you would like to experience the alpha and help us improve the distribution by providing
24
-
early feedback, you can follow the steps below to get started.
8
+
> We welcome your feedback! You can reach us by [opening a GitHub issue](https://github.com/elastic/elastic-otel-dotnet/issues) or starting a discussion thread on the [Elastic Discuss forum](https://discuss.elastic.co/tags/c/observability/apm/58/dotnet).
25
9
26
-
## Getting started
10
+
The Elastic Distribution for OpenTelemetry .NET (the distro) provides a zero code change extension of the [OpenTelemetry SDK for .NET](https://opentelemetry.io/docs/languages/net). The distro makes it easier to get started using OpenTelemetry in your .NET applications through strictly OpenTelemetry native means, while also providing a smooth and rich out of the box experience with [Elastic Observability](https://www.elastic.co/observability). It's an explicit goal of this distribution to introduce **no new concepts** in addition to those defined by the wider OpenTelemetry community.
27
11
28
-
As the distribution is a lightweight extension of the OpenTelemetry SDK, you should be broadly
12
+
> [!NOTE]
13
+
> For more details about OpenTelemetry distributions in general, visit the [OpenTelemetry documentation](https://opentelemetry.io/docs/concepts/distributions).
14
+
15
+
With the distro you have access to all the features of the OpenTelemetry SDK for .NET plus:
16
+
17
+
* Access to SDK improvements and bug fixes contributed by the Elastic team _before_ the changes are available upstream in OpenTelemetry repositories.
18
+
* Elastic-specific processors that ensure optimal compatibility when exporting OpenTelemetry signal data to an Elastic backend like an Elastic Observability deployment.
19
+
* Preconfigured collection of tracing and metrics signals, applying some opinionated defaults, such as which sources are collected by default.
20
+
* Ensuring that the OpenTelemetry protocol (OTLP) exporter is enabled by default.
21
+
22
+
**Ready to try out the distro?** Follow the step-by-step instructions in [Get started](./docs/get-started.md).
23
+
24
+
## Install
25
+
26
+
To get started with the Elastic Distribution for OpenTelemetry .NET, you must add the
This will setup instrumentation for as long as `session` is not disposed. We would generally expect the `session`
214
+
This will setup instrumentation for as long as `session` is not disposed. We would generally expect the `session`
202
215
to live for the life of the application.
203
216
204
-
`ElasticOpenTelemetryBuilder` is an implementation of [`IOpenTelemetryBuilder`](https://github.com/open-telemetry/opentelemetry-dotnet/blob/70657395b82ba00b8a1e848e8832b77dff94b6d2/src/OpenTelemetry.Api.ProviderBuilderExtensions/IOpenTelemetryBuilder.cs#L12).
217
+
`ElasticOpenTelemetryBuilder` is an implementation of [`IOpenTelemetryBuilder`](https://github.com/open-telemetry/opentelemetry-dotnet/blob/70657395b82ba00b8a1e848e8832b77dff94b6d2/src/OpenTelemetry.Api.ProviderBuilderExtensions/IOpenTelemetryBuilder.cs#L12).
205
218
206
-
This is important to know because any instrumentation configuration is automatically exposed by the base
207
-
OpenTelemetry package as extension methods on `IOpenTelemetryBuilder`. You will not lose functionality by
208
-
using our builder.
219
+
This is important to know because any instrumentation configuration is automatically exposed by the base
220
+
OpenTelemetry package as extension methods on `IOpenTelemetryBuilder`. You will not lose functionality by
Copy file name to clipboardExpand all lines: docs/configure.md
+5-8Lines changed: 5 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -9,11 +9,6 @@ Assumptions we're comfortable making about the reader:
9
9
10
10
# Configure
11
11
12
-
> [!WARNING]
13
-
> The Elastic Distribution for OpenTelemetry .NET is not yet recommended for production use. Functionality may be changed or removed in future releases. Alpha releases are not subject to the support SLA of official GA features.
14
-
>
15
-
> We welcome your feedback! You can reach us by [opening a GitHub issue](https://github.com/elastic/elastic-otel-dotnet/issues) or starting a discussion thread on the [Elastic Discuss forum](https://discuss.elastic.co/tags/c/observability/apm/58/dotnet).
16
-
17
12
<!-- ✅ How users set configuration options -->
18
13
## Configuration methods
19
14
@@ -218,9 +213,11 @@ When sending data to Elastic, there are two ways you can authenticate: using an
218
213
219
214
### Use an APM agent key (API key)
220
215
221
-
<!-- ✅ What is this? -->
222
-
<!-- ✅ Why would someone use it? -->
223
-
It is also possible to authenticate to an Elastic Observability endpoint using an [APM agent key](https://www.elastic.co/guide/en/observability/current/apm-api-key.html). APM agent keys are revocable, you can have more than one of them, and you can add or remove them without restarting APM Server.
216
+
<!-- ✅ What and why -->
217
+
[APM agent keys](https://www.elastic.co/guide/en/observability/current/apm-api-key.html) are
218
+
used to authorize requests to an Elastic Observability endpoint.
219
+
APM agent keys are revocable, you can have more than one of them, and
220
+
you can add or remove them without restarting APM Server.
224
221
225
222
<!-- ✅ How do you authenticate using this method? -->
0 commit comments