Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCloudFunction ¶ added in v1.5.0
NewCloudFunction will return a GCP Cloud Function resource detector. Deprecated: Use gcp.NewDetector() instead, which sets the same resource attributes.
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 ¶ added in v0.24.0
func SemVersion() string
SemVersion is the semantic version to be supplied to tracer/meter creation.
Types ¶
type CloudRun ¶ 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 ¶ 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 ¶
type GCE struct{}
GCE collects resource information of GCE computing instances. Deprecated: Use gcp.NewDetector() instead, which sets the same resource attributes on GCE.