import { IDurationTime } from "../../Duration.time.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * MetricSpec contains all values a metric collector needs to operate. */ export interface IMetricSpec { /** * PanicWindow is the aggregation window for metrics where quick reactions are needed. */ "panicWindow": IDurationTime; /** * ScrapeTarget is the K8s service that publishes the metric endpoint. */ "scrapeTarget": string; /** * StableWindow is the aggregation window for metrics in a stable state. */ "stableWindow": IDurationTime; } /** * MetricSpec contains all values a metric collector needs to operate. */ export declare class MetricSpec extends Model implements IMetricSpec { "panicWindow": IDurationTime; "scrapeTarget": string; "stableWindow": IDurationTime; constructor(data?: ModelData); } export type { IMetricSpec as IDevKnativeServingPkgApisAutoscalingV1alpha1MetricSpec, MetricSpec as DevKnativeServingPkgApisAutoscalingV1alpha1MetricSpec };