About 50 results
Open links in new tab
  1. How can I group labels in a Prometheus query? - Stack Overflow

    Jul 18, 2017 · The inner label_replace copies all values from group into new_group, the outer overwrites those which match "misc group.+" with "misc", and we then sum by the "new_group" label.

  2. Prometheus group by substring of label - Stack Overflow

    Mar 11, 2018 · I am trying to solve a problem of making a sum and group by query in Prometheus on a metric where the labels assigned to the metric values to unique to my sum and group by …

  3. How can I 'join' two metrics in a Prometheus query?

    Jun 9, 2017 · It is a good practice in Prometheus ecosystem to expose additional labels, which can be joined to multiple metrics, via a separate info -like metric as explained in this article. For example, …

  4. Error when using group_left in Prometheus - Stack Overflow

    May 16, 2019 · The group_left() modifier expects that the right-hand side of * operator (and any other operator) contains only a single time series per each label=value set specified inside on() modifier.

  5. Increasing Prometheus storage retention - Stack Overflow

    Feb 15, 2024 · Prometheus supports remote_write mechanism for replicating data to long-term storage systems, so the data could be queried later from these systems. The most promising systems are …

  6. Forbidden resource in API group at the cluster scope

    Apr 18, 2021 · User "system:serviceaccount:default:default" cannot list resource "services" in API group "" at the cluster scope" Something running with ServiceAccount default in namespace default is …

  7. Prometheus Query - Group by values and return a count

    Aug 31, 2022 · I have a metric that returns a few unique values for each timeseries. (This is from Prometheus Blackbox Exporter). See example below How can I group these by value and return a …

  8. Prometheus - Aggregate and relabel by regex - Stack Overflow

    Jul 31, 2018 · I have the exact same problem and didn't find a solution do do this in this stage (I guess it is not possible). However, It is possible to add an additional label and use the regex in the relabel …

  9. prometheus - Alertmanager, different interval for different alert rules ...

    May 20, 2021 · I'm using alertmanager to get alerts for prometheus metrics, I have different alert rules for different metrics, is it possible to set different interval for each alert rules, for example for metri...

  10. Prometheus query to average over time by a specific label

    Feb 6, 2020 · I need to query a metric and find out the average value of the metric over a period of 24hrs. But using using avg_over_time directly on the metric won't work. There is a specific ipaddr …