File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,9 +37,9 @@ tp := trace.NewTracerProvider(
37
37
## Setting Kubernetes attributes
38
38
39
39
Previous iterations of GCP resource detection attempted to detect
40
- container.name, k8s.pod.name and k8s.namespace.name. When using this detector,
40
+ ` container.name ` , ` k8s.pod.name ` and ` k8s.namespace.name ` . When using this detector,
41
41
you should use this in your Pod Spec to set these using
42
- OTEL_RESOURCE_ATTRIBUTES:
42
+ ` OTEL_RESOURCE_ATTRIBUTES ` :
43
43
44
44
``` yaml
45
45
env :
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ package gcp // import "go.opentelemetry.io/contrib/detectors/gcp"
16
16
17
17
import "github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp"
18
18
19
- // gcpDetector can detect attributes of GCP environments
19
+ // gcpDetector can detect attributes of GCP environments.
20
20
type gcpDetector interface {
21
21
ProjectID () (string , error )
22
22
CloudPlatform () gcp.Platform
You can’t perform that action at this time.
0 commit comments