Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Commit

Permalink
Add gae_instance resources to testdata for metrics_proto_api_test.
Browse files Browse the repository at this point in the history
  • Loading branch information
imccarten1 committed Feb 20, 2020
1 parent 41bdf06 commit cb016a8
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 2 deletions.
18 changes: 18 additions & 0 deletions testdata/Resources/in.txt
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,21 @@ labels: <
key: "k8s.pod.name"
value: "pod1"
>
---
type: "gae_instance"
labels: <
key: "appengine.service.id"
value: "default"
>
labels: <
key: "appengine.version.id"
value: "version1"
>
labels: <
key: "appengine.instance.id"
value: "inst1"
>
labels: <
key: "cloud.region"
value: "region1"
>
19 changes: 18 additions & 1 deletion testdata/Resources/out.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,21 @@ labels: <
>
---
type: "global"

---
type: "gae_instance"
labels: <
key: "module_id"
value: "default"
>
labels: <
key: "version_id"
value: "version1"
>
labels: <
key: "instance_id"
value: "inst1"
>
labels: <
key: "location"
value: "region1"
>
19 changes: 19 additions & 0 deletions testdata/ResourcesWithMissingFields/in.txt
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,22 @@ labels: <
key: "k8s.pod.name"
value: "pod1"
>
---
type: "gae_instance"
#labels: <
# key: "appengine.service.id"
# value: "default"
#>
labels: <
key: "appengine.version.id"
value: "version1"
>
labels: <
key: "appengine.instance.id"
value: "inst1"
>
labels: <
key: "cloud.region"
value: "region1"
>

3 changes: 2 additions & 1 deletion testdata/ResourcesWithMissingFields/out.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ type: "global"
type: "global"
---
type: "global"

---
type: "global"

0 comments on commit cb016a8

Please sign in to comment.