Przeglądaj źródła

heatmap: changed name of heatmap data format option, #8054

Torkel Ödegaard 8 lat temu
rodzic
commit
787fea90b9

+ 2 - 2
public/app/plugins/panel/heatmap/axes_editor.ts

@@ -26,8 +26,8 @@ export class AxesEditorCtrl {
     };
 
     this.dataFormats = {
-      'Timeseries': 'timeseries',
-      'ES histogram': 'es_histogram'
+      'TS': 'timeseries',
+      'TS Pre-bucketed': 'tsbuckets'
     };
   }
 

+ 1 - 1
public/app/plugins/panel/heatmap/heatmap_ctrl.ts

@@ -135,7 +135,7 @@ export class HeatmapCtrl extends MetricsPanelCtrl {
     let xBucketSize, yBucketSize, heatmapStats, bucketsData;
     let logBase = this.panel.yAxis.logBase;
 
-    if (this.panel.dataFormat === 'es_histogram') {
+    if (this.panel.dataFormat === 'tsbuckets') {
       heatmapStats = this.parseHistogramSeries(this.series);
       bucketsData = elasticHistogramToHeatmap(this.series);