-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Expand file tree
/
Copy pathcompose.profiling.yaml
More file actions
37 lines (34 loc) · 1021 Bytes
/
Copy pathcompose.profiling.yaml
File metadata and controls
37 lines (34 loc) · 1021 Bytes
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
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0
networks:
default:
name: opentelemetry-demo
driver: bridge
services:
otel-ebpf-profiler:
image: otel/opentelemetry-collector-ebpf-profiler:0.151.0
container_name: otel-ebpf-profiler
command:
- --config=/etc/ebpf-profiler-config.yaml
- --feature-gates=service.profilesSupport
privileged: true
pid: "host"
environment:
- OTEL_COLLECTOR_HOST
- OTEL_COLLECTOR_PORT_GRPC
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./src/otel-collector/otelcol-ebpf-profiling.yml:/etc/ebpf-profiler-config.yaml:ro
- /sys/kernel/debug:/sys/kernel/debug
- /sys/kernel/tracing:/sys/kernel/tracing
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /proc:/proc:ro
depends_on:
- otel-collector
firepit:
image: ghcr.io/florianl/firepit:df1dcbe
container_name: firepit
ports:
- "${FIREPIT_PORT}"
environment:
- BASE_PATH=/profiles