mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-01-28 06:51:45 +01:00
Adopt naming of descriptions
This commit is contained in:
@@ -14,11 +14,11 @@ const configSchema = `{
|
|||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
"checkpoints": {
|
"checkpoints": {
|
||||||
"description": "Configuration for checkpointing the metrics within metric-store",
|
"description": "Configuration for checkpointing the metrics buffers",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"file-format": {
|
"file-format": {
|
||||||
"description": "Specify the type of checkpoint file. There are 2 variants: 'avro' and 'json'. If nothing is specified, 'avro' is default.",
|
"description": "Specify the format for checkpoint files. There are 2 variants: 'avro' and 'json'. If nothing is specified, 'avro' is default.",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"interval": {
|
"interval": {
|
||||||
@@ -26,7 +26,7 @@ const configSchema = `{
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"directory": {
|
"directory": {
|
||||||
"description": "Specify the parent directy in which the checkpointed files should be placed.",
|
"description": "Path in which the checkpointed files should be placed.",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -74,7 +74,7 @@ const configSchema = `{
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"subscribe-to": {
|
"subscribe-to": {
|
||||||
"description": "Channel name",
|
"description": "Subject name",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"cluster-tag": {
|
"cluster-tag": {
|
||||||
@@ -82,6 +82,7 @@ const configSchema = `{
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
"required": ["subscribe-to"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user