Skip to content

Commit

Permalink
Update test fixtures with additional cases
Browse files Browse the repository at this point in the history
  • Loading branch information
psx95 committed Jun 30, 2023
1 parent 2f529b7 commit 5f8812c
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,32 @@
"startTimeUnixNano": "11651379494838206464",
"timeUnixNano": "1687377293673694987",
"asInt": "0"
},
{
"attributes": [
{
"key": "key",
"value": {
"stringValue": "value"
}
}
],
"startTimeUnixNano": "1688083417576000000",
"timeUnixNano": "1688083820000000000",
"asInt": "393"
},
{
"attributes": [
{
"key": "key",
"value": {
"stringValue": "value"
}
}
],
"startTimeUnixNano": "1688083940000000000",
"timeUnixNano": "1688084000000000000",
"asInt": "-272"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,66 @@
}
],
"unit": "{gcp.BOOL}"
},
{
"metric": {
"type": "workload.googleapis.com/observer-boolean-collector",
"labels": {
"key": "value",
"service_name": "unknown_service:sample"
}
},
"resource": {
"type": "generic_node",
"labels": {
"location": "global",
"namespace": "",
"node_id": ""
}
},
"metricKind": "GAUGE",
"valueType": "BOOL",
"points": [
{
"interval": {
"endTime": "1970-01-01T00:00:00Z"
},
"value": {
"boolValue": true
}
}
],
"unit": "{gcp.BOOL}"
},
{
"metric": {
"type": "workload.googleapis.com/observer-boolean-collector",
"labels": {
"key": "value",
"service_name": "unknown_service:sample"
}
},
"resource": {
"type": "generic_node",
"labels": {
"location": "global",
"namespace": "",
"node_id": ""
}
},
"metricKind": "GAUGE",
"valueType": "BOOL",
"points": [
{
"interval": {
"endTime": "1970-01-01T00:00:00Z"
},
"value": {
"boolValue": true
}
}
],
"unit": "{gcp.BOOL}"
}
]
}
Expand Down Expand Up @@ -79,7 +139,7 @@
"startTime": "1970-01-01T00:00:00Z"
},
"value": {
"int64Value": "1"
"int64Value": "3"
}
}
]
Expand Down

0 comments on commit 5f8812c

Please sign in to comment.