Documentation
¶
Overview ¶
Package azuremonitorreceiver scrapes Azure Monitor API for available metrics.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ArmClient ¶
type ArmClient interface {
NewListPager(options *armresources.ClientListOptions) *runtime.Pager[armresources.ClientListResponse]
}
type Config ¶
type Config struct { scraperhelper.ScraperControllerSettings `mapstructure:",squash"` MetricsBuilderConfig metadata.MetricsBuilderConfig `mapstructure:",squash"` SubscriptionID string `mapstructure:"subscription_id"` TenantID string `mapstructure:"tenant_id"` ClientID string `mapstructure:"client_id"` ClientSecret string `mapstructure:"client_secret"` ResourceGroups []string `mapstructure:"resource_groups"` Services []string `mapstructure:"services"` CacheResources float64 `mapstructure:"cache_resources"` CacheResourcesDefinitions float64 `mapstructure:"cache_resources_definitions"` MaximumNumberOfMetricsInACall int `mapstructure:"maximum_number_of_metrics_in_a_call"` AppendTagsAsAttributes bool `mapstructure:"append_tags_as_attributes"` }
Config defines the configuration for the various elements of the receiver agent.
type MetricsDefinitionsClientInterface ¶
type MetricsDefinitionsClientInterface interface {
NewListPager(resourceURI string, options *armmonitor.MetricDefinitionsClientListOptions) *runtime.Pager[armmonitor.MetricDefinitionsClientListResponse]
}
type MetricsValuesClient ¶
type MetricsValuesClient interface { List(ctx context.Context, resourceURI string, options *armmonitor.MetricsClientListOptions) ( armmonitor.MetricsClientListResponse, error, ) }
Click to show internal directories.
Click to hide internal directories.