Skip to content

Commit c6cf526

Browse files
authored
[cds-977] add pprof to default otel config (#112)
* change log * added pprof extension * add pprof to extension
1 parent 6dbe155 commit c6cf526

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

opentelemetry/ecs-ec2/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
<!-- ### version / full date -->
66
<!-- * [Update/Bug fix] message that describes the changes that you apply -->
77

8+
### 0.0.5 / 2024-01-15
9+
- Added pprof extension to default ecs-ec2 otel configuration
10+
811
### 0.0.5 / 2023-10-25
912
* Added Healthcheck to default ecs-ec2 configuration
1013
* Remove default image for otel ecs-ec2 template

opentelemetry/ecs-ec2/template.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,12 @@ Mappings:
165165
166166
extensions:
167167
health_check:
168+
pprof:
168169
169170
service:
170171
extensions:
171172
- health_check
173+
- pprof
172174
173175
pipelines:
174176
logs:
@@ -282,10 +284,12 @@ Mappings:
282284
283285
extensions:
284286
health_check:
287+
pprof:
285288
286289
service:
287290
extensions:
288291
- health_check
292+
- pprof
289293
pipelines:
290294
logs:
291295
receivers:
@@ -378,18 +382,26 @@ Resources:
378382
Essential: true
379383

380384
PortMappings:
385+
# otel grpc endpoint
381386
- HostPort: 4317
382387
Protocol: tcp
383388
ContainerPort: 4317
384389

390+
# otel http endpoint
385391
- HostPort: 4318
386392
Protocol: tcp
387393
ContainerPort: 4318
388394

395+
# otel metrics endpoint
389396
- HostPort: 8888
390397
Protocol: tcp
391398
ContainerPort: 8888
392399

400+
# pprof extension default port
401+
- HostPort: 1777
402+
Protocol: tcp
403+
ContainerPort: 1777
404+
393405
# Privileged required to access certain host metrics
394406
Privileged: true
395407

0 commit comments

Comments
 (0)