telexporter

package
v0.0.0-...-adae3a6 Latest Latest
Warning

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

Go to latest
Published: May 22, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrPrometheusUnsupportedAggregator = prometheus.ErrUnsupportedAggregator

ErrUnsupportedAggregator is returned for unrepresentable aggregator types.

Functions

This section is empty.

Types

type PrometheusConfig

type PrometheusConfig = prometheus.Config

Config is a set of configs for the tally reporter.

type PrometheusExporter

type PrometheusExporter = prometheus.Exporter

PrometheusExporter supports Prometheus pulls. It does not implement the sdk/export/metric.Exporter interface--instead it creates a pull controller and reads the latest checkpointed data on-scrape.

func NewPrometheus

func NewPrometheus(config PrometheusConfig, ctrl *telsdk.BasicController) (*PrometheusExporter, error)

NewPrometheus returns a new Prometheus exporter using the configured metric controller. See controller.New().

Jump to

Keyboard shortcuts

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