Phlare: Support both Phlare and Pyroscope backends (#66989)

This commit is contained in:
Andrej Ocenas
2023-04-25 16:08:18 +02:00
committed by GitHub
parent 2f1a08511a
commit 63777ea368
26 changed files with 1249 additions and 496 deletions

View File

@@ -76,6 +76,10 @@ func TestIntegrationPlugins(t *testing.T) {
})
})
//
// NOTE:
// If this test is failing due to changes in plugins just rerun with updateSnapshotFlag = true at the top.
//
t.Run("List", func(t *testing.T) {
testCases := []testCase{
{

View File

@@ -643,6 +643,47 @@
"signatureType": "",
"signatureOrg": ""
},
{
"name": "Grafana Pyroscope",
"type": "datasource",
"id": "phlare",
"enabled": true,
"pinned": false,
"info": {
"author": {
"name": "Grafana Labs",
"url": "https://www.grafana.com"
},
"description": "Supports Phlare and Pyroscope backends, horizontally-scalable, highly-available, multi-tenant continuous profiling aggregation systems.",
"links": [
{
"name": "GitHub Project",
"url": "https://github.com/grafana/phlare"
}
],
"logos": {
"small": "public/app/plugins/datasource/phlare/img/grafana_pyroscope_icon.svg",
"large": "public/app/plugins/datasource/phlare/img/grafana_pyroscope_icon.svg"
},
"build": {},
"screenshots": null,
"version": "",
"updated": ""
},
"dependencies": {
"grafanaDependency": "",
"grafanaVersion": "*",
"plugins": []
},
"latestVersion": "",
"hasUpdate": false,
"defaultNavUrl": "/plugins/phlare/",
"category": "profiling",
"state": "",
"signature": "internal",
"signatureType": "",
"signatureOrg": ""
},
{
"name": "Graph (old)",
"type": "panel",
@@ -1137,7 +1178,8 @@
"signature": "internal",
"signatureType": "",
"signatureOrg": ""
},{
},
{
"name": "Parca",
"type": "datasource",
"id": "parca",
@@ -1149,10 +1191,12 @@
"url": "https://www.grafana.com"
},
"description": "Continuous profiling for analysis of CPU and memory usage, down to the line number and throughout time. Saving infrastructure cost, improving performance, and increasing reliability.",
"links": [{
"name": "GitHub Project",
"url": "https://github.com/parca-dev/parca"
}],
"links": [
{
"name": "GitHub Project",
"url": "https://github.com/parca-dev/parca"
}
],
"logos": {
"small": "public/app/plugins/datasource/parca/img/logo-small.svg",
"large": "public/app/plugins/datasource/parca/img/logo-small.svg"
@@ -1176,45 +1220,6 @@
"signatureType": "",
"signatureOrg": ""
},
{
"name": "Phlare",
"type": "datasource",
"id": "phlare",
"enabled": true,
"pinned": false,
"info": {
"author": {
"name": "Grafana Labs",
"url": "https://www.grafana.com"
},
"description": "Horizontally-scalable, highly-available, multi-tenant continuous profiling aggregation system. OSS profiling solution from Grafana Labs.",
"links": [{
"name": "GitHub Project",
"url": "https://github.com/grafana/phlare"
}],
"logos": {
"small": "public/app/plugins/datasource/phlare/img/phlare_icon_color.svg",
"large": "public/app/plugins/datasource/phlare/img/phlare_icon_color.svg"
},
"build": {},
"screenshots": null,
"version": "",
"updated": ""
},
"dependencies": {
"grafanaDependency": "",
"grafanaVersion": "*",
"plugins": []
},
"latestVersion": "",
"hasUpdate": false,
"defaultNavUrl": "/plugins/phlare/",
"category": "profiling",
"state": "",
"signature": "internal",
"signatureType": "",
"signatureOrg": ""
},
{
"name": "Pie chart",
"type": "panel",
@@ -1806,4 +1811,4 @@
"signatureType": "",
"signatureOrg": ""
}
]
]