Re: [prometheus-users] Number of metrics per job

2020-06-30 Thread Tomer Leibovich
Can anyone share a promql query that can display the number of metrics per job? -- 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 prometheus-users+unsubscr...@

Re: [prometheus-users] Number of metrics per job

2020-06-23 Thread Tomer Leibovich
Hi, more to the promql query On Tue, 23 Jun 2020 at 18:13 Mat Arye wrote: > I think https://prometheus.io/docs/concepts/jobs_instances/ can help. It > sounds like either you are looking > for scrape_samples_post_metric_relabeling or a promql query like > `{job=""}` which would return all the lat

Re: [prometheus-users] Resources limits

2020-06-17 Thread Tomer Leibovich
Thanks, so if I cannot reduce the amount of pods, it’s better to change the scraper interval from default of 30s to 60s? -- 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

[prometheus-users] Resources limits

2020-06-17 Thread Tomer Leibovich
I’m using Prometheus-Operator in my cluster and encountered an issue with Prometheus pod that consumed 20GB RAM when my cluster grew and consisted of 400 pods, eventually Prometheus chocked the server and I had to terminate it. How much memory should I allocate to the pod in order to keep it runn

[prometheus-users] Re: Help with understanding relabel config

2020-06-17 Thread Tomer Leibovich
Nothing? Any help? -- 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 prometheus-users+unsubscr...@googlegroups.com. To view this discussion on the web visit h

[prometheus-users] Re: Help with understanding relabel config

2020-06-10 Thread Tomer Leibovich
drop using labeldrop? On Monday, June 8, 2020 at 6:53:25 PM UTC+3, Tomer Leibovich wrote: > > Hi, > > I'm monitoring my K8s environment using prometheus-operator chart. > I'm trying to understand how can I drop certain metrics, for example, if I > do > kube_pod_i

[prometheus-users] Help with understanding relabel config

2020-06-08 Thread Tomer Leibovich
Hi, I'm monitoring my K8s environment using prometheus-operator chart. I'm trying to understand how can I drop certain metrics, for example, if I do kube_pod_info{namespace="monitoring"} I will have the following output: kube_pod_info{created_by_kind="DaemonSet",created_by_name="prom-operator-p