Documentation ¶
Index ¶
- Variables
- func CheckMetric(promAddress, metricName string, validMetric map[string]string) error
- func CheckMetricFromBuffer(prometheusMetricData []byte, metricName string, validMetric map[string]string) error
- func ParseReaderPrometheusMetrics(input io.Reader) (map[string]*promclient.MetricFamily, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoMetricFound = fmt.Errorf("no metric found")
)
Functions ¶
func CheckMetric ¶
func CheckMetricFromBuffer ¶ added in v0.0.17
func ParseReaderPrometheusMetrics ¶ added in v0.0.17
func ParseReaderPrometheusMetrics(input io.Reader) (map[string]*promclient.MetricFamily, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.