Re: [prometheus-users] Re: Pushgateway or StatsD

2020-05-19 Thread 'Albert Aleksandrov' via Prometheus Users
tive, the metrics staying > constant when there are no new uploads makes sense: the *total* does not > stop existing just because it did not increase in the last minute. > > > > /MR > > On Sat, May 16, 2020, 19:06 'Albert Aleksandrov' via Prometheus Users < >

[prometheus-users] Re: How to see in Grafana records from Elasticsearch?

2020-05-18 Thread &#x27;Albert Aleksandrov&#x27; via Prometheus Users
Oh, you're right. Sorry for that понедельник, 18 мая 2020 г., 15:26:09 UTC+3 пользователь Brian Candler написал: > > I can't work out what the connection is with Prometheus - could you > explain please? > -- You received this message because you are subscribed to the Google Groups "Prometheus

[prometheus-users] Re: Pushgateway or StatsD

2020-05-16 Thread &#x27;Albert Aleksandrov&#x27; via Prometheus Users
One minute later I thought about deleting metrics from registry after being scraped and registering it back when upload appear. суббота, 16 мая 2020 г., 19:59:28 UTC+3 пользователь Albert Aleksandrov написал: > > Hi all! > > (*Django app*) > > We have a business entity called *upload*. It has su

[prometheus-users] Pushgateway or StatsD

2020-05-16 Thread &#x27;Albert Aleksandrov&#x27; via Prometheus Users
Hi all! (*Django app*) We have a business entity called *upload*. It has such parameters (labels) as 1. *series* (series1, series2, etc), 2. *processing_duration* (in seconds)*, * 3. *status *(success, running, terminated), 4. some another labels. With Prometheus we would like to count: 1. up

[prometheus-users] Right way to implement prometheus_client.multiprocess.MultiProcessCollector

2020-05-11 Thread &#x27;Albert Aleksandrov&#x27; via Prometheus Users
Hi all! I have: 1. django app run with python manage.py runserver 2. celery worker run with celery -A project worker -l info 3. celery beat run with celery -A project beat -l info They will be deployed in their own pods in kubernetes. */metrics* endpoint is exposed in Django app but metri

[prometheus-users] /mertics endpoint in Django process but metrics gathering in Celery process

2020-05-11 Thread &#x27;Albert Aleksandrov&#x27; via Prometheus Users
Hi all! I have: 1. django app run with python manage.py runserver 2. celery worker run with celery -A project worker -l info 3. celery beat run with celery -A project beat -l info They will be deployed in their own pods in kubernetes. */metrics* endpoint is exposed in Django app but metrics

Re: [prometheus-users] Blackbox exporter probe with two requests

2020-05-06 Thread &#x27;Albert Aleksandrov&#x27; via Prometheus Users
Oh, just noticed the website www.robustperception.io in your signature. I often visit it and like it) среда, 6 мая 2020 г., 17:09:42 UTC+3 пользователь Brian Brazil написал: > > On Wed, 6 May 2020 at 14:53, 'Albert Aleksandrov' via Prometheus Users < > promethe...@go

[prometheus-users] Blackbox exporter probe with two requests

2020-05-06 Thread &#x27;Albert Aleksandrov&#x27; via Prometheus Users
Hello everyone! Could you say please whether it is possible to create a probe with two requests? For example the first probe makes POST-request with some data. With that data at backend a job is being created. The request returns a job id. In some time the second request checks if the job was f

[prometheus-users] Re: Replace absent values with zeros

2020-05-04 Thread &#x27;Albert Aleksandrov&#x27; via Prometheus Users
Thank you for this tip суббота, 2 мая 2020 г., 17:43:58 UTC+3 пользователь Łukasz Mierzwa написал: > > You could also just tell grafana to render null values as zeros. There's a > "Null value" select on the visualisation tab: > > [image: Screen Shot 2020-05-02 at 15.41.45.png] > > > > > > > > > >

[prometheus-users] Re: Replace absent values with zeros

2020-05-04 Thread &#x27;Albert Aleksandrov&#x27; via Prometheus Users
Thank you for your answer and cautions суббота, 2 мая 2020 г., 16:19:36 UTC+3 пользователь Brian Candler написал: > > Show individually the results of querying (in the prometheus console, > non-graphical view) > > health_check{job="platform-events-db", cluster="loco-prod"} > > up{job="platform-ev

[prometheus-users] Replace absent values with zeros

2020-05-02 Thread &#x27;Albert Aleksandrov&#x27; via Prometheus Users
Hi all! I have some areas with absent values like this: [image: Заявление.jpg] How can I replace them with zeros? P.S. I tried query I learn from a course (you can see it on the screenshot) but it didn't work. -- You received this message because you are subscribed to the Google Groups "Prom

[prometheus-users] Re: HTTP response duration with Prometheus

2020-04-30 Thread &#x27;Albert Aleksandrov&#x27; via Prometheus Users
rancher/nginx-ingress-controller четверг, 30 апреля 2020 г., 19:58:44 UTC+3 пользователь Brian Candler написал: > > Which ingress controller are you using? > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group an

[prometheus-users] Re: HTTP response duration with Prometheus

2020-04-30 Thread &#x27;Albert Aleksandrov&#x27; via Prometheus Users
Brian, thank you for your answer. I misunderstood current environ. We have cluster ingress and no NGINX before the frontend react app. Is seems that we should realize metrics gathering inside app. среда, 29 апреля 2020 г., 11:32:40 UTC+3 пользователь Brian Candler написал: > > If you're instrum

[prometheus-users] Re: avg_over_time OVER min

2020-04-30 Thread &#x27;Albert Aleksandrov&#x27; via Prometheus Users
Thanx for your support, Brian! четверг, 30 апреля 2020 г., 12:36:16 UTC+3 пользователь Brian Candler написал: > > You need a subquery > > if you want to convert a subexpression into a range vector for > avg_over_time. e.g

[prometheus-users] avg_over_time OVER min

2020-04-30 Thread &#x27;Albert Aleksandrov&#x27; via Prometheus Users
Hi all! Let me start with example so as to be clear. Please, look at the screenshot. [image: Заявление.jpg] As you can see there are two metrics. One have value 0. Other have value 1. In this case we consider that all values at the certain time are equal to 0. Such a kind of logical AND (min(

[prometheus-users] HTTP response duration with Prometheus

2020-04-29 Thread &#x27;Albert Aleksandrov&#x27; via Prometheus Users
Hi all! We have React app. It is deployed in Rancher and opened to the world by ingress. The task is to track response duration for the app pages with Prometheus. Prometheus metrics with percentiles. I know there is npmjs package prom-client exis