package
2.0.0-20241209100706-e3a3b7c07d26
Repository: https://github.com/gophercloud/utils.git
Documentation: pkg.go.dev

# Packages

measures unit tests.

# Functions

BatchCreateMetrics requests the creation of a new measures for different metrics.
BatchCreateResourcesMetrics requests the creation of new measures inside metrics via resource IDs and metric names.
Create requests the creation of a new measures in the single Gnocchi metric.
ExtractMeasures interprets the results of a single page from a List() call, producing a slice of Measures structs.
List returns a Pager which allows you to iterate over a collection of measures.

# Structs

BatchCreateMetricsResult represents the result of a batch create metrics operation.
BatchCreateResourcesMetricsOpts specifies a parameters for creating measures inside metrics via resource IDs and metric names.
BatchCreateResourcesMetricsResult represents the result of a batch create via resource IDs operation.
BatchResourcesMetricsOpts represents parameters of a single resource of the BatchCreateResourcesMetrics request.
CreateOpts specifies a parameters for creating measures for a single metric.
CreateResult represents the result of a create operation.
ListOpts allows to provide additional options to the Gnocchi measures List request.
Measure is an datapoint thats is composed with a timestamp and a value.
MeasureOpts represents options of a single measure that can be created in the Gnocchi.
MeasurePage is the page returned by a pager when traversing over a collection of measures.
MetricOpts represents measures of a single metric of the BatchCreateMetrics request.
ResourcesMetricsOpts represents measures of a single metric of the resource from BatchResourcesMetricsOpts.

# Interfaces

BatchCreateMetricsOptsBuilder is needed to add measures to the BatchCreateMetrics request.
BatchCreateResourcesMetricsOptsBuilder is needed to add measures to the BatchCreateResourcesMetrics request.
CreateOptsBuilder is needed to add measures to the Create request.
ListOptsBuilder allows extensions to add additional parameters to the List request.

# Type aliases

BatchCreateMetricsOpts specifies a parameters for creating measures for different metrics in a single request.