forked from TrueCloudLab/frostfs-dev-env
grafana: Add pyroscope dashboard
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
845b0c6480
commit
933bca7beb
2 changed files with 154 additions and 0 deletions
148
services/grafana/provisioning/dashboards/pprof.json
Normal file
148
services/grafana/provisioning/dashboards/pprof.json
Normal file
|
@ -0,0 +1,148 @@
|
|||
{
|
||||
"annotations": {
|
||||
"list": [
|
||||
{
|
||||
"builtIn": 1,
|
||||
"datasource": {
|
||||
"type": "grafana",
|
||||
"uid": "-- Grafana --"
|
||||
},
|
||||
"enable": true,
|
||||
"hide": true,
|
||||
"iconColor": "rgba(0, 211, 255, 1)",
|
||||
"name": "Annotations & Alerts",
|
||||
"type": "dashboard"
|
||||
}
|
||||
]
|
||||
},
|
||||
"editable": true,
|
||||
"fiscalYearStartMonth": 0,
|
||||
"graphTooltip": 0,
|
||||
"id": 10,
|
||||
"links": [],
|
||||
"liveNow": false,
|
||||
"panels": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "phlare",
|
||||
"uid": "P02E4190217B50628"
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 8,
|
||||
"w": 12,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"id": 2,
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "phlare",
|
||||
"uid": "P02E4190217B50628"
|
||||
},
|
||||
"groupBy": [],
|
||||
"labelSelector": "{instance=\"${_instance}\"}",
|
||||
"profileTypeId": "memory:inuse_space:bytes:space:bytes",
|
||||
"queryType": "profile",
|
||||
"refId": "A"
|
||||
}
|
||||
],
|
||||
"title": "Inuse objects",
|
||||
"type": "flamegraph"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "phlare",
|
||||
"uid": "P02E4190217B50628"
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 16,
|
||||
"w": 12,
|
||||
"x": 0,
|
||||
"y": 8
|
||||
},
|
||||
"id": 1,
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "phlare",
|
||||
"uid": "P02E4190217B50628"
|
||||
},
|
||||
"groupBy": [],
|
||||
"labelSelector": "{instance=\"${_instance}\"}",
|
||||
"profileTypeId": "process_cpu:cpu:nanoseconds:cpu:nanoseconds",
|
||||
"queryType": "profile",
|
||||
"refId": "A"
|
||||
}
|
||||
],
|
||||
"title": "CPU",
|
||||
"type": "flamegraph"
|
||||
}
|
||||
],
|
||||
"refresh": "",
|
||||
"schemaVersion": 38,
|
||||
"style": "dark",
|
||||
"tags": [],
|
||||
"templating": {
|
||||
"list": [
|
||||
{
|
||||
"current": {
|
||||
"selected": true,
|
||||
"text": "morph_chain:20011",
|
||||
"value": "morph_chain:20011"
|
||||
},
|
||||
"hide": 0,
|
||||
"includeAll": false,
|
||||
"label": "Instance",
|
||||
"multi": false,
|
||||
"name": "_instance",
|
||||
"options": [
|
||||
{
|
||||
"selected": false,
|
||||
"text": "s01:6060",
|
||||
"value": "s01:6060"
|
||||
},
|
||||
{
|
||||
"selected": false,
|
||||
"text": "s02:6060",
|
||||
"value": "s02:6060"
|
||||
},
|
||||
{
|
||||
"selected": false,
|
||||
"text": "s03:6060",
|
||||
"value": "s03:6060"
|
||||
},
|
||||
{
|
||||
"selected": false,
|
||||
"text": "s04:6060",
|
||||
"value": "s04:6060"
|
||||
},
|
||||
{
|
||||
"selected": false,
|
||||
"text": "s3:6060",
|
||||
"value": "s3:6060"
|
||||
},
|
||||
{
|
||||
"selected": true,
|
||||
"text": "morph_chain:20011",
|
||||
"value": "morph_chain:20011"
|
||||
}
|
||||
],
|
||||
"query": "s01:6060,s02:6060,s03:6060,s04:6060,s3:6060,morph_chain:20011",
|
||||
"queryValue": "",
|
||||
"skipUrlSync": false,
|
||||
"type": "custom"
|
||||
}
|
||||
]
|
||||
},
|
||||
"time": {
|
||||
"from": "now-1h",
|
||||
"to": "now"
|
||||
},
|
||||
"timepicker": {},
|
||||
"timezone": "",
|
||||
"title": "Pprof",
|
||||
"uid": "eba3003c-e846-400c-b7d3-6658eddc28bc",
|
||||
"version": 4,
|
||||
"weekStart": ""
|
||||
}
|
|
@ -6,3 +6,9 @@ datasources:
|
|||
access: proxy
|
||||
orgId: 1
|
||||
url: http://prometheus:9090
|
||||
- name: Pyroscope
|
||||
type: phlare
|
||||
url: http://pyroscope:4100
|
||||
jsonData:
|
||||
minStep: '15s'
|
||||
backendType: 'pyroscope'
|
Loading…
Add table
Reference in a new issue