Skip to content

Commit

Permalink
source SPLUNK_LISTEN_INTERFACE on all host endpoints (#4065)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmfitzpatrick authored Dec 12, 2023
1 parent 6475dda commit 8264659
Show file tree
Hide file tree
Showing 3 changed files with 340 additions and 312 deletions.
2 changes: 1 addition & 1 deletion cmd/otelcol/config/collector/agent_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ extensions:

receivers:
fluentforward:
endpoint: 127.0.0.1:8006
endpoint: "${SPLUNK_LISTEN_INTERFACE}:8006"
hostmetrics:
collection_interval: 10s
scrapers:
Expand Down
2 changes: 1 addition & 1 deletion cmd/otelcol/config/collector/gateway_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ receivers:
- job_name: 'otel-collector'
scrape_interval: 10s
static_configs:
- targets: ['0.0.0.0:8888']
- targets: ['${SPLUNK_LISTEN_INTERFACE}:8888']
metric_relabel_configs:
- source_labels: [ __name__ ]
regex: '.*grpc_io.*'
Expand Down
Loading

0 comments on commit 8264659

Please sign in to comment.