Skip to content

Commit 5192395

Browse files
authored
Merge pull request #1612 from StackVista/fix-collector-config
Fix collector config for nop receier
2 parents 8f67397 + a0d7882 commit 5192395

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

setup/otel/getting-started/getting-started-k8s.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ presets:
7070
# This is the config file for the collector:
7171
config:
7272
receivers:
73-
nop: {}
7473
otlp:
7574
protocols:
7675
grpc:
@@ -126,7 +125,7 @@ config:
126125
processors: [memory_limiter, resource, batch]
127126
exporters: [debug, otlp/suse-observability]
128127
logs:
129-
receivers: [nop]
128+
receivers: [otlp]
130129
processors: []
131130
exporters: [nop]
132131
```

setup/otel/getting-started/getting-started-linux.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ After installation modify the collector configuration by editing `/etc/otelcol-c
6767
{% code title="config.yaml" lineNumbers="true" %}
6868
```yaml
6969
receivers:
70-
nop: {}
7170
otlp:
7271
protocols:
7372
# Only bind to localhost to keep the collector secure, see https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/security-best-practices.md#safeguards-against-denial-of-service-attacks
@@ -130,7 +129,7 @@ service:
130129
processors: [memory_limiter, batch, resourcedetection/system]
131130
exporters: [debug, otlp/suse-observability]
132131
logs:
133-
receivers: [nop]
132+
receivers: [otlp]
134133
processors: []
135134
exporters: [nop]
136135
```

0 commit comments

Comments
 (0)