Skip to content

Commit

Permalink
Remove prometheus scrape from default config
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerHelmuth committed Mar 22, 2024
1 parent fe256bb commit 4ff7f11
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions distributions/otelcol-k8s/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,6 @@ receivers:
http:
endpoint: 0.0.0.0:4318

# Collect own metrics
prometheus:
config:
scrape_configs:
- job_name: 'otel-collector'
scrape_interval: 10s
static_configs:
- targets: ['0.0.0.0:8888']

processors:
memory_limiter:
batch:
Expand All @@ -37,7 +28,7 @@ service:
processors: [memory_limiter, batch]
exporters: [debug]
metrics:
receivers: [otlp, prometheus]
receivers: [otlp]
processors: [memory_limiter, batch]
exporters: [debug]
logs:
Expand Down

0 comments on commit 4ff7f11

Please sign in to comment.