GoogleCloudPlatform / GoogleCloudPlatform/k8s-stackdriver

[prometheus-to-sd] Support for prometheus /federate endpoint

Open
#30 3 comments 6 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
409
Forks
236
Avg merge
2h 34m
Merged PRs (30d)
9

Description

I'm interested in scarping metrics of the prometheus /federate endpoint. In order to do so I need to be able to configure the scape endpoint as well as supply some match expressions.

Thus I would like to extend the source URI by a metrics path and add the match parameter. Something like:
source=prometheus:http://localhost:9090/federate?match[]={job="prometheus"}&match[]={name=~"job:.*"}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.