diff --git a/exporter/collector/integrationtest/testcases.go b/exporter/collector/integrationtest/testcases.go index 8fccafb05..0627354ad 100644 --- a/exporter/collector/integrationtest/testcases.go +++ b/exporter/collector/integrationtest/testcases.go @@ -54,6 +54,11 @@ var ( OTLPInputFixturePath: "testdata/fixtures/summary_metrics.json", ExpectFixturePath: "testdata/fixtures/summary_metrics_expect.json", }, + { + Name: "Batching", + OTLPInputFixturePath: "testdata/fixtures/batching_metrics.json", + ExpectFixturePath: "testdata/fixtures/batching_metrics_expect.json", + }, { Name: "Ops Agent Self-Reported metrics", OTLPInputFixturePath: "testdata/fixtures/ops_agent_self_metrics.json", diff --git a/exporter/collector/integrationtest/testdata/fixtures/batching_metrics.json b/exporter/collector/integrationtest/testdata/fixtures/batching_metrics.json new file mode 100644 index 000000000..57d8abb42 --- /dev/null +++ b/exporter/collector/integrationtest/testdata/fixtures/batching_metrics.json @@ -0,0 +1,1531 @@ +{ + "resourceMetrics": [ + { + "resource": {}, + "instrumentationLibraryMetrics": [ + { + "instrumentationLibrary": {}, + "metrics": [ + { + "name": "testsummary 1", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 2", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 3", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 4", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 5", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 6", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 7", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 8", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 9", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 10", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 11", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 12", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 13", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 14", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 15", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 16", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 17", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 18", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 19", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 20", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 21", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 22", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 23", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 24", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 25", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 26", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 27", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 28", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 29", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 30", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 31", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 32", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 33", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 34", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 35", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 36", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 37", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 38", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 39", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 40", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + }, + { + "name": "testsummary 41", + "description": "This is a test summary", + "unit": "1", + "summary": { + "dataPoints": [ + { + "attributes": [ + { + "key": "foo", + "value": { + "stringValue": "bar" + } + } + ], + "startTimeUnixNano": "1634322229906722370", + "timeUnixNano": "1634322234906722370", + "count": "10", + "sum": 123.4, + "quantile_values": [ + { + "quantile": 0.5, + "value": 10.2 + }, + { + "quantile": 0.75, + "value": 25.5 + }, + { + "quantile": 0.9, + "value": 100.2 + } + ] + } + ] + } + } + ] + } + ] + } + ] +} diff --git a/exporter/collector/integrationtest/testdata/fixtures/batching_metrics_expect.json b/exporter/collector/integrationtest/testdata/fixtures/batching_metrics_expect.json new file mode 100644 index 000000000..8090e8901 --- /dev/null +++ b/exporter/collector/integrationtest/testdata/fixtures/batching_metrics_expect.json @@ -0,0 +1,8947 @@ +{ + "createTimeSeriesRequests": [ + { + "name": "projects/fakeprojectid", + "timeSeries": [ + { + "metric": { + "type": "workload.googleapis.com/testsummary 1_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 1_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 1_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 1_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 1_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 2_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 2_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 2_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 2_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 2_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 3_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 3_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 3_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 3_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 3_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 4_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 4_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 4_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 4_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 4_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 5_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 5_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 5_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 5_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 5_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 6_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 6_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 6_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 6_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 6_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 7_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 7_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 7_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 7_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 7_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 8_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 8_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 8_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 8_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 8_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 9_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 9_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 9_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 9_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 9_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 10_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 10_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 10_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 10_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 10_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 11_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 11_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 11_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 11_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 11_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 12_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 12_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 12_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 12_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 12_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 13_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 13_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 13_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 13_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 13_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 14_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 14_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 14_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 14_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 14_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 15_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 15_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 15_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 15_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 15_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 16_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 16_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 16_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 16_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 16_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 17_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 17_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 17_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 17_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 17_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 18_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 18_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 18_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 18_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 18_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 19_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 19_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 19_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 19_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 19_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 20_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 20_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 20_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 20_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 20_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 21_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 21_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 21_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 21_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 21_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 22_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 22_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 22_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 22_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 22_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 23_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 23_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 23_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 23_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 23_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 24_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 24_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 24_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 24_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 24_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 25_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 25_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 25_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 25_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 25_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 26_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 26_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 26_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 26_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 26_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 27_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 27_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 27_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 27_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 27_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 28_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 28_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 28_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 28_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 28_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 29_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 29_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 29_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 29_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 29_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 30_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 30_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 30_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 30_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 30_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 31_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 31_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 31_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 31_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 31_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 32_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 32_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 32_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 32_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 32_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 33_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 33_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 33_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 33_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 33_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 34_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 34_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 34_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 34_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 34_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 35_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 35_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 35_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 35_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 35_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 36_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 36_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 36_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 36_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 36_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 37_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 37_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 37_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 37_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 37_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 38_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 38_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 38_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 38_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 38_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 39_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 39_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 39_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 39_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 39_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 40_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 40_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 40_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 40_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 40_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + } + ] + }, + { + "name": "projects/fakeprojectid", + "timeSeries": [ + { + "metric": { + "type": "workload.googleapis.com/testsummary 41_summary_sum", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "doubleValue": 123.4 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 41_summary_count", + "labels": { + "foo": "bar" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z", + "startTime": "2022-01-26T19:22:11.442980117Z" + }, + "value": { + "int64Value": "10" + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 41_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "50.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 10.2 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 41_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "75.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 25.5 + } + } + ], + "unit": "1" + }, + { + "metric": { + "type": "workload.googleapis.com/testsummary 41_summary_percentile", + "labels": { + "foo": "bar", + "percentile": "90.000000" + } + }, + "resource": { + "type": "generic_node", + "labels": { + "location": "global", + "namespace": "", + "node_id": "" + } + }, + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.442980117Z" + }, + "value": { + "doubleValue": 100.2 + } + } + ], + "unit": "1" + } + ] + } + ], + "createMetricDescriptorRequests": [ + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 1_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 1_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 1_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 1_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 1_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 1_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 2_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 2_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 2_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 2_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 2_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 2_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 3_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 3_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 3_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 3_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 3_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 3_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 4_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 4_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 4_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 4_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 4_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 4_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 5_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 5_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 5_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 5_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 5_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 5_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 6_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 6_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 6_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 6_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 6_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 6_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 7_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 7_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 7_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 7_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 7_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 7_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 8_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 8_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 8_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 8_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 8_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 8_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 9_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 9_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 9_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 9_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 9_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 9_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 10_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 10_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 10_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 10_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 10_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 10_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 11_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 11_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 11_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 11_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 11_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 11_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 12_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 12_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 12_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 12_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 12_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 12_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 13_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 13_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 13_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 13_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 13_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 13_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 14_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 14_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 14_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 14_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 14_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 14_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 15_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 15_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 15_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 15_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 15_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 15_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 16_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 16_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 16_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 16_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 16_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 16_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 17_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 17_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 17_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 17_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 17_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 17_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 18_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 18_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 18_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 18_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 18_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 18_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 19_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 19_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 19_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 19_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 19_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 19_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 20_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 20_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 20_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 20_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 20_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 20_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 21_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 21_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 21_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 21_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 21_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 21_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 22_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 22_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 22_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 22_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 22_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 22_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 23_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 23_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 23_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 23_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 23_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 23_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 24_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 24_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 24_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 24_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 24_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 24_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 25_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 25_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 25_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 25_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 25_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 25_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 26_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 26_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 26_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 26_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 26_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 26_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 27_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 27_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 27_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 27_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 27_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 27_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 28_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 28_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 28_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 28_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 28_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 28_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 29_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 29_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 29_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 29_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 29_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 29_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 30_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 30_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 30_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 30_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 30_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 30_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 31_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 31_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 31_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 31_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 31_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 31_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 32_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 32_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 32_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 32_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 32_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 32_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 33_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 33_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 33_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 33_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 33_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 33_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 34_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 34_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 34_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 34_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 34_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 34_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 35_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 35_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 35_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 35_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 35_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 35_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 36_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 36_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 36_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 36_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 36_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 36_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 37_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 37_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 37_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 37_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 37_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 37_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 38_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 38_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 38_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 38_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 38_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 38_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 39_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 39_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 39_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 39_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 39_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 39_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 40_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 40_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 40_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 40_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 40_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 40_summary_percentile" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 41_summary_sum", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 41_summary_sum" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 41_summary_count", + "labels": [ + { + "key": "foo" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 41_summary_count" + } + }, + { + "name": "projects/fakeprojectid", + "metricDescriptor": { + "type": "workload.googleapis.com/testsummary 41_summary_percentile", + "labels": [ + { + "key": "foo" + }, + { + "key": "percentile", + "description": "the value at a given percentile of a distribution" + } + ], + "metricKind": "GAUGE", + "valueType": "DOUBLE", + "unit": "1", + "description": "This is a test summary", + "displayName": "testsummary 41_summary_percentile" + } + } + ], + "selfObservabilityMetrics": { + "createTimeSeriesRequests": [ + { + "name": "projects/myproject", + "timeSeries": [ + { + "metric": { + "type": "custom.googleapis.com/opencensus/grpc.io/client/roundtrip_latency", + "labels": { + "grpc_client_method": "google.monitoring.v3.MetricService/CreateMetricDescriptor" + } + }, + "resource": { + "type": "global" + }, + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.492489696Z", + "startTime": "2022-01-26T19:22:12.463162384Z" + }, + "value": { + "distributionValue": { + "count": "123", + "mean": 0.2264184471544716, + "sumOfSquaredDeviation": 7.299005819184409, + "bucketOptions": { + "explicitBuckets": { + "bounds": [ + 0, + 0.01, + 0.05, + 0.1, + 0.3, + 0.6, + 0.8, + 1, + 2, + 3, + 4, + 5, + 6, + 8, + 10, + 13, + 16, + 20, + 25, + 30, + 40, + 50, + 65, + 80, + 100, + 130, + 160, + 200, + 250, + 300, + 400, + 500, + 650, + 800, + 1000, + 2000, + 5000, + 10000, + 20000, + 50000, + 100000 + ] + } + }, + "bucketCounts": [ + "0", + "0", + "0", + "0", + "114", + "7", + "0", + "1", + "0", + "1", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0" + ] + } + } + } + ] + }, + { + "metric": { + "type": "custom.googleapis.com/opencensus/grpc.io/client/roundtrip_latency", + "labels": { + "grpc_client_method": "google.monitoring.v3.MetricService/CreateTimeSeries" + } + }, + "resource": { + "type": "global" + }, + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.492489696Z", + "startTime": "2022-01-26T19:22:12.465644798Z" + }, + "value": { + "distributionValue": { + "count": "2", + "mean": 2.4966215, + "sumOfSquaredDeviation": 8.8792477654445, + "bucketOptions": { + "explicitBuckets": { + "bounds": [ + 0, + 0.01, + 0.05, + 0.1, + 0.3, + 0.6, + 0.8, + 1, + 2, + 3, + 4, + 5, + 6, + 8, + 10, + 13, + 16, + 20, + 25, + 30, + 40, + 50, + 65, + 80, + 100, + 130, + 160, + 200, + 250, + 300, + 400, + 500, + 650, + 800, + 1000, + 2000, + 5000, + 10000, + 20000, + 50000, + 100000 + ] + } + }, + "bucketCounts": [ + "0", + "0", + "0", + "0", + "0", + "1", + "0", + "0", + "0", + "0", + "0", + "1", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0" + ] + } + } + } + ] + }, + { + "metric": { + "type": "custom.googleapis.com/opencensus/grpc.io/client/completed_rpcs", + "labels": { + "grpc_client_method": "google.monitoring.v3.MetricService/CreateMetricDescriptor", + "grpc_client_status": "OK" + } + }, + "resource": { + "type": "global" + }, + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.492489696Z", + "startTime": "2022-01-26T19:22:12.463162384Z" + }, + "value": { + "int64Value": "123" + } + } + ] + }, + { + "metric": { + "type": "custom.googleapis.com/opencensus/grpc.io/client/completed_rpcs", + "labels": { + "grpc_client_method": "google.monitoring.v3.MetricService/CreateTimeSeries", + "grpc_client_status": "OK" + } + }, + "resource": { + "type": "global" + }, + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.492489696Z", + "startTime": "2022-01-26T19:22:12.465644798Z" + }, + "value": { + "int64Value": "2" + } + } + ] + }, + { + "metric": { + "type": "custom.googleapis.com/opencensus/googlecloudmonitoring/point_count", + "labels": { + "status": "OK" + } + }, + "resource": { + "type": "global" + }, + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.492489696Z", + "startTime": "2022-01-26T19:22:12.465650809Z" + }, + "value": { + "int64Value": "205" + } + } + ] + }, + { + "metric": { + "type": "custom.googleapis.com/opencensus/grpc.io/client/sent_bytes_per_rpc", + "labels": { + "grpc_client_method": "google.monitoring.v3.MetricService/CreateTimeSeries" + } + }, + "resource": { + "type": "global" + }, + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.492489696Z", + "startTime": "2022-01-26T19:22:12.465644798Z" + }, + "value": { + "distributionValue": { + "count": "2", + "mean": 19763.5, + "sumOfSquaredDeviation": 705038800.5, + "bucketOptions": { + "explicitBuckets": { + "bounds": [ + 0, + 1024, + 2048, + 4096, + 16384, + 65536, + 262144, + 1048576, + 4194304, + 16777216, + 67108864, + 268435456, + 1073741824, + 4294967296 + ] + } + }, + "bucketCounts": [ + "0", + "1", + "0", + "0", + "0", + "1", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0" + ] + } + } + } + ] + }, + { + "metric": { + "type": "custom.googleapis.com/opencensus/grpc.io/client/sent_bytes_per_rpc", + "labels": { + "grpc_client_method": "google.monitoring.v3.MetricService/CreateMetricDescriptor" + } + }, + "resource": { + "type": "global" + }, + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.492489696Z", + "startTime": "2022-01-26T19:22:12.463162384Z" + }, + "value": { + "distributionValue": { + "count": "123", + "mean": 171.56097560975604, + "sumOfSquaredDeviation": 166708.29268292684, + "bucketOptions": { + "explicitBuckets": { + "bounds": [ + 0, + 1024, + 2048, + 4096, + 16384, + 65536, + 262144, + 1048576, + 4194304, + 16777216, + 67108864, + 268435456, + 1073741824, + 4294967296 + ] + } + }, + "bucketCounts": [ + "0", + "123", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0" + ] + } + } + } + ] + }, + { + "metric": { + "type": "custom.googleapis.com/opencensus/grpc.io/client/received_bytes_per_rpc", + "labels": { + "grpc_client_method": "google.monitoring.v3.MetricService/CreateMetricDescriptor" + } + }, + "resource": { + "type": "global" + }, + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.492489696Z", + "startTime": "2022-01-26T19:22:12.463162384Z" + }, + "value": { + "distributionValue": { + "count": "123", + "bucketOptions": { + "explicitBuckets": { + "bounds": [ + 0, + 1024, + 2048, + 4096, + 16384, + 65536, + 262144, + 1048576, + 4194304, + 16777216, + 67108864, + 268435456, + 1073741824, + 4294967296 + ] + } + }, + "bucketCounts": [ + "0", + "123", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0" + ] + } + } + } + ] + }, + { + "metric": { + "type": "custom.googleapis.com/opencensus/grpc.io/client/received_bytes_per_rpc", + "labels": { + "grpc_client_method": "google.monitoring.v3.MetricService/CreateTimeSeries" + } + }, + "resource": { + "type": "global" + }, + "points": [ + { + "interval": { + "endTime": "2022-01-26T19:22:12.492489696Z", + "startTime": "2022-01-26T19:22:12.465644798Z" + }, + "value": { + "distributionValue": { + "count": "2", + "bucketOptions": { + "explicitBuckets": { + "bounds": [ + 0, + 1024, + 2048, + 4096, + 16384, + 65536, + 262144, + 1048576, + 4194304, + 16777216, + 67108864, + 268435456, + 1073741824, + 4294967296 + ] + } + }, + "bucketCounts": [ + "0", + "2", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0", + "0" + ] + } + } + } + ] + } + ] + } + ], + "createMetricDescriptorRequests": [ + { + "name": "projects/myproject", + "metricDescriptor": { + "name": "projects/myproject/metricDescriptors/custom.googleapis.com/opencensus/grpc.io/client/roundtrip_latency", + "type": "custom.googleapis.com/opencensus/grpc.io/client/roundtrip_latency", + "labels": [ + { + "key": "grpc_client_method" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DISTRIBUTION", + "unit": "ms", + "description": "Distribution of round-trip latency, by method.", + "displayName": "OpenCensus/grpc.io/client/roundtrip_latency" + } + }, + { + "name": "projects/myproject", + "metricDescriptor": { + "name": "projects/myproject/metricDescriptors/custom.googleapis.com/opencensus/grpc.io/client/completed_rpcs", + "type": "custom.googleapis.com/opencensus/grpc.io/client/completed_rpcs", + "labels": [ + { + "key": "grpc_client_method" + }, + { + "key": "grpc_client_status" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "Count of RPCs by method and status.", + "displayName": "OpenCensus/grpc.io/client/completed_rpcs" + } + }, + { + "name": "projects/myproject", + "metricDescriptor": { + "name": "projects/myproject/metricDescriptors/custom.googleapis.com/opencensus/googlecloudmonitoring/point_count", + "type": "custom.googleapis.com/opencensus/googlecloudmonitoring/point_count", + "labels": [ + { + "key": "status" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "INT64", + "unit": "1", + "description": "Count of metric points written to Cloud Monitoring.", + "displayName": "OpenCensus/googlecloudmonitoring/point_count" + } + }, + { + "name": "projects/myproject", + "metricDescriptor": { + "name": "projects/myproject/metricDescriptors/custom.googleapis.com/opencensus/grpc.io/client/sent_bytes_per_rpc", + "type": "custom.googleapis.com/opencensus/grpc.io/client/sent_bytes_per_rpc", + "labels": [ + { + "key": "grpc_client_method" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DISTRIBUTION", + "unit": "By", + "description": "Distribution of bytes sent per RPC, by method.", + "displayName": "OpenCensus/grpc.io/client/sent_bytes_per_rpc" + } + }, + { + "name": "projects/myproject", + "metricDescriptor": { + "name": "projects/myproject/metricDescriptors/custom.googleapis.com/opencensus/grpc.io/client/received_bytes_per_rpc", + "type": "custom.googleapis.com/opencensus/grpc.io/client/received_bytes_per_rpc", + "labels": [ + { + "key": "grpc_client_method" + } + ], + "metricKind": "CUMULATIVE", + "valueType": "DISTRIBUTION", + "unit": "By", + "description": "Distribution of bytes received per RPC, by method.", + "displayName": "OpenCensus/grpc.io/client/received_bytes_per_rpc" + } + } + ] + } +} diff --git a/exporter/collector/metricsexporter.go b/exporter/collector/metricsexporter.go index af86afb1c..2d014fadb 100644 --- a/exporter/collector/metricsexporter.go +++ b/exporter/collector/metricsexporter.go @@ -25,6 +25,7 @@ import ( "net/url" "path" "strings" + "sync" "time" "unicode" @@ -39,6 +40,7 @@ import ( metricpb "google.golang.org/genproto/googleapis/api/metric" monitoredrespb "google.golang.org/genproto/googleapis/api/monitoredres" monitoringpb "google.golang.org/genproto/googleapis/monitoring/v3" + "google.golang.org/grpc/status" "google.golang.org/protobuf/types/known/anypb" "google.golang.org/protobuf/types/known/timestamppb" ) @@ -55,10 +57,22 @@ type MetricsExporter struct { client *monitoring.MetricClient obs selfObservability mapper metricMapper - // A channel that receives metric descriptor and sends them to GCM once. - mds chan *metricpb.MetricDescriptor - // Channel that is closed when exportMetricDescriptorRunnner goroutine is finished - mdsDone chan struct{} + + // tracks the currently running child tasks + goroutines sync.WaitGroup + // channel for signaling a graceful shutdown + shutdownC chan struct{} + + // A channel that receives metric descriptor and sends them to GCM once + metricDescriptorC chan *metricpb.MetricDescriptor + // Tracks the metric descriptors that have already been sent to GCM + mdCache map[string]*metricpb.MetricDescriptor + + // A channel that receives timeserieses and exports them to GCM in batches + timeSeriesC chan *monitoringpb.TimeSeries + // stores the currently pending batch of timeserieses + pendingTimeSerieses []*monitoringpb.TimeSeries + batchTimeoutTimer *time.Timer } // metricMapper is the part that transforms metrics. Separate from MetricsExporter since it has @@ -74,14 +88,32 @@ const ( SummaryPercentileSuffix = "_summary_percentile" ) +const ( + // batchTimeout is how long to wait to build a full batch before sending + // off what we already have. We set it to 10 seconds because GCM + // throttles us to this anyway. + batchTimeout = 10 * time.Second + + // The number of timeserieses to send to GCM in a single request. This + // is a hard limit in the GCM API, so we never want to exceed 200. + sendBatchSize = 200 +) + type labels map[string]string func (me *MetricsExporter) Shutdown(ctx context.Context) error { - close(me.mds) + // TODO: pass ctx to goroutines so that we can use its deadline + close(me.shutdownC) + c := make(chan struct{}) + go func() { + // Wait until all goroutines are done + me.goroutines.Wait() + close(c) + }() select { - case <-me.mdsDone: case <-ctx.Done(): - me.obs.log.Error("Error waiting for async CreateMetricDescriptor calls to finish.", zap.Error(ctx.Err())) + me.obs.log.Error("Error waiting for async tasks to finish.", zap.Error(ctx.Err())) + case <-c: } return me.client.Close() } @@ -126,22 +158,28 @@ func NewGoogleCloudMetricsExporter( obs: selfObservability{log: log}, mapper: metricMapper{cfg}, // We create a buffered channel for metric descriptors. - // MetricDescritpors are asycnhronously sent and optimistic. + // MetricDescritpors are asychronously sent and optimistic. // We only get Unit/Description/Display name from them, so it's ok // to drop / conserve resources for sending timeseries. - mds: make(chan *metricpb.MetricDescriptor, cfg.MetricConfig.CreateMetricDescriptorBufferSize), - mdsDone: make(chan struct{}), + metricDescriptorC: make(chan *metricpb.MetricDescriptor, cfg.MetricConfig.CreateMetricDescriptorBufferSize), + mdCache: make(map[string]*metricpb.MetricDescriptor), + timeSeriesC: make(chan *monitoringpb.TimeSeries), + shutdownC: make(chan struct{}), } // Fire up the metric descriptor exporter. + mExp.goroutines.Add(1) go mExp.exportMetricDescriptorRunner() + // Fire up the time series exporter. + mExp.goroutines.Add(1) + go mExp.exportTimeSeriesRunner() + return mExp, nil } // PushMetrics calls pushes pdata metrics to GCM, creating metric descriptors if necessary func (me *MetricsExporter) PushMetrics(ctx context.Context, m pdata.Metrics) error { - timeSeries := make([]*monitoringpb.TimeSeries, 0, m.DataPointCount()) rms := m.ResourceMetrics() for i := 0; i < rms.Len(); i++ { rm := rms.At(i) @@ -156,7 +194,9 @@ func (me *MetricsExporter) PushMetrics(ctx context.Context, m pdata.Metrics) err mes := ilm.Metrics() for k := 0; k < mes.Len(); k++ { metric := mes.At(k) - timeSeries = append(timeSeries, me.mapper.metricToTimeSeries(monitoredResource, metricLabels, metric)...) + for _, ts := range me.mapper.metricToTimeSeries(monitoredResource, metricLabels, metric) { + me.timeSeriesC <- ts + } // We only send metric descriptors if we're configured *and* we're not sending service timeseries. if me.cfg.MetricConfig.SkipCreateMetricDescriptor || me.cfg.MetricConfig.CreateServiceTimeSeries { @@ -164,12 +204,13 @@ func (me *MetricsExporter) PushMetrics(ctx context.Context, m pdata.Metrics) err } for _, md := range me.mapper.metricDescriptor(metric) { - if md != nil { - select { - case me.mds <- md: - default: - // Ignore drops, we'll catch descriptor next time around. - } + if md == nil { + continue + } + select { + case me.metricDescriptorC <- md: + default: + // Ignore drops, we'll catch descriptor next time around. } } } @@ -177,36 +218,66 @@ func (me *MetricsExporter) PushMetrics(ctx context.Context, m pdata.Metrics) err } // TODO: self observability + + return nil +} + +func (me *MetricsExporter) exportPendingTimeSerieses() { + ctx := context.Background() + + var sendSize int + if len(me.pendingTimeSerieses) < sendBatchSize { + sendSize = len(me.pendingTimeSerieses) + } else { + sendSize = sendBatchSize + } + + var ts []*monitoringpb.TimeSeries + ts, me.pendingTimeSerieses = me.pendingTimeSerieses, me.pendingTimeSerieses[sendSize:] + + var err error if me.cfg.MetricConfig.CreateServiceTimeSeries { - err := me.createServiceTimeSeries(ctx, timeSeries) - recordPointCount(ctx, len(timeSeries), m.DataPointCount()-len(timeSeries), err) - return err + err = me.createServiceTimeSeries(ctx, ts) + } else { + err = me.createTimeSeries(ctx, ts) + } + + var st string + s, _ := status.FromError(err) + st = statusCodeToString(s) + + recordPointCountDataPoint(ctx, len(ts), st) + if err != nil { + me.obs.log.Error("could not export time series to GCM", zap.Error(err)) } - err := me.createTimeSeries(ctx, timeSeries) - recordPointCount(ctx, len(timeSeries), m.DataPointCount()-len(timeSeries), err) - return err } // Reads metric descriptors from the md channel, and reports them (once) to GCM. func (me *MetricsExporter) exportMetricDescriptorRunner() { - mdCache := make(map[string]*metricpb.MetricDescriptor) + defer me.goroutines.Done() + // We iterate over all metric descritpors until the channel is closed. // Note: if we get terminated, this will still attempt to export all descriptors // prior to shutdown. - for md := range me.mds { - // Not yet sent, now we sent it. - if mdCache[md.Type] == nil { - err := me.exportMetricDescriptor(context.TODO(), md) - // TODO: Log-once on error, per metric descriptor? - if err != nil { - me.obs.log.Error("Unable to send metric descriptor.", zap.Error(err), zap.Any("metric_descriptor", md)) - continue + for { + select { + case <-me.shutdownC: + for { + // We are shutting down. Publish all the pending + // items on the channel before we stop. + select { + case md := <-me.metricDescriptorC: + me.exportMetricDescriptor(md) + default: + // Return and continue graceful shutdown. + return + } } - mdCache[md.Type] = md + + case md := <-me.metricDescriptorC: + me.exportMetricDescriptor(md) } - // TODO: We may want to compare current MD vs. previous and validate no changes. } - close(me.mdsDone) } func (me *MetricsExporter) projectName() string { @@ -215,14 +286,24 @@ func (me *MetricsExporter) projectName() string { } // Helper method to send metric descriptors to GCM. -func (me *MetricsExporter) exportMetricDescriptor(ctx context.Context, md *metricpb.MetricDescriptor) error { - // export +func (me *MetricsExporter) exportMetricDescriptor(md *metricpb.MetricDescriptor) { + if _, exists := me.mdCache[md.Type]; exists { + return + } + req := &monitoringpb.CreateMetricDescriptorRequest{ Name: me.projectName(), MetricDescriptor: md, } - _, err := me.client.CreateMetricDescriptor(ctx, req) - return err + _, err := me.client.CreateMetricDescriptor(context.Background(), req) + if err != nil { + // TODO: Log-once on error, per metric descriptor? + me.obs.log.Error("Unable to send metric descriptor.", zap.Error(err), zap.Any("metric_descriptor", md)) + return + } + + // only cache if we are successful. We want to retry if there is an error + me.mdCache[md.Type] = md } // Sends a user-custom-metric timeseries. @@ -925,3 +1006,47 @@ func mapMetricPointKind(m pdata.Metric) (metricpb.MetricDescriptor_MetricKind, m } return kind, typ } + +func (me *MetricsExporter) exportTimeSeriesRunner() { + defer me.goroutines.Done() + me.batchTimeoutTimer = time.NewTimer(batchTimeout) + for { + select { + case <-me.shutdownC: + for { + // We are shutting down. Publish all the pending + // items on the channel before we stop. + select { + case ts := <-me.timeSeriesC: + me.processItem(ts) + default: + goto DONE + } + } + DONE: + for len(me.pendingTimeSerieses) > 0 { + me.exportPendingTimeSerieses() + } + // Return and continue graceful shutdown. + return + case ts := <-me.timeSeriesC: + me.processItem(ts) + case <-me.batchTimeoutTimer.C: + me.batchTimeoutTimer.Reset(batchTimeout) + for len(me.pendingTimeSerieses) > 0 { + me.exportPendingTimeSerieses() + } + } + } +} + +func (me *MetricsExporter) processItem(ts *monitoringpb.TimeSeries) { + me.pendingTimeSerieses = append(me.pendingTimeSerieses, ts) + if len(me.pendingTimeSerieses) >= sendBatchSize { + if !me.batchTimeoutTimer.Stop() { + <-me.batchTimeoutTimer.C + } + me.batchTimeoutTimer.Reset(batchTimeout) + me.exportPendingTimeSerieses() + } +}