monitoring: add jaeger tracing all-in-one

This commit is contained in:
Iurii Tatishchev 2023-11-04 12:13:41 -07:00
parent 3d1a509681
commit 50ca5d6d0d
Signed by: CaZzzer
GPG Key ID: 9A156B7DA6398968
5 changed files with 35 additions and 1 deletions

3
.idea/jsonSchemas.xml generated
View File

@ -71,6 +71,9 @@
<Item>
<option name="path" value="file://$APPLICATION_CONFIG_DIR$/scratches/scratch_1.yml" />
</Item>
<Item>
<option name="path" value="file:///run/user/1000/kio-fuse-kipURF/sftp/root@debbi.lab.home/mnt/dock/traefik/rules/hello-world.yml" />
</Item>
</list>
</option>
</SchemaInfo>

View File

@ -78,3 +78,13 @@ services:
- traefik_traefik
volumes:
- {{ base_volume_path }}/monitoring/influxdb:/var/lib/influxdb2
jaeger:
image: jaegertracing/all-in-one:1
container_name: jaeger
restart: unless-stopped
ports:
- 5778:5778
- 6831:6831/udp
volumes:
- {{ base_volume_path }}/monitoring/jaeger:/jaeger

View File

@ -27,3 +27,20 @@ datasources:
secureJsonData:
token: {{ influxdb_admin_token }}
editable: false
- name: Jaeger
type: jaeger
access: proxy
uid: jaeger
url: http://jaeger:16686
editable: false
jsonData:
tracesToLogsV2:
datasourceUid: loki
spanStartTimeShift: 1h
spanEndTimeShift: -1h
tags: []
filterByTraceID: false
filterBySpanID: false
customQuery: true
query: '{container_name=~".*$${__span.tags["traefik.service.name"]}.*"}'

View File

@ -13,7 +13,7 @@ networks:
services:
traefik:
image: traefik:v2.9
image: traefik:v2.10
container_name: traefik
restart: unless-stopped
env_file:

View File

@ -25,6 +25,10 @@ metrics:
prometheus:
entryPoint: metrics
tracing:
jaeger:
samplingServerURL: http://localhost:5778/sampling
certificatesResolvers:
letsencrypt:
acme: