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
func NewDetector ¶
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
Types ¶
type CloudRun
deprecated
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
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.