- 介绍
- 表达式查询
- 元数据
- 状态Status
- 时序数据库 (TSDB)操作
TSDB 状态
GET
/api/v1/status/tsdb
请求参数
无
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://localhost:9090/api/v1/status/tsdb'
返回响应
🟢200成功
application/json
Body
status
string
必需
data
object
必需
seriesCountByMetricName
array [object {2}]
必需
labelValueCountByLabelName
array [object {2}]
必需
memoryInBytesByLabelName
array [object {2}]
必需
seriesCountByLabelValuePair
array [object {2}]
必需
示例
{
"status": "string",
"data": {
"seriesCountByMetricName": [
{
"name": "string",
"value": 0
}
],
"labelValueCountByLabelName": [
{
"name": "string",
"value": 0
}
],
"memoryInBytesByLabelName": [
{
"name": "string",
"value": 0
}
],
"seriesCountByLabelValuePair": [
{
"name": "string",
"value": 0
}
]
}
}