[prometheus-users] Re: label_replace - extract string from label_value

2021-02-01 Thread Matthias Rieber
Hello, On Mon, 1 Feb 2021, Nabil L. wrote: Any help ? :) maybe: sum without (image) (label_replace(kube_pod_container_info, "release", "$1", "image", ".*:([^:]*)")) Regards, Matthias Le lundi 1 février 2021 à 21:10:14 UTC+1, Nabil L. a écrit : Hi Folks, I wonder if someone know how

[prometheus-users] Re: label_replace - extract string from label_value

2021-02-01 Thread Nabil L.
Any help ? :) Le lundi 1 février 2021 à 21:10:14 UTC+1, Nabil L. a écrit : > Hi Folks, > > I wonder if someone know how to extract a string from a label_value and > using the the label_replace . > > For example I have the following metric, which return > > *kube_pod_container_info* which

[prometheus-users] What is meant by 3 phases of ICMP in Prometheus?

2021-02-01 Thread Isuru Dhananjaya
There are 3 phases of ICMP in Prometheus while we are probing data via BlackBox exporter. 1. resolve 2. RTT 3. setup What is meant by each of these? (attaching) probe_icmp_duration_seconds{phase="resolve"} 1.4725e-05 probe_icmp_duration_seconds{phase="rtt"} 0.000237673

[prometheus-users] label_replace - extract string from label_value

2021-02-01 Thread Nabil L.
Hi Folks, I wonder if someone know how to extract a string from a label_value and using the the label_replace . For example I have the following metric, which return *kube_pod_container_info* which return the following metric: {container="d2conf",

Re: [prometheus-users] Encryption support for storing basic auth/bearer token in prometheus.yaml

2021-02-01 Thread Christian Hoffmann
Hi, On 2021-02-01 14:39, vinoth dharmalingam wrote: We see the basic auth/bearer token details are being stored in the prometheus.yaml/password file in a plain text for target scraping. Our cyber process does not allow this plain storage. Are there ways for storing it in the encrypted format

[prometheus-users] Encryption support for storing basic auth/bearer token in prometheus.yaml

2021-02-01 Thread vinoth dharmalingam
Hello, We see the basic auth/bearer token details are being stored in the prometheus.yaml/password file in a plain text for target scraping. Our cyber process does not allow this plain storage. Are there ways for storing it in the encrypted format similar to how bcrypt encryption supported in

Re: [prometheus-users] looks like rate/irate/delta/increase are not calculating consistent

2021-02-01 Thread Alex
Within data series of one scrape source this still makes sense when I am not mistaken. You could align the data to its interval (which is I think done anyway when I understand this correctly: https://promlabs.com/blog/2020/06/18/the-anatomy-of-a-promql-query). But even if one datapoint would be

Re: [prometheus-users] looks like rate/irate/delta/increase are not calculating consistent

2021-02-01 Thread Stuart Clark
On 2021-02-01 12:38, Alex wrote: Thank you both for the detailed explanation and the additional material on this topic. I do now understand why I get the results I get. I however think the method used for calculation can be improved to provide more precise results and provide a better match to

Re: [prometheus-users] looks like rate/irate/delta/increase are not calculating consistent

2021-02-01 Thread Alex
Thank you both for the detailed explanation and the additional material on this topic. I do now understand why I get the results I get. I however think the method used for calculation can be improved to provide more precise results and provide a better match to expectations. I propose one

[prometheus-users] Alert rules

2021-02-01 Thread Антон Зубков
Hi, I'm new in Prometheus. Now I try configure alerts and have problem. Have 2 rules: alert.rules1.yml and alert.rules2.yml *alert.rules1.yml* *groups:* * - name: iDrac* *rules:* *# ICMP ##* *- alert: host_is_not_available_via_icmp* * expr:

Re: [prometheus-users] Is there any way to disable the tsdb isolation?

2021-02-01 Thread Julien Pivotto
On 31 Jan 23:59, zhao wang wrote: > I use Cortex to store the metrics. Queries will go through Cortex and > Prometheus doesn't need to process the requests. > So is there any way to disable the tsdb isolation to save the memory usage? Hello, Isolation can't be disabled at the moment. Stay