tessl install tessl/golang-github-com-prometheus--client-model@0.6.1Data model artifacts for Prometheus
Agent Success
Agent success rate when using this tile
93%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.13x
Baseline
Agent success rate without this tile
82%
Produce a serialized Prometheus counter metric payload that captures a single sample with contextual labels, an exemplar, and a creation timestamp.
@generates
package eval
type CounterInput struct {
Name string
Help string
Labels map[string]string
Value float64
ExemplarValue float64
ExemplarTimestampMs int64
ExemplarLabels map[string]string
CreatedTimestampMs int64
}
func BuildCounterMetric(input CounterInput) ([]byte, error)Provides Prometheus metric data model types for constructing counter metrics with exemplars and creation timestamps.