Hi,
Not sure what I'm doing wrong when trying to divide
*count by (__name__) ({job="kubernetes-pods", app="scylla"})*
scrape_series_added{} 70
scrape_samples_scraped{} 70
scylla_node_operation_mode{} 70
scrape_samples_post_metric_relabeling{} 70
scrape_duration_seconds{} 70
up{} 70
When I try to divide by 70 (to find number of time series per pod), I get
an error:
*count by (__name__) ({job="kubernetes-pods", app="scylla"}) / 70*
*Error executing query: vector cannot contain metrics with the same
labelset*
how can I get a basic divide working? so that I end up with something like:
scrape_series_added{} 1
scrape_samples_scraped{} 1
scylla_node_operation_mode{} 1
scrape_samples_post_metric_relabeling{} 1
scrape_duration_seconds{} 1
up{} 1
Basically I want to know exactly how many time series per metric each "app"
is generating per pod
Thanks
Dan
--
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/d3562084-7a0f-4012-82d2-218036b730a5n%40googlegroups.com.