gcp

package
v0.58.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TypeStr is type of detector.
	TypeStr = "gcp"
	// 'gke' and 'gce' detectors are replaced with the unified 'gcp' detector
	// TODO(#10348): Remove these after the v0.54.0 release.
	DeprecatedGKETypeStr = "gke"
	DeprecatedGCETypeStr = "gce"
)

Variables

This section is empty.

Functions

func DeduplicateDetectors added in v0.53.0

func DeduplicateDetectors(set component.ProcessorCreateSettings, detectors []string) []string

DeduplicateDetectors ensures only one of ['gcp','gke','gce'] are present in the list of detectors. Currently, users configure both GCE and GKE detectors when running on GKE. Resource merge would fail in this case if we don't deduplicate, which would break users. TODO(#10348): Remove this function after the v0.54.0 release.

func NewDetector added in v0.53.0

NewDetector returns a detector which can detect resource attributes on: * Google Compute Engine (GCE). * Google Kubernetes Engine (GKE). * Google App Engine (GAE). * Cloud Run. * Cloud Functions.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL