Skip to content

Commit bcd9bcd

Browse files
authored
Exporters-intro rework and mention benefits of OTLP exporters (#3905)
1 parent db3270f commit bcd9bcd

File tree

4 files changed

+43
-26
lines changed

4 files changed

+43
-26
lines changed

content/en/docs/concepts/components.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ For more information, see
7373

7474
### Exporters
7575

76-
{{% docs/languages/exporters/intro all %}}
76+
{{% docs/languages/exporters/intro %}}
7777

7878
### Automatic Instrumentation
7979

content/en/docs/languages/cpp/exporters.md

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
title: Exporters
33
weight: 50
4-
cSpell:ignore: chrono millis ostream
54
---
65

76
<!-- markdownlint-disable no-duplicate-heading -->

content/en/docs/languages/go/exporters.md

-5
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,3 @@ func newExporter(ctx context.Context) (metric.Reader, error) {
173173

174174
To learn more on how to use the Prometheus exporter, try the
175175
[prometheus example](https://github.com/open-telemetry/opentelemetry-go/tree/main/example/prometheus)
176-
177-
## Available packages
178-
179-
You can find a full list of available exporters in the
180-
[OpenTelemetry registry](/ecosystem/registry/?language=go&component=exporter).

layouts/shortcodes/docs/languages/exporters/intro.md

+42-19
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,47 @@
1-
<!-- cSpell:ignore isset cond -->
1+
To visualize and analyze telemetry, export it to the
2+
[OpenTelemetry Collector](/docs/collector/), to a backend such as
3+
[Jaeger](https://jaegertracing.io/), [Zipkin](https://zipkin.io/),
4+
[Prometheus](https://prometheus.io/), or a
5+
[vendor-specific](/ecosystem/vendors/) backend.
26

3-
{{ $lang := .Get 0 -}} {{ $data := index $.Site.Data.instrumentation $lang -}}
4-
{{ $name := cond (isset $.Site.Data.instrumentation $lang) (printf "OpenTelemetry %s" $data.name) "the language specific implementations" -}}
7+
{{ $lang := .Get 0 | default "" -}}
58

6-
In order to visualize and analyze your telemetry, you will need to export your
7-
data to an [OpenTelemetry Collector](/docs/collector/) or a backend such as
8-
[Jaeger](https://jaegertracing.io/), [Zipkin](https://zipkin.io/),
9-
[Prometheus](https://prometheus.io/) or a [vendor-specific](/ecosystem/vendors/)
10-
one.
9+
{{ $name := "" -}}
10+
11+
{{ if $lang -}}
12+
13+
{{ $name = (index $.Site.Data.instrumentation $lang).name -}}
1114

12-
As part of {{ $name }} you will find many exporters being available. Among them,
13-
the OpenTelemetry Protocol (OTLP) exporters provide the best experience for you
14-
as an end-user, since it is a general-purpose telemetry data delivery protocol
15-
designed in the scope of the OpenTelemetry project.
15+
## Available exporters
1616

17-
To learn more about the OTLP protocol, you can read the
18-
[OTLP Specification](/docs/specs/otlp/).
17+
The registry contains a [list of exporters for {{ $name }}][reg].
1918

20-
{{ if (isset $.Site.Data.instrumentation $lang) -}}
19+
{{ else -}}
2120

22-
Below you will find some introductions on how to set up exporters for OTLP and
23-
other common protocols in your code.
21+
The registry contains the [list of language specific exporters][reg].
22+
23+
{{ end -}}
24+
25+
Among exporters, [OpenTelemetry Protocol (OTLP)][OTLP] exporters are designed
26+
with the OpenTelemetry data model in mind, emitting OTel data without any loss
27+
of information. Furthermore, many tools that operate on telemetry data support
28+
OTLP (such as [Prometheus], [Jaeger], and most [vendors]), providing you with a
29+
high degree of flexibility when you need it. To learn more about OTLP, see [OTLP
30+
Specification][OTLP].
31+
32+
[Jaeger]: /blog/2022/jaeger-native-otlp/
33+
[OTLP]: /docs/specs/otlp/
34+
[Prometheus]:
35+
https://prometheus.io/docs/prometheus/latest/feature_flags/#otlp-receiver
36+
[signals]: /docs/concepts/signals/
37+
[vendors]: /ecosystem/vendors/
38+
39+
[reg]: /ecosystem/registry/?component=exporter&language={{ $lang }}
40+
41+
{{ if $name -}}
42+
43+
This page covers the main OpenTelemetry {{ $name }} exporters and how to set
44+
them up.
2445

2546
{{ end -}}
2647

@@ -34,11 +55,13 @@ Guide](/docs/languages/{{ $lang }}/automatic/configuration/).
3455

3556
</div>
3657

37-
{{ end }}
58+
{{ end -}}
3859

3960
{{/*
4061
below list needs to grow until all languages are updated to a consistent structure.
41-
*/}} {{ if in (slice "python" "js" "java") $lang -}}
62+
*/ -}}
63+
64+
{{ if in (slice "python" "js" "java") $lang -}}
4265

4366
## OTLP
4467

0 commit comments

Comments
 (0)