SMI Traffic Metrics

Traffic Metrics is "a resource that provides a common integration point for tools that can benefit by consuming metrics related to HTTP traffic." It is exposed as a Kubernetes APIService extension at `metrics.smi-spec.io/v1alpha1` and reports latency percentiles (p50/p90/p99) and success/failure counts per pod, deployment, namespace, or traffic edge.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/smi-traffic-metrics"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

API entry from apis.yml

apis.yml Raw ↑
name: SMI Traffic Metrics
description: 'Traffic Metrics is "a resource that provides a common integration point for tools

  that can benefit by consuming metrics related to HTTP traffic." It is exposed as a

  Kubernetes APIService extension at `metrics.smi-spec.io/v1alpha1` and reports

  latency percentiles (p50/p90/p99) and success/failure counts per pod, deployment,

  namespace, or traffic edge.

  '
humanURL: https://github.com/servicemeshinterface/smi-spec/blob/main/apis/traffic-metrics/v1alpha1/traffic-metrics.md
baseURL: https://kubernetes.default.svc/apis/metrics.smi-spec.io/v1alpha1
aid: smi-traffic-metrics
tags:
- Traffic Metrics
- Observability
- Telemetry
- Kubernetes APIService
- SMI
properties:
- type: APIVersion
  name: metrics.smi-spec.io/v1alpha1
- type: Kind
  name: TrafficMetrics
- type: Kind
  name: TrafficMetricsList
- type: Specification
  url: https://github.com/servicemeshinterface/smi-spec/blob/main/apis/traffic-metrics/v1alpha1/traffic-metrics.md
- type: ReferenceImplementation
  url: https://github.com/servicemeshinterface/smi-metrics
- type: JSONSchema
  url: ./json-schema/traffic-metrics-schema.json
- type: Examples
  url: ./examples/traffic-metrics-example.json
operations:
- method: GET
  endpoint: /apis/metrics.smi-spec.io/v1alpha1/namespaces/{namespace}/pods
- method: GET
  endpoint: /apis/metrics.smi-spec.io/v1alpha1/namespaces/{namespace}/pods/{name}
- method: GET
  endpoint: /apis/metrics.smi-spec.io/v1alpha1/namespaces/{namespace}/pods/{name}/edges
- method: GET
  endpoint: /apis/metrics.smi-spec.io/v1alpha1/namespaces/{namespace}/deployments
- method: GET
  endpoint: /apis/metrics.smi-spec.io/v1alpha1/namespaces/{namespace}/deployments/{name}
- method: GET
  endpoint: /apis/metrics.smi-spec.io/v1alpha1/namespaces/{namespace}/deployments/{name}/edges
- method: GET
  endpoint: /apis/metrics.smi-spec.io/v1alpha1/namespaces