Documentation ¶
Index ¶
- func ExtractLabels(metric *dto.Metric) []prompb.Label
- func MetricFamiliesToProtoWriteRequest(metricFamilies map[string]*dto.MetricFamily) *prompb.WriteRequest
- func ScrapeTarget(targetURL string) (string, map[string]*dto.MetricFamily, error)
- func SetPodTargets(pods []*corev1.Pod, targetUrl string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MetricFamiliesToProtoWriteRequest ¶
func MetricFamiliesToProtoWriteRequest(metricFamilies map[string]*dto.MetricFamily) *prompb.WriteRequest
func ScrapeTarget ¶
ScrapeTarget scrapes an http endpoint for prometheus metrics
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.