azure

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arguments

type Arguments struct {
	Subscriptions            []string `alloy:"subscriptions,attr"`
	ResourceGraphQueryFilter string   `alloy:"resource_graph_query_filter,attr,optional"`
	ResourceType             string   `alloy:"resource_type,attr"`
	Metrics                  []string `alloy:"metrics,attr"`
	MetricAggregations       []string `alloy:"metric_aggregations,attr,optional"`
	Timespan                 string   `alloy:"timespan,attr,optional"`
	IncludedDimensions       []string `alloy:"included_dimensions,attr,optional"`
	IncludedResourceTags     []string `alloy:"included_resource_tags,attr,optional"`
	MetricNamespace          string   `alloy:"metric_namespace,attr,optional"`
	MetricNameTemplate       string   `alloy:"metric_name_template,attr,optional"`
	MetricHelpTemplate       string   `alloy:"metric_help_template,attr,optional"`
	AzureCloudEnvironment    string   `alloy:"azure_cloud_environment,attr,optional"`
	ValidateDimensions       bool     `alloy:"validate_dimensions,attr,optional"`
	Regions                  []string `alloy:"regions,attr,optional"`
}

func (*Arguments) Convert

func (a *Arguments) Convert() *azure_exporter.Config

func (*Arguments) SetToDefault

func (a *Arguments) SetToDefault()

SetToDefault implements syntax.Defaulter.

func (*Arguments) Validate

func (a *Arguments) Validate() error

Validate implements syntax.Validator.

Jump to

Keyboard shortcuts

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