Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ services:
- prometheus
- tempo
- loki
- pyroscope

grafana-alloy:
image: grafana/alloy:latest
Expand Down Expand Up @@ -68,5 +69,16 @@ services:
ports:
- 3200:3200

pyroscope:
image: grafana/pyroscope:latest
pull_policy: always
ports:
- "4040:4040"
command:
- 'server'
volumes:
- pyroscope-data:/var/lib/pyroscope

volumes:
grafana-data:
pyroscope-data:
6 changes: 6 additions & 0 deletions docker-compose/grafana-alloy/config.river
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ livedebugging {
enabled = true
}

pyroscope.write "default" {
endpoint {
url = "http://pyroscope:4040"
}
}

otelcol.receiver.otlp "default" {
grpc {
endpoint = "0.0.0.0:4317"
Expand Down
14 changes: 14 additions & 0 deletions docker-compose/grafana/datasources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,17 @@ datasources:
manageAlerts: true
prometheusType: Prometheus
disableRecordingRules: false


- name: Pyroscope
uid: pyroscope_uid
type: grafana-pyroscope-datasource
access: proxy
orgId: 1
url: http://pyroscope:4040
basicAuth: false
isDefault: false
version: 1
editable: false
jsonData:
minStep: '15s'
Loading