resource

package
v0.0.0-...-aa391e3 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecutableName

func ExecutableName() string

func ParseResource

func ParseResource(ctx context.Context, c *Config) (res *resource.Resource, err error)

Types

type Config

type Config struct {
	Service   sql.NullString //service name
	Container sql.NullBool   //container info
	Host      sql.NullBool   //host info
	HostId    sql.NullBool   //host id
	Env       sql.NullBool   //env flags
	Process   sql.NullBool   //process flags
	SDK       sql.NullBool   //open telemetry sdk flags
}

Jump to

Keyboard shortcuts

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