ec2

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

Types

type Config added in v0.18.0

type Config struct {
	// Tags is a list of regex's to match ec2 instance tag keys that users want
	// to add as resource attributes to processed data
	Tags []string `mapstructure:"tags"`
}

Config defines user-specified configurations unique to the EC2 detector

type Detector

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

func (*Detector) Detect

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

Jump to

Keyboard shortcuts

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