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="<job-name>"}` which would return all the latest metrics and series
for a particular job.

On Tue, Jun 23, 2020 at 8:24 AM [email protected] <
[email protected]> wrote:

> How can I get the number of metrics each job is creating?
>
> --
> 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/8207b88c-2756-4ae1-bdfa-08e08bc71f0bn%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/8207b88c-2756-4ae1-bdfa-08e08bc71f0bn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Mat Arye, Timescale-Prometheus
<https://github.com/timescale/timescale-prometheus> Team Lead
See what we're working on (feedback welcome!): tsdb.co/prom-design-doc

-- 
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/CADsUR0DjTt48mOiwmba-uQ4e3ShKeQkhCtk5cpL4O04GQf7ohg%40mail.gmail.com.

Reply via email to