Heatmap: Replace the heatmap panel with new implementation (#50229)
This commit is contained in:
@@ -40,7 +40,8 @@ var skipPaths = []string{
|
||||
"public/app/plugins/panel/barchart/models.cue",
|
||||
"public/app/plugins/panel/canvas/models.cue",
|
||||
"public/app/plugins/panel/histogram/models.cue",
|
||||
"public/app/plugins/panel/heatmap-new/models.cue",
|
||||
"public/app/plugins/panel/heatmap/models.cue",
|
||||
"public/app/plugins/panel/heatmap-old/models.cue",
|
||||
"public/app/plugins/panel/candlestick/models.cue",
|
||||
"public/app/plugins/panel/state-timeline/models.cue",
|
||||
"public/app/plugins/panel/status-history/models.cue",
|
||||
|
||||
@@ -120,7 +120,7 @@ func verifyCorePluginCatalogue(t *testing.T, ctx context.Context, pm *PluginMana
|
||||
"gettingstarted": {},
|
||||
"graph": {},
|
||||
"heatmap": {},
|
||||
"heatmap-new": {},
|
||||
"heatmap-old": {},
|
||||
"histogram": {},
|
||||
"icon": {},
|
||||
"live": {},
|
||||
|
||||
@@ -238,6 +238,11 @@ var (
|
||||
State: FeatureStateAlpha,
|
||||
FrontendOnly: true,
|
||||
},
|
||||
{
|
||||
Name: "useLegacyHeatmapPanel",
|
||||
Description: "Continue to use the angular/flot based heatmap panel",
|
||||
State: FeatureStateStable,
|
||||
},
|
||||
{
|
||||
Name: "cloudMonitoringExperimentalUI",
|
||||
Description: "Use grafana-experimental UI in Cloud Monitoring",
|
||||
|
||||
@@ -175,6 +175,10 @@ const (
|
||||
// Allow elements nesting
|
||||
FlagCanvasPanelNesting = "canvasPanelNesting"
|
||||
|
||||
// FlagUseLegacyHeatmapPanel
|
||||
// Continue to use the angular/flot based heatmap panel
|
||||
FlagUseLegacyHeatmapPanel = "useLegacyHeatmapPanel"
|
||||
|
||||
// FlagCloudMonitoringExperimentalUI
|
||||
// Use grafana-experimental UI in Cloud Monitoring
|
||||
FlagCloudMonitoringExperimentalUI = "cloudMonitoringExperimentalUI"
|
||||
|
||||
@@ -628,16 +628,7 @@
|
||||
"url": "https://grafana.com"
|
||||
},
|
||||
"description": "Like a histogram over time",
|
||||
"links": [
|
||||
{
|
||||
"name": "Brendan Gregg - Heatmaps",
|
||||
"url": "http://www.brendangregg.com/heatmaps.html"
|
||||
},
|
||||
{
|
||||
"name": "Brendan Gregg - Latency Heatmaps",
|
||||
"url": " http://www.brendangregg.com/HeatMaps/latency.html"
|
||||
}
|
||||
],
|
||||
"links": null,
|
||||
"logos": {
|
||||
"small": "public/app/plugins/panel/heatmap/img/icn-heatmap-panel.svg",
|
||||
"large": "public/app/plugins/panel/heatmap/img/icn-heatmap-panel.svg"
|
||||
@@ -662,9 +653,9 @@
|
||||
"signatureOrg": ""
|
||||
},
|
||||
{
|
||||
"name": "Heatmap (new)",
|
||||
"name": "Heatmap (legacy)",
|
||||
"type": "panel",
|
||||
"id": "heatmap-new",
|
||||
"id": "heatmap-old",
|
||||
"enabled": true,
|
||||
"pinned": false,
|
||||
"info": {
|
||||
@@ -672,11 +663,20 @@
|
||||
"name": "Grafana Labs",
|
||||
"url": "https://grafana.com"
|
||||
},
|
||||
"description": "This heatmap panel will replace the heatmap panel in 9.1",
|
||||
"links": null,
|
||||
"description": "Legacy heatmap panel based on angular, d3, and flot",
|
||||
"links": [
|
||||
{
|
||||
"name": "Brendan Gregg - Heatmaps",
|
||||
"url": "http://www.brendangregg.com/heatmaps.html"
|
||||
},
|
||||
{
|
||||
"name": "Brendan Gregg - Latency Heatmaps",
|
||||
"url": " http://www.brendangregg.com/HeatMaps/latency.html"
|
||||
}
|
||||
],
|
||||
"logos": {
|
||||
"small": "public/app/plugins/panel/heatmap-new/img/icn-heatmap-panel.svg",
|
||||
"large": "public/app/plugins/panel/heatmap-new/img/icn-heatmap-panel.svg"
|
||||
"small": "public/app/plugins/panel/heatmap-old/img/icn-heatmap-panel.svg",
|
||||
"large": "public/app/plugins/panel/heatmap-old/img/icn-heatmap-panel.svg"
|
||||
},
|
||||
"build": {},
|
||||
"screenshots": null,
|
||||
@@ -690,9 +690,9 @@
|
||||
},
|
||||
"latestVersion": "",
|
||||
"hasUpdate": false,
|
||||
"defaultNavUrl": "/plugins/heatmap-new/",
|
||||
"defaultNavUrl": "/plugins/heatmap-old/",
|
||||
"category": "",
|
||||
"state": "beta",
|
||||
"state": "deprecated",
|
||||
"signature": "internal",
|
||||
"signatureType": "",
|
||||
"signatureOrg": ""
|
||||
|
||||
Reference in New Issue
Block a user