package
7.17.28
Repository: https://github.com/elastic/beats.git
Documentation: pkg.go.dev

# Functions

EventsMapping maps the usage details and forecast data to a list of metricbeat events to send to Elasticsearch.
New creates a new instance of the MetricSet.
NewClient instantiates the an Azure monitoring client.
NewMockClient instantiates a new client with the mock billing service.
NewService builds a new UsageService using the given config.

# Structs

Client represents the azure client which will make use of the azure sdk go metrics related clients.
MetricSet holds any configuration or state information.
MockService mock for the azure monitor services.
TimeIntervalOptions represents the options used to retrieve the billing data.
Usage contains the usage details and forecast values.
BillingService service wrapper to the azure sdk for go.

# Interfaces

Service interface for the azure monitor service and mock for testing.