Skip to content

Commit b5dbefd

Browse files
authored
enable Pyroscope UI in Grafana (#2152)
1 parent b4310af commit b5dbefd

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

framework/.changeset/v0.10.29.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Enable Pyroscope UI in Grafana, update Pyroscope version

framework/observability/compose/conf/provisioning/datasources/loki.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,11 @@ datasources:
7979
sslmode: disable
8080
isDefault: false
8181
editable: true
82+
83+
- name: Pyroscope
84+
type: grafana-pyroscope-datasource
85+
access: proxy
86+
url: http://pyroscope:4040
87+
isDefault: false
88+
version: 1
89+
editable: true

framework/observability/compose/docker-compose.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ services:
6363

6464
grafana:
6565
image: grafana/grafana:10.1.0
66+
environment:
67+
- GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=grafana-pyroscope-app
6668
volumes:
6769
- grafana_data:/var/lib/grafana
6870
- grafana_home:/usr/share/grafana
@@ -84,11 +86,13 @@ services:
8486
- loki
8587

8688
pyroscope:
87-
image: 'grafana/pyroscope:1.13.4'
89+
image: 'grafana/pyroscope:1.14.1'
8890
ports:
8991
- '4040:4040'
9092
command:
9193
- 'server'
94+
volumes:
95+
- pyroscope-storage:/var/lib/pyroscope
9296

9397
postgres_exporter_0:
9498
image: prometheuscommunity/postgres-exporter:v0.17.1
@@ -142,6 +146,7 @@ volumes:
142146
grafana_logs:
143147
grafana_plugins:
144148
tempo_data:
149+
pyroscope-storage:
145150

146151
networks:
147152
default:

0 commit comments

Comments
 (0)