File tree Expand file tree Collapse file tree 4 files changed +38
-9
lines changed
Expand file tree Collapse file tree 4 files changed +38
-9
lines changed Original file line number Diff line number Diff line change @@ -132,13 +132,13 @@ pprof:
132132observability :
133133 metrics :
134134 enable : true # Enable or disable metrics collection.
135- endpoint : " 0.0.0.0 :4317" # Endpoint for metrics collector.
135+ endpoint : " localhost :4317" # Endpoint for metrics collector.
136136 exportInterval : 15s # Interval to export metrics data.
137137 useTLS : false # Set this to false to disable TLS.
138138
139139 tracing :
140140 enable : true # Enable or disable tracing.
141- endpoint : " 0.0.0.0 :4317" # Endpoint for tracing collector.
141+ endpoint : " localhost :4317" # Endpoint for tracing collector.
142142 headers : {} # Additional headers for tracing requests.
143143 sampler : " always_on" # Options: always_on, probability.
144144 samplingRate : 0.1 # Sampling rate for probabilistic sampling.
Original file line number Diff line number Diff line change @@ -2,16 +2,38 @@ receivers:
22 otlp :
33 protocols :
44 grpc :
5+ endpoint : 0.0.0.0:4317
56 http :
7+ endpoint : 0.0.0.0:4318
8+
9+ extensions :
10+ health_check :
11+ endpoint : 0.0.0.0:13133
12+ pprof :
13+ zpages :
614
715exporters :
816 otlp :
9- endpoint : " http:// jaeger:4317 "
17+ endpoint : " jaeger:14250 "
1018 tls :
1119 insecure : true
20+ prometheus :
21+ endpoint : " 0.0.0.0:8889"
22+ namespace : " fdb"
23+ debug :
24+ verbosity : detailed
25+
26+ processors :
27+ batch :
1228
1329service :
30+ extensions : [health_check, pprof, zpages]
1431 pipelines :
1532 traces :
1633 receivers : [otlp]
17- exporters : [otlp]
34+ processors : [batch]
35+ exporters : [otlp, debug]
36+ metrics :
37+ receivers : [otlp]
38+ processors : [batch]
39+ exporters : [prometheus]
Original file line number Diff line number Diff line change 22 scrape_interval : 15s
33
44scrape_configs :
5- - job_name : ' otel-collector'
5+ # Self-scraping for Prometheus itself
6+ - job_name : ' prometheus'
67 static_configs :
7- - targets : ['otel-collector:55680']
8+ - targets : ['localhost:9090']
9+
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']
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ services:
3030 ports :
3131 - " 4317:4317" # OTLP gRPC receiver
3232 - " 4318:4318" # OTLP HTTP receiver
33- - " 55680:55680 " # OpenTelemetry protocol receiver
33+ - " 13133:13133 " # Health check endpoint
3434 command : ["--config=/etc/otel-collector-config.yaml"]
3535 volumes :
3636 - ./deployments/otel-collector-config.yaml:/etc/otel-collector-config.yaml # Mounting custom config for OpenTelemetry collector
@@ -60,9 +60,9 @@ services:
6060 ports :
6161 - " 9690:9090"
6262 volumes :
63- - ./deployments/prometheus.yml :/etc/prometheus/prometheus.yaml
63+ - ./deployments/prometheus.yaml :/etc/prometheus/prometheus.yml
6464 command :
65- - ' --config.file=/etc/prometheus/prometheus.yaml '
65+ - ' --config.file=/etc/prometheus/prometheus.yml '
6666
6767volumes :
6868 grafana-storage :
You can’t perform that action at this time.
0 commit comments