gcp

package
v0.72.3 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2025 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HostnameFromAttrs

func HostnameFromAttrs(attrs pcommon.Map) (string, bool)

HostnameFromAttrs gets the GCP Integration hostname from attributes if available.

Types

type HostInfo

type HostInfo struct {
	HostAliases []string
	GCPTags     []string
}

HostInfo holds the GCP host information.

func HostInfoFromAttrs

func HostInfoFromAttrs(attrs pcommon.Map) (hostInfo *HostInfo)

HostInfoFromAttrs gets GCP host info from attributes following OpenTelemetry semantic conventions

Jump to

Keyboard shortcuts

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