forked from ory/hydra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
quickstart-tracing.yml
63 lines (60 loc) · 2.55 KB
/
quickstart-tracing.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
###########################################################################
####### FOR DEMONSTRATION PURPOSES ONLY #######
###########################################################################
# #
# If you have not yet read the tutorial, do so now: #
# https://www.ory.sh/docs/hydra/5min-tutorial #
# #
# This set up is only for demonstration purposes. The login #
# endpoint can only be used if you follow the steps in the tutorial. #
# #
###########################################################################
version: "3.7"
services:
hydra:
depends_on:
- jaeger
# - zipkin
# - datadog
environment:
# - TRACING_SERVICE_NAME="Ory Hydra"
- TRACING_PROVIDER=jaeger
# - TRACING_PROVIDER=zipkin
# - TRACING_PROVIDER=datadog
# - TRACING_PROVIDER=elastic-apm
### Jaeger ###
- TRACING_PROVIDERS_JAEGER_SAMPLING_SERVER_URL=http://jaeger:5778/sampling
- TRACING_PROVIDERS_JAEGER_LOCAL_AGENT_ADDRESS=jaeger:6831
- TRACING_PROVIDERS_JAEGER_SAMPLING_TYPE=const
- TRACING_PROVIDERS_JAEGER_SAMPLING_VALUE=1
### Zipkin ###
# - TRACING_PROVIDERS_ZIPKIN_SERVER_URL=http://zipkin:9411/api/v2/spans
### DataDog ###
### See env vars here: https://docs.datadoghq.com/tracing/setup/go/#configuration) ###
# - DD_SERVICE=Hydra
### Elastic APM ###
### See env vars here: https://www.elastic.co/guide/en/apm/agent/go/1.x/configuration.html) ###
# - ELASTIC_APM_SERVER_URL="http://apm-server:8200"
# - ELASTIC_APM_SERVICE_NAME="Ory Hydra"
# - ELASTIC_APM_SERVICE_VERSION="1.9.0"
# - ELASTIC_APM_ENVIRONMENT="devel"
### Opentelemetry ###
### See env vars here: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/sdk-environment-variables.md ###
jaeger:
image: jaegertracing/all-in-one:1.19.2
ports:
- "16686:16686" # The UI port
networks:
- intranet
# zipkin:
# image: openzipkin/zipkin:2
# environment:
# - STORAGE_TYPE=mem
# ports:
# - "9411:9411" # The UI/API port
# datadog:
# image: datadog/agent:7
# environment:
# - DD_API_KEY=<YOUR_API_KEY> # Replace it with your DataDog API key
# - DD_APM_ENABLED=true
# - DD_APM_NON_LOCAL_TRAFFIC=true