monitoring: add jaeger tracing all-in-one
This commit is contained in:
parent
3d1a509681
commit
50ca5d6d0d
3
.idea/jsonSchemas.xml
generated
3
.idea/jsonSchemas.xml
generated
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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"]}.*"}'
|
||||
|
@ -13,7 +13,7 @@ networks:
|
||||
|
||||
services:
|
||||
traefik:
|
||||
image: traefik:v2.9
|
||||
image: traefik:v2.10
|
||||
container_name: traefik
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
|
@ -25,6 +25,10 @@ metrics:
|
||||
prometheus:
|
||||
entryPoint: metrics
|
||||
|
||||
tracing:
|
||||
jaeger:
|
||||
samplingServerURL: http://localhost:5778/sampling
|
||||
|
||||
certificatesResolvers:
|
||||
letsencrypt:
|
||||
acme:
|
||||
|
Loading…
x
Reference in New Issue
Block a user