Documentation ¶
Index ¶
Constants ¶
View Source
const (
// TypeStr is type of detector.
TypeStr = "azure"
)
Variables ¶
This section is empty.
Functions ¶
func NewDetector ¶
NewDetector creates a new Azure metadata detector
Types ¶
type Config ¶
type Config struct { // Tags is a list of regex's to match azure instance tag keys that users want // to add as resource attributes to processed data Tags []string `mapstructure:"tags"` ResourceAttributes metadata.ResourceAttributesConfig `mapstructure:"resource_attributes"` }
func CreateDefaultConfig ¶
func CreateDefaultConfig() Config
Click to show internal directories.
Click to hide internal directories.