Skip to content

Commit b5346ff

Browse files
authored
4755 – Add otel-collector to docker compose (#95)
We use Honeycomb+otel for our observability, unfortunately otel does not provide a metrics client for Ruby. In order to send metrics to Honeycomb we instrumented Pender with the prometheus ruby-client, and used otel-collector to scrape the Prometheus endpoint and send those metrics to Honeycomb. I added the bare minimum configuration for it to work on Pender's side (PR here: meedan/pender#456). There are features that might be interesting, but I think we could add those as we add the metrics and understand what makes sense for us. Depending on what features we decide to use, we might need to update this file. Resources - https://docs.honeycomb.io/integrations/metrics/prometheus/ - https://opentelemetry.io/docs/collector/installation/ References: 4755, 4396 PR: 95
1 parent d90c063 commit b5346ff

File tree

2 files changed

+27
-16
lines changed

2 files changed

+27
-16
lines changed

docker-compose.yml

+11
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,17 @@ services:
154154
SERVER_PORT: 3200
155155
networks:
156156
- dev
157+
# otel-collector:
158+
# image: otel/opentelemetry-collector-contrib
159+
# volumes:
160+
# - ./pender/config/otel-collector-config.yaml:/etc/otelcol-contrib/config.yaml
161+
# depends_on:
162+
# - pender
163+
# environment:
164+
# RAILS_ENV: development
165+
# SERVER_PORT: 3200
166+
# networks:
167+
# - dev
157168
web:
158169
build: check-web
159170
platform: linux/x86_64

test/image_names.txt

+16-16
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
check_alegre
2-
check_api
3-
check_api-background
4-
check_bots
5-
check_elasticsearch
6-
check_mark
7-
check_narcissus
8-
check_pender
9-
check_pender-background
10-
check_postgres
11-
check_presto-audio
12-
check_presto-image
13-
check_presto-server
14-
check_presto-video
15-
check_queue_worker
16-
check_web
1+
check-alegre
2+
check-api
3+
check-api-background
4+
check-bots
5+
check-elasticsearch
6+
check-mark
7+
check-narcissus
8+
check-pender
9+
check-pender-background
10+
check-postgres
11+
check-presto-audio
12+
check-presto-image
13+
check-presto-server
14+
check-presto-video
15+
check-queue_worker
16+
check-web
1717
docker.elastic.co/kibana/kibana:7.9.2
1818
minio/minio
1919
redis:6.2

0 commit comments

Comments
 (0)