Documentation ¶
Index ¶
- func NewCloudFunction() resource.Detectordeprecated
- func NewDetector() resource.Detector
- func SemVersion() stringdeprecated
- func Version() string
- type CloudRundeprecated
- func NewCloudRun() *CloudRundeprecated
- type GCEdeprecated
- type GKEdeprecated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCloudFunction
deprecated
added in
v1.5.0
func NewDetector ¶ added in v1.8.0
NewDetector returns a resource detector which detects resource attributes on: * Google Compute Engine (GCE). * Google Kubernetes Engine (GKE). * Google App Engine (GAE). * Cloud Run. * Cloud Functions.
func SemVersion
deprecated
added in
v0.24.0
Types ¶
type CloudRun
deprecated
added in
v0.15.0
type CloudRun struct {
// contains filtered or unexported fields
}
CloudRun collects resource information of Cloud Run instance.
Deprecated: Use gcp.NewDetector() instead. Note that it sets faas.* resource attributes instead of service.* attributes.
func NewCloudRun
deprecated
added in
v0.15.0
func NewCloudRun() *CloudRun
NewCloudRun creates a CloudRun detector.
Deprecated: Use gcp.NewDetector() instead. Note that it sets faas.* resource attributes instead of service.* attributes.
type GCE
deprecated
type GCE struct{}
GCE collects resource information of GCE computing instances.
Deprecated: Use gcp.NewDetector() instead, which sets the same resource attributes on GCE.
type GKE
deprecated
type GKE struct{}
GKE collects resource information of GKE computing instances.
Deprecated: Use gcp.NewDetector() instead, which does NOT detect container, pod, and namespace attributes. Set those using name using the OTEL_RESOURCE_ATTRIBUTES env var instead.