Documentation ¶
Index ¶
Constants ¶
View Source
const (
// TypeStr is type of detector.
TypeStr = "azure"
)
Variables ¶
This section is empty.
Functions ¶
func NewDetector ¶
func NewDetector(p processor.CreateSettings, dcfg internal.DetectorConfig) (internal.Detector, error)
NewDetector creates a new Azure metadata detector
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
Click to show internal directories.
Click to hide internal directories.