|
753 | 753 | } |
754 | 754 | } |
755 | 755 | }, |
756 | | - "revision": "20240427", |
| 756 | + "revision": "20240505", |
757 | 757 | "rootUrl": "https://monitoring.googleapis.com/", |
758 | 758 | "schemas": { |
759 | 759 | "Aggregation": { |
|
1037 | 1037 | "description": "A Google Stackdriver dashboard. Dashboards define the content and layout of pages in the Stackdriver web application.", |
1038 | 1038 | "id": "Dashboard", |
1039 | 1039 | "properties": { |
| 1040 | + "annotations": { |
| 1041 | + "$ref": "DashboardAnnotations", |
| 1042 | + "description": "Configuration for event annotations to display on this dashboard." |
| 1043 | + }, |
1040 | 1044 | "columnLayout": { |
1041 | 1045 | "$ref": "ColumnLayout", |
1042 | 1046 | "description": "The content is divided into equally spaced columns and the widgets are arranged vertically." |
|
1082 | 1086 | }, |
1083 | 1087 | "type": "object" |
1084 | 1088 | }, |
| 1089 | + "DashboardAnnotations": { |
| 1090 | + "description": "Dashboard-level configuration for annotations", |
| 1091 | + "id": "DashboardAnnotations", |
| 1092 | + "properties": { |
| 1093 | + "defaultResourceNames": { |
| 1094 | + "description": "Dashboard level defaults for names of logging resources to search for events. Currently only projects are supported. Each individual EventAnnotation may have its own overrides. If both this field and the per annotation field is empty, then the scoping project is used. Limit: 50 projects. For example: “projects/some-project-id” ", |
| 1095 | + "items": { |
| 1096 | + "type": "string" |
| 1097 | + }, |
| 1098 | + "type": "array" |
| 1099 | + }, |
| 1100 | + "eventAnnotations": { |
| 1101 | + "description": "List of annotation configurations for this dashboard. Each entry specifies one event type.", |
| 1102 | + "items": { |
| 1103 | + "$ref": "EventAnnotation" |
| 1104 | + }, |
| 1105 | + "type": "array" |
| 1106 | + } |
| 1107 | + }, |
| 1108 | + "type": "object" |
| 1109 | + }, |
1085 | 1110 | "DashboardFilter": { |
1086 | 1111 | "description": "A filter to reduce the amount of data charted in relevant widgets.", |
1087 | 1112 | "id": "DashboardFilter", |
|
1301 | 1326 | }, |
1302 | 1327 | "type": "object" |
1303 | 1328 | }, |
| 1329 | + "EventAnnotation": { |
| 1330 | + "description": "Annotation configuration for one event type on a dashboard", |
| 1331 | + "id": "EventAnnotation", |
| 1332 | + "properties": { |
| 1333 | + "displayName": { |
| 1334 | + "description": "Solely for UI display. Should not be used programmatically.", |
| 1335 | + "type": "string" |
| 1336 | + }, |
| 1337 | + "enabled": { |
| 1338 | + "description": "Whether or not to show the events on the dashboard by default", |
| 1339 | + "type": "boolean" |
| 1340 | + }, |
| 1341 | + "eventType": { |
| 1342 | + "description": "The type of event to display.", |
| 1343 | + "enum": [ |
| 1344 | + "EVENT_TYPE_UNSPECIFIED", |
| 1345 | + "GKE_WORKLOAD_DEPLOYMENT", |
| 1346 | + "GKE_POD_CRASH", |
| 1347 | + "GKE_POD_UNSCHEDULABLE", |
| 1348 | + "GKE_CONTAINER_CREATION_FAILED", |
| 1349 | + "GKE_CLUSTER_CREATE_DELETE", |
| 1350 | + "GKE_CLUSTER_UPDATE", |
| 1351 | + "GKE_NODE_POOL_UPDATE", |
| 1352 | + "GKE_CLUSTER_AUTOSCALER", |
| 1353 | + "GKE_POD_AUTOSCALER", |
| 1354 | + "VM_TERMINATION", |
| 1355 | + "VM_GUEST_OS_ERROR", |
| 1356 | + "VM_START_FAILED", |
| 1357 | + "MIG_UPDATE", |
| 1358 | + "MIG_AUTOSCALER", |
| 1359 | + "CLOUD_RUN_DEPLOYMENT", |
| 1360 | + "CLOUD_SQL_FAILOVER", |
| 1361 | + "CLOUD_SQL_START_STOP", |
| 1362 | + "CLOUD_SQL_STORAGE", |
| 1363 | + "UPTIME_CHECK_FAILURE" |
| 1364 | + ], |
| 1365 | + "enumDescriptions": [ |
| 1366 | + "No event type specified.", |
| 1367 | + "Patch/update of GKE workload.", |
| 1368 | + "Crash events for a GKE Pod.", |
| 1369 | + "Scheduling failures for GKE Pods.", |
| 1370 | + "Failure to create a GKE container.", |
| 1371 | + "Create/delete of a GKE cluster.", |
| 1372 | + "Update of a GKE cluster.", |
| 1373 | + "Update of a GKE node pool.", |
| 1374 | + "GKE cluster autoscaler event.", |
| 1375 | + "GKE pod autoscaler event.", |
| 1376 | + "Termination of a virtual machine.", |
| 1377 | + "Guest OS error on a virtual machine.", |
| 1378 | + "Start failure on a virtual machine.", |
| 1379 | + "Update of a managed instance group.", |
| 1380 | + "Autoscaler event for a managed instance group.", |
| 1381 | + "New deployment of a Cloud Run service.", |
| 1382 | + "Failover of a Cloud SQL instance.", |
| 1383 | + "Start/stop of a Cloud SQL instance.", |
| 1384 | + "Storage event for a Cloud SQL instance.", |
| 1385 | + "Failure of a Cloud Monitoring uptime check." |
| 1386 | + ], |
| 1387 | + "type": "string" |
| 1388 | + }, |
| 1389 | + "filter": { |
| 1390 | + "description": "string filtering the events - event dependant. Example values: \"resource.labels.pod_name = 'pod-1'\" \"protoPayload.authenticationInfo.principalEmail='[email protected]'\" ", |
| 1391 | + "type": "string" |
| 1392 | + }, |
| 1393 | + "resourceNames": { |
| 1394 | + "description": "Per annotation level override for the names of logging resources to search for events. Currently only projects are supported. If both this field and the per annotation field is empty, it will default to the host project. Limit: 50 projects. For example: “projects/another-project-id” ", |
| 1395 | + "items": { |
| 1396 | + "type": "string" |
| 1397 | + }, |
| 1398 | + "type": "array" |
| 1399 | + } |
| 1400 | + }, |
| 1401 | + "type": "object" |
| 1402 | + }, |
1304 | 1403 | "Field": { |
1305 | 1404 | "description": "A single field of a message type.", |
1306 | 1405 | "id": "Field", |
|
0 commit comments