You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
export interface PanelOptions {
|
|
|
|
visualizationType: Pod;
|
|
|
|
gauge: {
|
|
|
|
min: ExtremumOptions;
|
|
|
|
max: ExtremumOptions;
|
|
|
|
value: ExtremumOptions;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
export type ExtremumOptions = {
|
|
|
|
useMetric: false;
|
|
|
|
value?: number;
|
|
|
|
metricName?: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export type ValueOptions = {
|
|
|
|
metricName?: string
|
|
|
|
}
|
|
|
|
|
|
|
|
export enum IconPosition {
|
|
|
|
UPPER_LEFT = 'Upper left',
|
|
|
|
MIDDLE = 'Middle',
|
|
|
|
UPPER_RIGHT = 'Upper right'
|
|
|
|
}
|
|
|
|
|
|
|
|
export enum Pod {
|
|
|
|
LINE = 'Line',
|
|
|
|
BAR = 'Bar',
|
|
|
|
GAUGE = 'Gauge',
|
|
|
|
}
|
|
|
|
|
|
|
|
export enum Aggregation {
|
|
|
|
MIN = 'min',
|
|
|
|
MAX = 'max',
|
|
|
|
LAST = 'last'
|
|
|
|
}
|