metricsadder

package
v0.0.0-...-0b47d81 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: AGPL-3.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(registry facade.FacadeRegistry)

Register is called to expose a package of facades onto a given registry.

Types

type MetricsAdder

type MetricsAdder interface {
	// AddMetricBatches stores the specified metric batches in the state.
	AddMetricBatches(batches params.MetricBatchParams) (params.ErrorResults, error)
}

MetricsAdder defines methods that are used to store metric batches in the state.

type MetricsAdderAPI

type MetricsAdderAPI struct {
	// contains filtered or unexported fields
}

MetricsAdderAPI implements the metrics adder interface and is the concrete implementation of the API end point.

func (*MetricsAdderAPI) AddMetricBatches

func (api *MetricsAdderAPI) AddMetricBatches(args params.MetricBatchParams) (params.ErrorResults, error)

AddMetricBatches implements the MetricsAdder interface.

Jump to

Keyboard shortcuts

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