-
Notifications
You must be signed in to change notification settings - Fork 67
/
compose.yaml
117 lines (117 loc) · 3.73 KB
/
compose.yaml
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
services:
dotnet:
build: dotnet
environment:
- OTEL_SERVICE_NAME=getting-started-dotnet
# No need to set service.instance.id because otel dot net generates random UUID
#- OTEL_RESOURCE_ATTRIBUTES=service.instance.id=123
- OTEL_EXPORTER_OTLP_ENDPOINT
- OTEL_EXPORTER_OTLP_HEADERS
- OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT
- OTEL_EXPORTER_OTLP_COMPRESSION
- OTEL_EXPORTER_OTLP_PROTOCOL
- OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE
ports:
- 8080
go:
build: go
environment:
- OTEL_SERVICE_NAME=getting-started-go
- OTEL_RESOURCE_ATTRIBUTES=service.instance.id=123
- OTEL_EXPORTER_OTLP_ENDPOINT
- OTEL_EXPORTER_OTLP_HEADERS
- OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT
- OTEL_EXPORTER_OTLP_COMPRESSION
- OTEL_EXPORTER_OTLP_PROTOCOL
- OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE
ports:
- 8080
java:
build: java
environment:
- OTEL_SERVICE_NAME=getting-started-java
# No need to set service.instance.id because otel java agent generates random UUID
# - OTEL_RESOURCE_ATTRIBUTES=service.instance.id=123
- OTEL_EXPERIMENTAL_EXPORTER_OTLP_RETRY_ENABLED=true
- OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION=BASE2_EXPONENTIAL_BUCKET_HISTOGRAM
- OTEL_EXPERIMENTAL_RESOURCE_DISABLED_KEYS=process.command_args
- OTEL_EXPORTER_OTLP_ENDPOINT
- OTEL_EXPORTER_OTLP_HEADERS
- OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT
- OTEL_EXPORTER_OTLP_COMPRESSION
- OTEL_EXPORTER_OTLP_PROTOCOL
- OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE
ports:
- 8080
javascript:
build: javascript
environment:
- OTEL_SERVICE_NAME=getting-started-javascript
- OTEL_RESOURCE_ATTRIBUTES=service.instance.id=123
- OTEL_EXPORTER_OTLP_ENDPOINT
- OTEL_EXPORTER_OTLP_HEADERS
- OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT
- OTEL_EXPORTER_OTLP_COMPRESSION
- OTEL_EXPORTER_OTLP_PROTOCOL
- OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE
ports:
- 8080
python:
build: python
environment:
- OTEL_SERVICE_NAME=getting-started-python
- OTEL_RESOURCE_ATTRIBUTES=service.instance.id=123
- OTEL_EXPORTER_OTLP_ENDPOINT
- OTEL_EXPORTER_OTLP_HEADERS
- OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT
- OTEL_EXPORTER_OTLP_COMPRESSION
- OTEL_EXPORTER_OTLP_PROTOCOL
- OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE
ports:
- 8080
ruby:
build: ruby
environment:
- OTEL_SERVICE_NAME=getting-started-ruby
- OTEL_RESOURCE_ATTRIBUTES=service.instance.id=123
- OTEL_EXPORTER_OTLP_ENDPOINT
- OTEL_EXPORTER_OTLP_HEADERS
- OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT
- OTEL_EXPORTER_OTLP_COMPRESSION
- OTEL_EXPORTER_OTLP_PROTOCOL
# Ruby doesn't support metrics yet
# - OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE
ports:
- 8080
rust:
build: rust
environment:
- OTEL_SERVICE_NAME=getting-started-rust
- OTEL_RESOURCE_ATTRIBUTES=service.instance.id=123
- OTEL_EXPORTER_OTLP_ENDPOINT
- OTEL_EXPORTER_OTLP_HEADERS
- OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT
- OTEL_EXPORTER_OTLP_COMPRESSION
- OTEL_EXPORTER_OTLP_PROTOCOL
- OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE
ports:
- 8080
envoy:
image: envoyproxy/envoy:v1.29.4
ports:
- "8080:8080"
volumes:
- ./supporting-files/envoy.yaml:/etc/envoy/envoy.yaml
loadgenerator:
image: python:3.12.3
command: ["python", "/loadgenerator.py"]
volumes:
- ./supporting-files/loadgenerator.py:/loadgenerator.py
depends_on:
- dotnet
- go
- java
- javascript
- python
- ruby
- rust