File tree Expand file tree Collapse file tree 3 files changed +37
-1
lines changed Expand file tree Collapse file tree 3 files changed +37
-1
lines changed Original file line number Diff line number Diff line change @@ -26,4 +26,5 @@ config/cookies.txt
26
26
coverage
27
27
.idea
28
28
.byebug_history
29
- * .env
29
+ * .env
30
+ otel-collector-config.yaml
Original file line number Diff line number Diff line change
1
+ receivers:
2
+ prometheus:
3
+ config:
4
+ scrape_configs:
5
+ - job_name: "prometheus"
6
+ scrape_interval: 15s
7
+ static_configs:
8
+ - targets: ["pender:3200"]
9
+
10
+ processors:
11
+ batch:
12
+
13
+ exporters:
14
+ otlp/metrics:
15
+ endpoint: "api.honeycomb.io:443" # US instance
16
+ #endpoint: "api.eu1.honeycomb.io:443" # EU instance
17
+ headers:
18
+ "x-honeycomb-team": "<Honeycomb API KEY>"
19
+ "x-honeycomb-dataset": "pender"
20
+
21
+ service:
22
+ # telemetry:
23
+ # logs:
24
+ # level: "debug"
25
+ pipelines:
26
+ metrics:
27
+ receivers: [prometheus]
28
+ processors: []
29
+ exporters: [otlp/metrics]
Original file line number Diff line number Diff line change @@ -57,3 +57,9 @@ services:
57
57
environment :
58
58
RAILS_ENV : development
59
59
SERVER_PORT : 3200
60
+ otel-collector :
61
+ image : otel/opentelemetry-collector-contrib
62
+ volumes :
63
+ - ./config/otel-collector-config.yaml:/etc/otelcol-contrib/config.yaml
64
+ depends_on :
65
+ - pender
You can’t perform that action at this time.
0 commit comments