ecs

package
v0.91.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TypeStr is type of detector.
	TypeStr = "ecs"
)

Variables

This section is empty.

Functions

Types

type Config added in v0.81.0

type Config struct {
	ResourceAttributes metadata.ResourceAttributesConfig `mapstructure:"resource_attributes"`
}

func CreateDefaultConfig added in v0.81.0

func CreateDefaultConfig() Config

type Detector

type Detector struct {
	// contains filtered or unexported fields
}

func (*Detector) Detect

func (d *Detector) Detect(context.Context) (resource pcommon.Resource, schemaURL string, err error)

Detect records metadata retrieved from the ECS Task Metadata Endpoint (TMDE) as resource attributes TODO(willarmiros): Replace all attribute fields and enums with values defined in "conventions" once they exist

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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