guiqi695/moon-prometheus-sdk/vector does not have a README file
pub(all) suberror VectorError {
InvalidLabelName(String)
ReservedLabelName(String)
DuplicateLabelName(String)
LabelCountMismatch(expected~ : Int, actual~ : Int)
InvalidCardinalityLimit(Int)
MissingLabel(String)
UnexpectedLabel(String)
CardinalityLimitExceeded(limit~ : Int, current~ : Int)
MetricKindMismatch
MetricConstructionFailed(String)
} derive(Eq, Debug)pub struct CounterVec {
descriptor : Descriptor
schema : LabelSchema
children : Map[String, Counter]
lock : Mutex
}fn CounterVec::delete_label_values(self : CounterVec, values : Array[String]) -> Bool raise VectorErrorfn CounterVec::delete_labels(self : CounterVec, labels : Map[String, String]) -> Bool raise VectorErrorfn CounterVec::new(descriptor : Descriptor, cardinality_limit? : Int) -> CounterVec raise VectorErrorfn CounterVec::with_label_values(self : CounterVec, values : Array[String]) -> Counter raise VectorErrorfn CounterVec::with_labels(self : CounterVec, labels : Map[String, String]) -> Counter raise VectorErrorpub struct GaugeVec {
descriptor : Descriptor
schema : LabelSchema
children : Map[String, Gauge]
lock : Mutex
}pub struct HistogramVec {
descriptor : Descriptor
schema : LabelSchema
boundaries : Array[Double]
children : Map[String, Histogram]
lock : Mutex
}fn HistogramVec::delete_label_values(self : HistogramVec, values : Array[String]) -> Bool raise VectorErrorfn HistogramVec::delete_labels(self : HistogramVec, labels : Map[String, String]) -> Bool raise VectorErrorfn HistogramVec::new(descriptor : Descriptor, boundaries : Array[Double], cardinality_limit? : Int) -> HistogramVec raise VectorErrorfn HistogramVec::with_label_values(self : HistogramVec, values : Array[String]) -> Histogram raise VectorErrorfn HistogramVec::with_labels(self : HistogramVec, labels : Map[String, String]) -> Histogram raise VectorErrorfn LabelSchema::new(names : Array[String], cardinality_limit? : Int) -> LabelSchema raise VectorErrorfn LabelSchema::values_from_labels(self : LabelSchema, labels : Map[String, String]) -> Array[String] raise VectorErrorInstall
Download zipPrometheus metrics model, registry, and OpenMetrics text exporter for MoonBit.