@grafana/openapi 13.0.0-22718891012 → 13.0.0-22720008924
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1134,10 +1134,10 @@
|
|
|
1134
1134
|
},
|
|
1135
1135
|
"CreateNotificationqueryNotificationCount": {
|
|
1136
1136
|
"type": "object",
|
|
1137
|
-
"required": ["count"],
|
|
1137
|
+
"required": ["count", "values"],
|
|
1138
1138
|
"properties": {
|
|
1139
1139
|
"count": {
|
|
1140
|
-
"description": "Count is the number of notification attempts in the time period.",
|
|
1140
|
+
"description": "Count is the number of notification attempts in the time period. Set for counts queries.",
|
|
1141
1141
|
"type": "integer"
|
|
1142
1142
|
},
|
|
1143
1143
|
"error": {
|
|
@@ -1157,6 +1157,13 @@
|
|
|
1157
1157
|
},
|
|
1158
1158
|
"status": {
|
|
1159
1159
|
"$ref": "#/components/schemas/CreateNotificationqueryNotificationStatus"
|
|
1160
|
+
},
|
|
1161
|
+
"values": {
|
|
1162
|
+
"description": "Values is the list of (timestamp, count) pairs in the time series. Set for range_counts queries.",
|
|
1163
|
+
"type": "array",
|
|
1164
|
+
"items": {
|
|
1165
|
+
"$ref": "#/components/schemas/CreateNotificationqueryNotificationRangeValue"
|
|
1166
|
+
}
|
|
1160
1167
|
}
|
|
1161
1168
|
}
|
|
1162
1169
|
},
|
|
@@ -1302,6 +1309,21 @@
|
|
|
1302
1309
|
"type": "string",
|
|
1303
1310
|
"enum": ["success", "error"]
|
|
1304
1311
|
},
|
|
1312
|
+
"CreateNotificationqueryNotificationRangeValue": {
|
|
1313
|
+
"description": "NotificationRangeValue is a single (timestamp, count) data point in a range count series.",
|
|
1314
|
+
"type": "object",
|
|
1315
|
+
"required": ["timestamp", "count"],
|
|
1316
|
+
"properties": {
|
|
1317
|
+
"count": {
|
|
1318
|
+
"description": "Count is the number of notification attempts at this point in time.",
|
|
1319
|
+
"type": "integer"
|
|
1320
|
+
},
|
|
1321
|
+
"timestamp": {
|
|
1322
|
+
"description": "Timestamp is the Unix epoch in seconds for this data point.",
|
|
1323
|
+
"type": "integer"
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
},
|
|
1305
1327
|
"CreateNotificationqueryNotificationStatus": {
|
|
1306
1328
|
"type": "string",
|
|
1307
1329
|
"enum": ["firing", "resolved"]
|
|
@@ -1383,6 +1405,10 @@
|
|
|
1383
1405
|
}
|
|
1384
1406
|
]
|
|
1385
1407
|
},
|
|
1408
|
+
"step": {
|
|
1409
|
+
"description": "Step is the step interval in seconds for range_counts queries.",
|
|
1410
|
+
"type": "integer"
|
|
1411
|
+
},
|
|
1386
1412
|
"to": {
|
|
1387
1413
|
"description": "To is the starting timestamp for the query.",
|
|
1388
1414
|
"type": "string",
|
|
@@ -1391,7 +1417,7 @@
|
|
|
1391
1417
|
"type": {
|
|
1392
1418
|
"description": "Type of query to perform (default: entries)",
|
|
1393
1419
|
"type": "string",
|
|
1394
|
-
"enum": ["entries", "counts"]
|
|
1420
|
+
"enum": ["entries", "counts", "range_counts"]
|
|
1395
1421
|
}
|
|
1396
1422
|
}
|
|
1397
1423
|
},
|