Files
core/http/graph/metrics.graphqls
Jan Stabenow 9c0b535199 Add v16.7.2
2022-05-13 19:26:45 +02:00

27 lines
376 B
GraphQL

extend type Query {
metrics(query: MetricsInput!): Metrics!
}
input MetricsInput {
timerange_seconds: Int
interval_seconds: Int
metrics: [MetricInput!]!
}
input MetricInput {
name: String!
labels: Map
}
type Metrics {
timerange_seconds: Int
interval_seconds: Int
metrics: [Metric!]!
}
type Metric {
name: String!
labels: Map
values: [MetricsResponseValue!]!
}