Skip to content

Commit

Permalink
Fix metric schema.
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Farr <xtansia@xtansia.com>
Signed-off-by: Daniel (dB.) Doubrovkine <dblock@dblock.org>
  • Loading branch information
dblock and Xtansia authored Jul 15, 2024
1 parent 899a9e0 commit 081b1f2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spec/namespaces/nodes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,13 @@ components:
Supports a comma-separated list, such as node1,node2 or http,ingest.
required: true
schema:
anyOf:
- title: node_id
$ref: '../schemas/_common.yaml#/components/schemas/NodeIds'
- title: metric
type: array
items:
$ref: '../schemas/nodes.info.yaml#/components/schemas/Metric'
type: array
items:
anyOf:
Expand Down

0 comments on commit 081b1f2

Please sign in to comment.