Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{ Timespan: "PT1M", MetricNameTemplate: "azure_{type}_{metric}_{aggregation}_{unit}", MetricHelpTemplate: "Azure metric {metric} for {type} with aggregation {aggregation} as {unit}", IncludedResourceTags: []string{"owner"}, AzureCloudEnvironment: "azurecloud", ValidateDimensions: false, }
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { Subscriptions []string `river:"subscriptions,attr"` ResourceGraphQueryFilter string `river:"resource_graph_query_filter,attr,optional"` ResourceType string `river:"resource_type,attr"` Metrics []string `river:"metrics,attr"` MetricAggregations []string `river:"metric_aggregations,attr,optional"` Timespan string `river:"timespan,attr,optional"` IncludedDimensions []string `river:"included_dimensions,attr,optional"` IncludedResourceTags []string `river:"included_resource_tags,attr,optional"` MetricNamespace string `river:"metric_namespace,attr,optional"` MetricNameTemplate string `river:"metric_name_template,attr,optional"` MetricHelpTemplate string `river:"metric_help_template,attr,optional"` AzureCloudEnvironment string `river:"azure_cloud_environment,attr,optional"` ValidateDimensions bool `river:"validate_dimensions,attr,optional"` Regions []string `river:"regions,attr,optional"` }
func (*Arguments) Convert ¶
func (a *Arguments) Convert() *azure_exporter.Config
func (*Arguments) SetToDefault ¶
func (a *Arguments) SetToDefault()
SetToDefault implements river.Defaulter.
Click to show internal directories.
Click to hide internal directories.