Commit 60cf3d6
authored
Combine GCP resource detectors (#181)
* Delete individual classes for each GCP resource type
* Combine all GCP resource detectors in a single class
* Add missing javadoc
* Fix Cloud Function detection
* Rename GCPComputeResource to GCPResource
* Fix GKE cluster location detection
GKE resource should either only have the zone or the region as their location.
Updated the source from where the location attribute is extracted.
* Avoid adding malformed location to attributes in GKE1 parent ba637f0 commit 60cf3d6
File tree
16 files changed
+572
-982
lines changed- detectors/resources/src
- main
- java/com/google/cloud/opentelemetry/detectors
- resources/META-INF/services
- test/java/com/google/cloud/opentelemetry/detectors
- examples/resource/src/main/java/com/google/cloud/opentelemetry/example/resource
16 files changed
+572
-982
lines changedLines changed: 0 additions & 75 deletions
This file was deleted.
Lines changed: 0 additions & 92 deletions
This file was deleted.
Lines changed: 0 additions & 78 deletions
This file was deleted.
Lines changed: 0 additions & 76 deletions
This file was deleted.
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
96 | 101 | | |
97 | 102 | | |
98 | 103 | | |
| |||
0 commit comments