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>
|
<Item>
|
||||||
<option name="path" value="file://$APPLICATION_CONFIG_DIR$/scratches/scratch_1.yml" />
|
<option name="path" value="file://$APPLICATION_CONFIG_DIR$/scratches/scratch_1.yml" />
|
||||||
</Item>
|
</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>
|
</list>
|
||||||
</option>
|
</option>
|
||||||
</SchemaInfo>
|
</SchemaInfo>
|
||||||
|
@ -78,3 +78,13 @@ services:
|
|||||||
- traefik_traefik
|
- traefik_traefik
|
||||||
volumes:
|
volumes:
|
||||||
- {{ base_volume_path }}/monitoring/influxdb:/var/lib/influxdb2
|
- {{ 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:
|
secureJsonData:
|
||||||
token: {{ influxdb_admin_token }}
|
token: {{ influxdb_admin_token }}
|
||||||
editable: false
|
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:
|
services:
|
||||||
traefik:
|
traefik:
|
||||||
image: traefik:v2.9
|
image: traefik:v2.10
|
||||||
container_name: traefik
|
container_name: traefik
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file:
|
env_file:
|
||||||
|
@ -25,6 +25,10 @@ metrics:
|
|||||||
prometheus:
|
prometheus:
|
||||||
entryPoint: metrics
|
entryPoint: metrics
|
||||||
|
|
||||||
|
tracing:
|
||||||
|
jaeger:
|
||||||
|
samplingServerURL: http://localhost:5778/sampling
|
||||||
|
|
||||||
certificatesResolvers:
|
certificatesResolvers:
|
||||||
letsencrypt:
|
letsencrypt:
|
||||||
acme:
|
acme:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user