Audit telemetry attributes against a contract, and against the thing a schema ca
Audit telemetry attributes against a contract, and against the thing a schema cannot see: cardinality. Reports missing required attributes, undeclared attributes, an attribute appearing as two types across the batch, and an attribute whose distinct values exceed your limit - because in a metrics backend each distinct value is a separate series, and that is how an index or a bill explodes.
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/telemetry-attribute-contract-audit
| Category | Code and developer |
|---|---|
| Provider host | api.zfinia.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"body": {
"attribute_pointer": "/attributes",
"cardinality_limit": 3,
"contract": {
"optional": [
"region"
],
"required": [
"service",
"environment"
],
"types": {
"environment": "string",
"latency_ms": "number",
"service": "string"
}
},
"records": [
{
"attributes": {
"environment": "prod",
"latency_ms": 31.2,
"region": "ap-southeast-2",
"request_id": "r-1",
"service": "checkout"
},
"name": "http.request"
},
{
"attributes": {
"environment": "prod",
"latency_ms": 44,
"region": "ap-southeast-2",
"request_id": "r-2",
"service": "checkout"
},
"name": "http.request"
},
{
"attributes": {
"environment": "prod",
"latency_ms": "51",
"request_id": "r-3",
"service": "checkout"
},
"name": "http.request"
},
{
"attributes": {
"environment": "prod",
"latency_ms": 28,
"request_id": "r-4",
"service": "checkout"
},
"name": "http.request"
},
{
"name": "http.request"
}
]
},
"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": {
"attribute_pointer": {
"maxLength": 512,
"type": "string"
},
"cardinality_limit": {
"minimum": 1,
"type": "integer"
},
"contract": {
"additionalProperties": false,
"properties": {
"allow_undeclared": {
"type": "boolean"
},
"optional": {
"items": {
"maxLength": 256,
"type": "string"
},
"maxItems": 500,
"minItems": 1,
"type": "array"
},
"required": {
"items": {
"maxLength": 256,
"type": "string"
},
"maxItems": 500,
"minItems": 1,
"type": "array"
},
"types": {
"type": "object"
}
},
"type": "object"
},
"records": {
"items": {
"type": "object"
},
"maxItems": 2000,
"minItems": 1,
"type": "array"
}
},
"required": [
"records",
"contract"
],
"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"
}