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
In all other scenarios, configuration can be achieved manually in code.
111
111
112
-
// How
112
+
// ✅ How
113
113
This is done by creating an instance of `ElasticOpenTelemetryBuilderOptions` and passing it to the
114
114
`ElasticOpenTelemetryBuilder` constructor or an overload of the `AddElasticOpenTelemetry` extension
115
115
method on the `IServiceCollection`.
116
116
117
-
// Example
117
+
// ✅ Example
118
118
For example, in traditional console applications, you can configure the
119
119
Elastic Distribution for OpenTelemetry .NET like this:
120
120
@@ -147,20 +147,16 @@ setting the corresponding property.
147
147
<4> Pass the `ElasticOpenTelemetryBuilderOptions` instance to the `ElasticOpenTelemetryBuilder` constructor
148
148
to configure the Elastic Distribution for OpenTelemetry .NET.
149
149
150
-
// Order of operations
150
+
// TO DO: Order of operations
151
151
152
152
////
153
-
What are the available configuration options?
153
+
✅ List all available configuration options
154
154
////
155
155
[discrete]
156
156
[[configure-configuration-options]]
157
157
=== Configuration options
158
158
159
-
////
160
-
Is this true? Is the distro a wrapper around the OpenTelemetry .NET agent
161
-
which is a wrapper around the general OpenTelemetry SDK? 🌀
162
-
////
163
-
Because the {distro_name} ("the distro") is a wrapper around the https://github.com/open-telemetry/opentelemetry-{language_lc}-instrumentation[OpenTelemetry {language} agent], it supports both:
159
+
Because the {distro_name} ("the distro") is an extension of the https://github.com/open-telemetry/opentelemetry-{language_lc}-instrumentation[OpenTelemetry {language} agent], it supports both:
164
160
165
161
* General OpenTelemetry SDK configuration options
166
162
* Elastic-specific configuration options that are only available when using the distro
@@ -169,10 +165,6 @@ Because the {distro_name} ("the distro") is a wrapper around the https://github.
169
165
[[configure-otel-sdk-options]]
170
166
==== OpenTelemetry SDK configuration options
171
167
172
-
////
173
-
Is this true? Are there any options that aren't supported?
174
-
Any options that shouldn't be used?
175
-
////
176
168
The distro supports all configuration options listed in the https://opentelemetry.io/docs/languages/sdk-configuration/general/[OpenTelemetry General SDK Configuration documentation].
177
169
178
170
[discrete]
@@ -275,6 +267,7 @@ Elastic defaults only for tracing and metrics, set this value to `Tracing,Metric
275
267
|===
276
268
277
269
////
270
+
TO DO:
278
271
Are there multiple authentication methods when sending data to Elastic?
279
272
If no, delete this section.
280
273
////
@@ -288,13 +281,13 @@ When sending data to Elastic, there are two ways you can authenticate: using a s
288
281
[[configure-secret-token]]
289
282
==== Use a secret token
290
283
291
-
// What is this?
284
+
// TO DO:What is this?
292
285
// ??
293
286
294
-
// Why would you choose this method?
287
+
// TO DO:Why would you choose this method?
295
288
// ??
296
289
297
-
// How do you authenticate using this method?
290
+
// TO DO:How do you authenticate using this method?
298
291
// ??
299
292
300
293
[discrete]
@@ -305,7 +298,7 @@ When sending data to Elastic, there are two ways you can authenticate: using a s
305
298
It is also possible to authenticate to an Elastic Observability endpoint using
306
299
an _APM agent key_. These are revocable API keys.
307
300
308
-
// Why would you choose this method?
301
+
// TO DO:Why would you choose this method?
309
302
// ??
310
303
311
304
// How do you authenticate using this method?
@@ -318,7 +311,7 @@ When using an APM Agent key, the `OTEL_EXPORTER_OTLP_HEADERS` is set using a
318
311
different auth schema (`ApiKey` rather than `Bearer`). For example:
This guide shows you how to use the {distro_name} ("the distro") to instrument your {language} application and send OpenTelemetry data to an Elastic Observability deployment.
21
21
22
22
////
23
-
Is this true?
23
+
TO DO: Is this true?
24
24
////
25
25
[NOTE]
26
26
====
27
27
As an OpenTelemetry SDK, the distro supports sending data to any OpenTelemetry protocol (OTLP) endpoint (for example, an https://opentelemetry.io/docs/collector/[OpenTelemetry Collector]).
28
28
====
29
29
30
30
////
31
-
What does a user need to know and/or do before they install the distro?
31
+
✅ What the user needs to know and/or do before they install the distro
32
32
////
33
33
[discrete]
34
34
[[get-started-prerequisites]]
@@ -55,18 +55,14 @@ This section shows how to create an https://www.elastic.co/observability[Elastic
55
55
====
56
56
57
57
////
58
-
Other prereqs?
59
-
////
60
-
61
-
////
62
-
How does a user install the distro?
58
+
✅ How to install the distro
63
59
////
64
60
[discrete]
65
61
[[get-started-install]]
66
62
=== Install
67
63
68
64
////
69
-
Step-by-step instructions
65
+
✅ Step-by-step instructions
70
66
////
71
67
To get started with the Elastic OpenTelemetry Distribution for .NET, add the `Elastic.OpenTelemetry` NuGet package reference to your project file:
72
68
@@ -79,7 +75,7 @@ After adding the package reference, you can start using the distro
79
75
in your application.
80
76
81
77
////
82
-
Any additional info related to installation
78
+
✅ Any additional info related to installation
83
79
////
84
80
[NOTE]
85
81
.The Elastic distro and the OpenTelemetry SDK
@@ -100,7 +96,7 @@ switch to the opinionated configuration provided by the Elastic distro.
100
96
====
101
97
102
98
////
103
-
What does the user need to do in their application to prepare to send data Elastic?
99
+
✅ Start-to-finish operation
104
100
////
105
101
[discrete]
106
102
[[get-started-send-data]]
@@ -123,9 +119,7 @@ and the default choice for applications created using the latest templates.
123
119
====
124
120
125
121
////
126
-
Are there any dependencies that need to be installed in addition to the distro?
127
-
If yes, does it matter in what order dependencies are defined?
128
-
If no, delete this section.
122
+
✅ Any dependencies that need to be installed in addition to the distro
129
123
////
130
124
[discrete]
131
125
[[get-started-add-dependencies]]
@@ -210,8 +204,7 @@ exporter requires that endpoint(s) are configured. A common mechanism for config
210
204
endpoints is via environment variables.
211
205
212
206
////
213
-
What does the _minimal_ configuration / setup look like?
214
-
Are there any configuration options that are _required_?
207
+
✅ Provide _minimal_ configuration/setup
215
208
////
216
209
[discrete]
217
210
[[get-started-configure]]
@@ -232,7 +225,7 @@ for your observability data.
232
225
====
233
226
234
227
////
235
-
Step-by-step instructions
228
+
✅ Step-by-step instructions
236
229
////
237
230
When sending data to Elastic, you can find the values of these variables in Kibana's APM setup guide:
238
231
@@ -251,21 +244,7 @@ and exported to the OTLP endpoint.
251
244
For more information on all the available configuration options, refer to <<configure>>.
252
245
253
246
////
254
-
Does the user need to do something after configuring the distro
255
-
for data to start being sent Elastic?
256
-
If no, delete this section.
257
-
////
258
-
[discrete]
259
-
[[get-started-initialization]]
260
-
==== Initialize the distro
261
-
262
-
////
263
-
Step-by-step instructions
264
-
////
265
-
266
-
////
267
-
What should they expect to see after running this?
268
-
How do they know it worked as expected?
247
+
✅ What success looks like
269
248
////
270
249
[discrete]
271
250
[[get-started-view-traces]]
@@ -274,13 +253,13 @@ How do they know it worked as expected?
274
253
To view the traces, you can use the Elastic APM UI:
275
254
276
255
////
277
-
Step-by-step instructions
256
+
TO DO: Step-by-step instructions
278
257
////
279
258
280
259
image:images/trace-sample-minimal-api.png[Minimal API request trace sample in the Elastic APM UI]
Copy file name to clipboardExpand all lines: docs/intro.asciidoc
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -21,16 +21,16 @@ Assumptions we're comfortable making about the reader:
21
21
include::release-status.asciidoc[]
22
22
23
23
////
24
-
Intro
24
+
✅ Intro
25
25
////
26
26
The {distro_name} ("the distro") is a {language} package that provides:
27
27
28
28
* An easy way to instrument your application with OpenTelemetry.
29
29
* Configuration defaults for best usage.
30
30
31
31
////
32
-
What is it?
33
-
Why use it?
32
+
✅ What is it?
33
+
✅ Why use it?
34
34
////
35
35
A _distribution_ is a wrapper around an upstream OpenTelemetry repository with some customizations. The {distro_name} is a wrapper around the https://opentelemetry.io/docs/languages/{language_lc}[OpenTelemetry SDK for {language}] and includes the following customizations:
36
36
@@ -41,7 +41,7 @@ A _distribution_ is a wrapper around an upstream OpenTelemetry repository with s
41
41
NOTE: For more details about OpenTelemetry distributions in general, visit the https://opentelemetry.io/docs/concepts/distributions[OpenTelemetry documentation].
42
42
43
43
////
44
-
How to use it?
44
+
✅ How to use it?
45
45
////
46
46
Use the distro to start the OpenTelemetry SDK with your {language} application to automatically capture tracing data, performance metrics, and logs. Traces, metrics, and logs are sent to any OTLP collector you choose.
0 commit comments