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: modules/otel-collector-components.adoc
+117-3Lines changed: 117 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ Receivers get data into the Collector.
14
14
[id="otlp-receiver_{context}"]
15
15
=== OTLP Receiver
16
16
17
-
The OTLP receiver ingests tracesand metrics using the OpenTelemetry protocol (OTLP).
17
+
The OTLP receiver ingests traces, metrics, and logs by using the OpenTelemetry Protocol (OTLP).
18
18
19
19
.OpenTelemetry Collector custom resource with an enabled OTLP receiver
20
20
[source,yaml]
@@ -43,9 +43,9 @@ The OTLP receiver ingests traces and metrics using the OpenTelemetry protocol (O
43
43
receivers: [otlp]
44
44
----
45
45
<1> The OTLP gRPC endpoint. If omitted, the default `+0.0.0.0:4317+` is used.
46
-
<2> The server-side TLS configuration. Defines paths to TLS certificates. If omitted, TLS is disabled.
46
+
<2> The server-side TLS configuration. Defines paths to TLS certificates. If omitted, the TLS is disabled.
47
47
<3> The path to the TLS certificate at which the server verifies a client certificate. This sets the value of `ClientCAs` and `ClientAuth` to `RequireAndVerifyClientCert` in the `TLSConfig`. For more information, see the link:https://godoc.org/crypto/tls#Config[`Config` of the Golang TLS package].
48
-
<4> Specifies the time interval at which the certificate is reloaded. If the value is not set, the certificate is never reloaded. The `reload_interval` accepts a string containing valid units of time such as `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`.
48
+
<4> Specifies the time interval at which the certificate is reloaded. If the value is not set, the certificate is never reloaded. The `reload_interval` field accepts a string containing valid units of time such as `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`.
49
49
<5> The OTLP HTTP endpoint. The default value is `+0.0.0.0:4318+`.
50
50
<6> The server-side TLS configuration. For more information, see the `grpc` protocol configuration section.
51
51
@@ -590,6 +590,120 @@ receivers:
590
590
<1> A list of file glob patterns that match the file paths to be read.
591
591
<2> An array of Operators. Each Operator performs a simple task such as parsing a timestamp or JSON. To process logs into a desired format, chain the Operators together.
592
592
593
+
[id="journald-receiver_{context}"]
594
+
=== Journald Receiver
595
+
596
+
:FeatureName: The Journald Receiver
597
+
include::snippets/technology-preview.adoc[]
598
+
599
+
The Journald Receiver parses *journald* events from the *systemd* journal and sends them as logs.
600
+
601
+
.OpenTelemetry Collector custom resource with the enabled Journald Receiver
<1> Filters output by message priorities or priority ranges. The default value is `info`.
700
+
<2> Lists the units to read entries from. If empty, entries are read from all units.
701
+
<3> Includes very long logs and logs with unprintable characters. The default value is `false`.
702
+
<4> If set to `true`, the receiver pauses reading a file and attempts to resend the current batch of logs when encountering an error from downstream components. The default value is `false`.
703
+
<5> The time interval to wait after the first failure before retrying. The default value is `1s`. The units are `ms`, `s`, `m`, `h`.
704
+
<6> The upper bound for the retry backoff interval. When this value is reached, the time interval between consecutive retry attempts remains constant at this value. The default value is `30s`. The supported units are `ms`, `s`, `m`, `h`.
705
+
<7> The maximum time interval, including retry attempts, for attempting to send a logs batch to a downstream consumer. When this value is reached, the data are discarded. If the set value is `0`, retrying never stops. The default value is `5m`. The supported units are `ms`, `s`, `m`, `h`.
0 commit comments