Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GceResource ¶
func ResourceAttributesToMonitoredResource ¶
func ResourceAttributesToMonitoredResource(attrs ReadOnlyAttributes) *GceResource
ResourceAttributesToMonitoredResource converts from a set of OTEL resource attributes into a GCP monitored resource type and label set. E.g. This may output `gce_instance` type with appropriate labels.
type ReadOnlyAttributes ¶
ReadOnlyAttributes is an interface to abstract between pulling attributes from PData library or OTEL SDK.
Click to show internal directories.
Click to hide internal directories.