export interface PanelOptions { visualizationType: Pod; gauge: { min: ExtremumOptions; max: ExtremumOptions; value: ExtremumOptions; reversed: boolean; }; } 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', }