File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,4 +36,4 @@ service:
3636 metrics :
3737 receivers : [otlp]
3838 processors : [batch]
39- exporters : [prometheus]
39+ exporters : [prometheus, debug ]
Original file line number Diff line number Diff line change @@ -7,8 +7,12 @@ scrape_configs:
77 static_configs :
88 - targets : ['localhost:9090']
99
10- # Scrape configuration for the otel-collector - commented out until we configure a metrics endpoint
11- # - job_name: 'otel-collector'
12- # metrics_path: '/metrics'
13- # static_configs:
14- # - targets: ['otel-collector:8888']
10+ # Scrape configuration for the OpenTelemetry Collector's Prometheus exporter
11+ - job_name : ' otel-metrics'
12+ scrape_interval : 5s
13+ static_configs :
14+ - targets : ['otel-collector:8889']
15+ metric_relabel_configs :
16+ - source_labels : [__name__]
17+ regex : ' fdb_.*'
18+ action : keep
You can’t perform that action at this time.
0 commit comments