Documentation ¶
Overview ¶
Copyright (c) F5, Inc.
This source code is licensed under the Apache License, Version 2.0 license found in the LICENSE file in the root directory of this source tree.
Copyright (c) F5, Inc.
This source code is licensed under the Apache License, Version 2.0 license found in the LICENSE file in the root directory of this source tree.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertPrometheus ¶
func ConvertPrometheus(input model.DataEntry) (metricdata.Metrics, error)
ConvertPrometheus converts metrics data points from our internal model to OTel format.
Types ¶
type InstrumentPointConverter ¶
type InstrumentPointConverter[N float64 | int64] func(input model.DataEntry) metricdata.Aggregation
type Scraper ¶
type Scraper struct {
// contains filtered or unexported fields
}
Scraper is a Prometheus MetricsProducer.
func NewScraper ¶
NewScraper initializes a new Prometheus MetricsProducer.
func (*Scraper) Type ¶
func (s *Scraper) Type() model.MetricsSourceType
Click to show internal directories.
Click to hide internal directories.