package schema #BaseMetric: { type: string description?: string prefix?: string source?: string max_idle_duration?: string } #CounterMetric: { #BaseMetric type: "Counter" config: { match_all?: bool count_entry_bytes?: bool value?: string action: "inc" | "add" } } #GaugeMetric: { #BaseMetric type: "Gauge" config: { value?: string action: "set" | "inc" | "dec" | "add" | "sub" } } #HistogramMetric: { #BaseMetric type: "Histogram" config: { value?: string buckets: [int] } }