|
|
|
@ -11,7 +11,7 @@ export class Series {
|
|
|
|
|
|
|
|
|
|
constructor(grafanaSeriesList: any, private gaugeValueOptions: ValueOptions) { |
|
|
|
|
if (_.isEmpty(this.gaugeValueOptions.metricName)) { |
|
|
|
|
throw new Error(`Value: metric is not selected. [See options: Extremum -> Value]`); |
|
|
|
|
throw new Error(`Value: metric is not selected. [See options: Value -> Metric]`); |
|
|
|
|
} |
|
|
|
|
this._selectedSerieName = this.gaugeValueOptions.metricName; |
|
|
|
|
|
|
|
|
|