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().
Click to show internal directories.
Click to hide internal directories.