File tree Expand file tree Collapse file tree 5 files changed +48
-39
lines changed Expand file tree Collapse file tree 5 files changed +48
-39
lines changed Original file line number Diff line number Diff line change 47
47
- [ OpenTelemetry] ( https://opentelemetry.io/ )
48
48
- [ Python / Getting Started] ( https://opentelemetry.io/docs/languages/python/getting-started/ )
49
49
- [ Python / Cookbook] ( https://opentelemetry.io/docs/languages/python/cookbook/ )
50
- - [ OpenTelemetry Collector] ( https://opentelemetry.io//docs/collector/ )
50
+ - [ OpenTelemetry Collector] ( https://opentelemetry.io//docs/collector/ )
51
+ - [ OpenTelemetry Collector / Quick Start] ( https://opentelemetry.io/docs/collector/quick-start/ )
52
+ - [ zPages / Exposed zPages routes] ( https://github.com/open-telemetry/opentelemetry-collector/blob/v0.132.0/extension/zpagesextension/README.md#exposed-zpages-routes )
51
53
- [ Jaeger] ( https://www.jaegertracing.io/ )
52
54
- [ Jaeger / Minimal deployment example (Elasticsearch backend)] ( https://www.jaegertracing.io/docs/1.72/deployment/#minimal-deployment-example-elasticsearch-backend )
53
- - [ OpenTelemetry Collector / Quick Start] ( https://opentelemetry.io/docs/collector/quick-start/ )
55
+ - [ Prometheus] ( https://prometheus.io/ )
56
+ - [ Prometheus / Getting Started] ( https://prometheus.io/docs/prometheus/latest/getting_started/ )
54
57
55
58
### n8n
56
59
Original file line number Diff line number Diff line change
1
+ services :
2
+ prometheus :
3
+ image : prom/prometheus:v3.5.0
4
+ container_name : prometheus
5
+ ports :
6
+ - 9090:9090 # Prometheus UI
7
+ volumes :
8
+ - " ./prometheus.yml:/etc/prometheus/prometheus.yml"
9
+ - " ./assets/prometheus_data:/prometheus"
10
+ jaeger :
11
+ image : jaegertracing/all-in-one:1.72.0
12
+ container_name : jaeger
13
+ ports :
14
+ - 16686:16686 # Jaeger UI
15
+ otel-collector :
16
+ image : otel/opentelemetry-collector-contrib:0.133.0-nightly.6d46fb8
17
+ container_name : otel-collector
18
+ volumes :
19
+ - ./otel-collector-config.yaml:/etc/otelcol-contrib/config.yaml
20
+ ports :
21
+ - 1888:1888 # pprof extension
22
+ - 8888:8888 # Prometheus metrics exposed by the Collector
23
+ - 8889:8889 # Prometheus exporter metrics
24
+ - 13133:13133 # health_check extension
25
+ - 4317:4317 # OTLP gRPC receiver
26
+ - 4318:4318 # OTLP http receiver
27
+ - 55679:55679 # zpages extension
Original file line number Diff line number Diff line change @@ -45,24 +45,25 @@ processors:
45
45
exporters :
46
46
debug :
47
47
verbosity : detailed
48
+ otlp/jaeger :
49
+ endpoint : jaeger:4317
50
+ tls :
51
+ insecure : true
52
+ prometheusremotewrite :
53
+ endpoint : prometheus:8889
48
54
49
55
service :
50
-
51
56
pipelines :
52
-
53
57
traces :
54
58
receivers : [otlp, jaeger, zipkin]
55
59
processors : [batch]
56
- exporters : [debug]
57
-
60
+ exporters : [debug, otlp/jaeger]
58
61
metrics :
59
62
receivers : [otlp, prometheus]
60
63
processors : [batch]
61
- exporters : [debug]
62
-
64
+ exporters : [debug, prometheusremotewrite]
63
65
logs :
64
66
receivers : [otlp]
65
67
processors : [batch]
66
68
exporters : [debug]
67
-
68
69
extensions : [health_check, pprof, zpages]
Original file line number Diff line number Diff line change
1
+ global :
2
+ scrape_interval : 15s
3
+
4
+ scrape_configs :
5
+ - job_name : ' prometheus'
6
+ scrape_interval : 5s
7
+ static_configs :
8
+ - targets : ['localhost:9090']
Original file line number Diff line number Diff line change @@ -31,33 +31,3 @@ services:
31
31
POSTGRES_PASSWORD : password
32
32
POSTGRES_DB : db
33
33
restart : always
34
- jaeger :
35
- image : jaegertracing/all-in-one:1.72.0
36
- container_name : jaeger
37
- environment :
38
- - SPAN_STORAGE_TYPE=elasticsearch
39
- - ES_SERVER_URLS=http://elasticsearch:9200
40
- - LOG_LEVEL=debug
41
- ports :
42
- - " 16686:16686" # to access the Jaeger UI
43
- - " 4317:4317"
44
- - " 4318:4318"
45
- - " 5778:5778"
46
- - " 9411:9411"
47
- depends_on :
48
- - elasticsearch
49
- restart : unless-stopped
50
- # FIXME: disable for now since its port conflicts with jaeger
51
- # otel-collector:
52
- # image: otel/opentelemetry-collector-contrib:latest
53
- # container_name: otel-collector
54
- # volumes:
55
- # - ./otel-collector-config.yaml:/etc/otelcol-contrib/config.yaml
56
- # ports:
57
- # - 1888:1888 # pprof extension
58
- # - 8888:8888 # Prometheus metrics exposed by the Collector
59
- # - 8889:8889 # Prometheus exporter metrics
60
- # - 13133:13133 # health_check extension
61
- # - 4317:4317 # OTLP gRPC receiver
62
- # - 4318:4318 # OTLP http receiver
63
- # - 55679:55679 # zpages extension
You can’t perform that action at this time.
0 commit comments