mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-02-27 16:16:36 +00:00
Add jaeger to dev docker
This commit is contained in:
parent
81d33a673f
commit
ea41e5531c
3 changed files with 53 additions and 1 deletions
|
@ -24,6 +24,7 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
- pictrs
|
- pictrs
|
||||||
- postgres
|
- postgres
|
||||||
|
- otel
|
||||||
|
|
||||||
lemmy-ui:
|
lemmy-ui:
|
||||||
image: dessalines/lemmy-ui:0.14.3
|
image: dessalines/lemmy-ui:0.14.3
|
||||||
|
@ -49,8 +50,32 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
pictrs:
|
pictrs:
|
||||||
image: asonix/pictrs:v0.2.6-r2
|
image: asonix/pictrs:0.3.0-beta.11
|
||||||
user: 991:991
|
user: 991:991
|
||||||
|
environment:
|
||||||
|
- PICTRS_OPENTELEMETRY_URL=http://otel:4137
|
||||||
volumes:
|
volumes:
|
||||||
- ./volumes/pictrs:/mnt
|
- ./volumes/pictrs:/mnt
|
||||||
restart: always
|
restart: always
|
||||||
|
depends_on:
|
||||||
|
- otel
|
||||||
|
|
||||||
|
otel:
|
||||||
|
image: otel/opentelemetry-collector:latest
|
||||||
|
command: --config otel-local-config.yaml
|
||||||
|
ports:
|
||||||
|
- "4317:4317"
|
||||||
|
volumes:
|
||||||
|
- type: bind
|
||||||
|
source: ./otel.yml
|
||||||
|
target: /otel-local-config.yaml
|
||||||
|
restart: always
|
||||||
|
depends_on:
|
||||||
|
- jaeger
|
||||||
|
|
||||||
|
jaeger:
|
||||||
|
image: jaegertracing/all-in-one:1
|
||||||
|
ports:
|
||||||
|
- "14250:14250"
|
||||||
|
- "16686:16686"
|
||||||
|
restart: always
|
||||||
|
|
25
docker/dev/otel.yml
Normal file
25
docker/dev/otel.yml
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
receivers:
|
||||||
|
otlp:
|
||||||
|
protocols:
|
||||||
|
grpc:
|
||||||
|
endpoint: 0.0.0.0:4137
|
||||||
|
|
||||||
|
processors:
|
||||||
|
batch:
|
||||||
|
|
||||||
|
exporters:
|
||||||
|
logging:
|
||||||
|
jaeger:
|
||||||
|
endpoint: jaeger:14250
|
||||||
|
insecure: true
|
||||||
|
|
||||||
|
service:
|
||||||
|
pipelines:
|
||||||
|
traces:
|
||||||
|
receivers:
|
||||||
|
- otlp
|
||||||
|
processors:
|
||||||
|
- batch
|
||||||
|
exporters:
|
||||||
|
- logging
|
||||||
|
- jaeger
|
|
@ -11,6 +11,8 @@
|
||||||
site_name: "lemmy-test"
|
site_name: "lemmy-test"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
opentelemetry_url: "http://otel:4137"
|
||||||
|
|
||||||
# the domain name of your instance (eg "lemmy.ml")
|
# the domain name of your instance (eg "lemmy.ml")
|
||||||
hostname: "my_domain"
|
hostname: "my_domain"
|
||||||
# address where lemmy should listen for incoming requests
|
# address where lemmy should listen for incoming requests
|
||||||
|
|
Loading…
Reference in a new issue