1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/otel-exporters-otlp-http-exporter.adoc

37 lines
1.1 KiB
Plaintext

// Module included in the following assemblies:
//
// * observability/otel/otel-collector/otel-collector-exporters.adoc
:_mod-docs-content-type: REFERENCE
[id="otel-exporters-otlp-http-exporter_{context}"]
= OTLP HTTP Exporter
[role="_abstract"]
The OTLP HTTP Exporter exports traces and metrics by using the OpenTelemetry protocol (OTLP).
.OpenTelemetry Collector custom resource with the enabled OTLP Exporter
[source,yaml]
----
# ...
config:
exporters:
otlphttp:
endpoint: http://tempo-ingester:4318 # <1>
tls: # <2>
headers: # <3>
X-Scope-OrgID: "dev"
disable_keep_alives: false <4>
service:
pipelines:
traces:
exporters: [otlphttp]
metrics:
exporters: [otlphttp]
# ...
----
<1> The OTLP HTTP endpoint. If the `+https://+` scheme is used, then client transport security is enabled and overrides the `insecure` setting in the `tls`.
<2> The client side TLS configuration. Defines paths to TLS certificates.
<3> Headers are sent in every HTTP request.
<4> If true, disables HTTP keep-alives. It will only use the connection to the server for a single HTTP request.