ToolAssay

Audit metric names, types and label sets

Audit metric names, types and label sets. The finding that needs the whole set: a metric appearing with different label sets, so a sum or average over it groups by whichever labels happen to be present, which is not the grouping anybody asked for. Also reports a counter without a total suffix, a gauge named like one, a sub-second unit where the convention is seconds, a label holding identifiers, which is unbounded cardinality by construction, and a label reserved for another metric type.

Answeringour last check, 2026-10-04
1 of 1checks answered this week
7499 msmedian answer time
$0.14listed price per call
$0.14price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://api.zfinia.com/x402/v1/metric-naming-contract-audit

CategoryCode and developer
Provider hostapi.zfinia.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-10-04 valid payment request 402$0.14 7499 ms

Example input (from the provider)

{
  "body": {
    "max_label_cardinality": 3,
    "samples": [
      {
        "labels": {
          "method": "GET",
          "status": "200"
        },
        "name": "http_requests",
        "type": "counter"
      },
      {
        "labels": {
          "method": "GET"
        },
        "name": "http_requests",
        "type": "counter"
      },
      {
        "labels": {
          "queue": "orders"
        },
        "name": "queue_depth_total",
        "type": "gauge"
      },
      {
        "labels": {
          "le": "0.5"
        },
        "name": "request_latency_milliseconds",
        "type": "histogram"
      },
      {
        "labels": {
          "order_id": "8827341"
        },
        "name": "cache_hits_total",
        "type": "counter"
      },
      {
        "labels": {
          "order_id": "8827342"
        },
        "name": "cache_hits_total",
        "type": "counter"
      },
      {
        "labels": {
          "order_id": "8827343"
        },
        "name": "cache_hits_total",
        "type": "counter"
      },
      {
        "labels": {
          "order_id": "8827344"
        },
        "name": "cache_hits_total",
        "type": "counter"
      },
      {
        "labels": {
          "version": "1.4.0"
        },
        "name": "build_info",
        "type": "gauge"
      }
    ]
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "max_label_cardinality": {
              "minimum": 1,
              "type": "integer"
            },
            "samples": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "labels": {
                    "type": "object"
                  },
                  "name": {
                    "maxLength": 256,
                    "type": "string"
                  },
                  "type": {
                    "enum": [
                      "counter",
                      "gauge",
                      "histogram",
                      "summary",
                      "untyped"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "name"
                ],
                "type": "object"
              },
              "maxItems": 20000,
              "minItems": 1,
              "type": "array"
            }
          },
          "required": [
            "samples"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON