or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
golangpkg:golang/github.com/prometheus/client_model@v0.6.2
tile.json

tessl/golang-github-com-prometheus--client-model

tessl install tessl/golang-github-com-prometheus--client-model@0.6.1

Data 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%

rubric.jsonevals/scenario-5/

{
  "context": "Evaluates how well the solution uses github.com/prometheus/client_model/go native histogram types to encode spans, bucket populations, and serialization. Focuses on correct field selection for delta versus absolute bucket representations.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Native struct",
      "description": "Builds a dto.Histogram populated with Schema plus ZeroCount or ZeroCountFloat and preserves the provided TimestampMs on the enclosing dto.Metric before serialization.",
      "max_score": 25
    },
    {
      "name": "Span mapping",
      "description": "Copies span offsets/lengths into Histogram.NegativeSpan and Histogram.PositiveSpan in the input order so bucket slots align with the provided spans.",
      "max_score": 20
    },
    {
      "name": "Delta mode",
      "description": "When UseDelta is true, fills Histogram.NegativeDelta and Histogram.PositiveDelta with the provided values, leaves NegativeCount/PositiveCount empty, and sets SampleCount or SampleCountFloat to zero bucket plus summed deltas.",
      "max_score": 20
    },
    {
      "name": "Absolute mode",
      "description": "When UseDelta is false, writes bucket values into Histogram.NegativeCount and Histogram.PositiveCount (float-aware), leaves delta slices empty, and sets SampleCountFloat to zero bucket plus summed absolute counts including fractions.",
      "max_score": 20
    },
    {
      "name": "Serialization",
      "description": "Returns bytes from proto.Marshal of the dto.Histogram embedded in a dto.Metric (or MetricFamily if used), ensuring the native histogram fields carry through to the encoded payload.",
      "max_score": 15
    }
  ]
}