You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 2, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: provisioning/schemas/configuration/dashboards.json
+35-31Lines changed: 35 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@
27
27
"$defs": {
28
28
"dashboard": {
29
29
"type": "object",
30
-
"description": "Monitoring dashboard properties",
30
+
"description": "Monitoring dashboard properties using GridLayout (https://cloud.google.com/monitoring/api/ref_v3/rest/v1/projects.dashboards#gridlayout)",
31
31
"required": [
32
32
"name",
33
33
"display-name",
@@ -44,7 +44,7 @@
44
44
},
45
45
"widgets": {
46
46
"type": "array",
47
-
"description": "A collection of dashboard's widgets",
47
+
"description": "A collection of GridLayout widgets",
48
48
"items": {
49
49
"$ref": "#/$defs/widget"
50
50
}
@@ -53,7 +53,7 @@
53
53
},
54
54
"widget": {
55
55
"type": "object",
56
-
"description": "A chart that displays data on a 2D (X and Y axes) plane (https://cloud.google.com/monitoring/api/ref_v3/rest/v1/projects.dashboards#xychart)",
56
+
"description": "A widget chart that displays data on a 2D (X and Y axes) plane (https://cloud.google.com/monitoring/api/ref_v3/rest/v1/projects.dashboards#xychart)",
57
57
"required": [
58
58
"datasets"
59
59
],
@@ -95,34 +95,38 @@
95
95
],
96
96
"properties": {
97
97
"filter": {
98
-
"query": {
99
-
"type": "string",
100
-
"description": "Identifies the metric types, resources, and projects to query"
101
-
},
102
-
"alignment": {
103
-
"enum": [
104
-
"ALIGN_NONE",
105
-
"ALIGN_DELTA",
106
-
"ALIGN_RATE",
107
-
"ALIGN_INTERPOLATE",
108
-
"ALIGN_NEXT_OLDER",
109
-
"ALIGN_MIN",
110
-
"ALIGN_MAX",
111
-
"ALIGN_MEAN",
112
-
"ALIGN_COUNT",
113
-
"ALIGN_SUM",
114
-
"ALIGN_STDDEV",
115
-
"ALIGN_COUNT_TRUE",
116
-
"ALIGN_COUNT_FALSE",
117
-
"ALIGN_FRACTION_TRUE",
118
-
"ALIGN_PERCENTILE_99",
119
-
"ALIGN_PERCENTILE_95",
120
-
"ALIGN_PERCENTILE_50",
121
-
"ALIGN_PERCENTILE_05",
122
-
"ALIGN_PERCENT_CHANGE"
123
-
],
124
-
"description": "Mathematical method to group data points together into a single time series",
125
-
"default": "ALIGN_MEAN"
98
+
"type": "object",
99
+
"description": "A set of parameters for querying time series data",
100
+
"properties": {
101
+
"query": {
102
+
"type": "string",
103
+
"description": "Identifies the metric types, resources, and projects to query"
104
+
},
105
+
"alignment": {
106
+
"enum": [
107
+
"ALIGN_NONE",
108
+
"ALIGN_DELTA",
109
+
"ALIGN_RATE",
110
+
"ALIGN_INTERPOLATE",
111
+
"ALIGN_NEXT_OLDER",
112
+
"ALIGN_MIN",
113
+
"ALIGN_MAX",
114
+
"ALIGN_MEAN",
115
+
"ALIGN_COUNT",
116
+
"ALIGN_SUM",
117
+
"ALIGN_STDDEV",
118
+
"ALIGN_COUNT_TRUE",
119
+
"ALIGN_COUNT_FALSE",
120
+
"ALIGN_FRACTION_TRUE",
121
+
"ALIGN_PERCENTILE_99",
122
+
"ALIGN_PERCENTILE_95",
123
+
"ALIGN_PERCENTILE_50",
124
+
"ALIGN_PERCENTILE_05",
125
+
"ALIGN_PERCENT_CHANGE"
126
+
],
127
+
"description": "Mathematical method to group data points together into a single time series",
Copy file name to clipboardExpand all lines: provisioning/schemas/configuration/slos.json
+18-14Lines changed: 18 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@
76
76
},
77
77
"sli": {
78
78
"description": "The definition of good service, used to measure and calculate the quality of the Service's performance with respect to a single aspect of service quality",
79
-
"anyOf": [
79
+
"oneOf": [
80
80
{
81
81
"$ref": "#/$defs/basicSLI"
82
82
},
@@ -89,23 +89,27 @@
89
89
},
90
90
"basicSLI": {
91
91
"description": "Basic SLI on a well-known service type",
92
-
"anyOf": [
92
+
"oneOf": [
93
93
{
94
-
"availability": {
95
-
"const": true,
96
-
"description": "Good service is defined to be the count of requests made to this service that return successfully"
94
+
"type": "object",
95
+
"description": "Good service is defined to be the count of requests made to this service that return successfully",
96
+
"properties": {
97
+
"availability": {
98
+
"const": true
99
+
}
97
100
}
98
101
},
99
102
{
100
-
"latency": {
101
-
"type": "object",
102
-
"description": "Good service is defined to be the count of requests made to this service that are fast enough with respect to `latency.threshold`",
103
-
"properties": {
104
-
"threshold": {
105
-
"type": "string",
106
-
"required": true,
107
-
"pattern": "^[0-9]+s$"
108
-
}
103
+
"type": "object",
104
+
"description": "Good service is defined to be the count of requests made to this service that are fast enough with respect to `latency.threshold`",
105
+
"required": [
106
+
"threshold"
107
+
],
108
+
"properties": {
109
+
"threshold": {
110
+
"type": "string",
111
+
"description": "A duration string, e.g. 10s. Good service is defined to be the count of requests made to this service that return in no more than threshold.",
0 commit comments