Skip to content

Commit fdad7fa

Browse files
OTEL: hostname handling (#155)
Adjusted/Added keep-hostname() for opentelemetry
2 parents 1898ff6 + 6715e62 commit fdad7fa

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

doc/_admin-guide/060_Sources/102_OpenTelemetry/000_opentelemetry_source_options.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ destination {
7171

7272
*Description:* This option configures the upper limit of in-flight gRPC requests per worker. It is advisd to set this value in the range of 10s or 100s when there are a high number of clients sending simultaneously. In an optimzed solution, the number of `workers()` and `concurrent-requests()` is greater than or equal to the number of clients. However, this can cause an increase in memory usage.
7373

74+
## keep-hostname()
75+
76+
The `syslog-ng-otlp()` and `opentelemetry()` sources ignore this option and use the hostname from the message as the `${HOST}`.
77+
7478
## log-fetch-limit()
7579

7680
| Type:| number|

doc/_admin-guide/060_Sources/175_syslog-otlp/000_otlp_source_options.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,9 @@ source {
129129

130130
{% include doc/admin-guide/options/host-override.md %}
131131

132-
{% include doc/admin-guide/options/keep-hostname.md %}
132+
## keep-hostname()
133+
134+
The `syslog-ng-otlp()` and `opentelemetry()` sources ignore this option and use the hostname from the message as the `${HOST}`.
133135

134136
{% include doc/admin-guide/options/keep-timestamp.md %}
135137

0 commit comments

Comments
 (0)