Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: TiKV HTTP Management Metrics API
description: TiKV exposes an HTTP management API on each node for status monitoring, configuration management, and Prometheus metrics. The default port is 20160 for TiKV nodes and 2379 for PD (Placement Driver) nodes.
version: '7.1'
contact:
name: TiKV Community
url: https://tikv.org/
license:
name: Apache 2.0
url: https://github.com/tikv/tikv/blob/master/LICENSE
servers:
- url: http://localhost:20160
description: TiKV node HTTP API (default port)
tags:
- name: Metrics
description: Prometheus metrics endpoint
paths:
/metrics:
get:
operationId: getMetrics
summary: Get Prometheus Metrics
description: Returns Prometheus-formatted metrics for the TiKV node including operation counts, latencies, storage usage, and Raft consensus metrics.
tags:
- Metrics
responses:
'200':
description: Prometheus metrics returned in text format
content:
text/plain:
schema:
type: string