Skip to content

Commit

Permalink
feat(oas): add infos to prometheus responses
Browse files Browse the repository at this point in the history
  • Loading branch information
tdakkota committed Aug 12, 2024
1 parent 5305ce3 commit 6c30131
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions _oas/prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,12 @@ components:
type: array
items:
type: string
infos:
description: >-
Only set if there were info-level annnotations while executing the request.
type: array
items:
type: string
data:
$ref: "#/components/schemas/Data"
QueryExemplarsResponse:
Expand All @@ -394,6 +400,12 @@ components:
type: array
items:
type: string
infos:
description: >-
Only set if there were info-level annnotations while executing the request.
type: array
items:
type: string
data:
$ref: "#/components/schemas/Exemplars"
SeriesResponse:
Expand All @@ -415,6 +427,12 @@ components:
type: array
items:
type: string
infos:
description: >-
Only set if there were info-level annnotations while executing the request.
type: array
items:
type: string
data:
$ref: "#/components/schemas/Series"
LabelsResponse:
Expand All @@ -436,6 +454,12 @@ components:
type: array
items:
type: string
infos:
description: >-
Only set if there were info-level annnotations while executing the request.
type: array
items:
type: string
data:
$ref: "#/components/schemas/Labels"
LabelValuesResponse:
Expand All @@ -457,6 +481,12 @@ components:
type: array
items:
type: string
infos:
description: >-
Only set if there were info-level annnotations while executing the request.
type: array
items:
type: string
data:
$ref: "#/components/schemas/LabelValues"
RulesResponse:
Expand All @@ -478,6 +508,12 @@ components:
type: array
items:
type: string
infos:
description: >-
Only set if there were info-level annnotations while executing the request.
type: array
items:
type: string
data:
$ref: "#/components/schemas/Rules"
MetadataResponse:
Expand All @@ -499,6 +535,12 @@ components:
type: array
items:
type: string
infos:
description: >-
Only set if there were info-level annnotations while executing the request.
type: array
items:
type: string
data:
$ref: "#/components/schemas/Metadata"
Fail:
Expand Down

0 comments on commit 6c30131

Please sign in to comment.