mirror of
https://github.com/datarhei/core.git
synced 2025-10-04 15:42:57 +08:00
Merge branch 'dev' into cluster
This commit is contained in:
41
docs/docs.go
41
docs/docs.go
@@ -1086,6 +1086,30 @@ const docTemplate = `{
|
||||
}
|
||||
},
|
||||
"/api/v3/metrics": {
|
||||
"get": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "List all known metrics with their description and labels",
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"summary": "List all known metrics with their description and labels",
|
||||
"operationId": "metrics-3-describe",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/api.MetricsDescription"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
@@ -3216,6 +3240,23 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"api.MetricsDescription": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"labels": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"api.MetricsQuery": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
Reference in New Issue
Block a user