On Mon, 24 May 2021 at 11:14, Алексей Широких <[email protected]> wrote:
> Hello, we have a problem with the Pushgateway. > Almost everyone can send metrics to it, and we can't enforce any policies > on data ingest. > We have an internal agreement that all metrics must have at least a team > label or, better have team and product labels. > > I was thinking about filtering data on Nginx proxy, but I can see that > labels can be set in URL or post data. It will be tricky to make such > filtering work as expected. > > Nay ideas on how to enforce that kind of policy? You could drop any metrics without that label at scrape time with metric_relabel_configs. -- Brian Brazil www.robustperception.io -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAHJKeLr8hXhdz43vUHOL%2B8mXp3b2tjDJ-yjLX35DkddtJkf5wA%40mail.gmail.com.

