From 07afcc4cd42856cb6fd181912c3321271b7d71e7 Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Thu, 22 Jan 2026 20:31:15 +0100 Subject: [PATCH] Adopt naming of descriptions --- internal/metricstore/configSchema.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/internal/metricstore/configSchema.go b/internal/metricstore/configSchema.go index 0f6d3400..70fcc74a 100644 --- a/internal/metricstore/configSchema.go +++ b/internal/metricstore/configSchema.go @@ -14,11 +14,11 @@ const configSchema = `{ "type": "integer" }, "checkpoints": { - "description": "Configuration for checkpointing the metrics within metric-store", + "description": "Configuration for checkpointing the metrics buffers", "type": "object", "properties": { "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" }, "interval": { @@ -26,7 +26,7 @@ const configSchema = `{ "type": "string" }, "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" } }, @@ -74,7 +74,7 @@ const configSchema = `{ "type": "object", "properties": { "subscribe-to": { - "description": "Channel name", + "description": "Subject name", "type": "string" }, "cluster-tag": { @@ -82,6 +82,7 @@ const configSchema = `{ "type": "string" } } + "required": ["subscribe-to"] } } },