juju: github.com/juju/juju/api/metricsadder Index | Files

package metricsadder

import "github.com/juju/juju/api/metricsadder"

Package metricsadder contains an implementation of the api facade to add metrics to the state.

Index

Package Files

client.go

type Client Uses

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

Client provides access to the metrics adder API.

func NewClient Uses

func NewClient(caller base.APICaller) *Client

NewClient creates a new client for accessing the metricsadder API.

func (*Client) AddMetricBatches Uses

func (c *Client) AddMetricBatches(batches []params.MetricBatchParam) (map[string]error, error)

AddMetricBatches implements the MetricsAdderClient interface.

type MetricsAdderClient Uses

type MetricsAdderClient interface {
    // AddMetricBatches stores specified metric batches in the state.
    AddMetricBatches(batches []params.MetricBatchParam) (map[string]error, error)
}

MetricsAdderClient defines the methods on the metricadder API end point.

Package metricsadder imports 3 packages (graph) and is imported by 3 packages. Updated 2019-08-23. Refresh now. Tools for package owners.