Re: [prometheus-users] Answer from prometheus contains real measurements?

2021-02-03 Thread Rodolphe Ghio
a > matrix like > > > memstats_memory_usage_percent{job=~"67ing-at-home.*"}[10m] > > /MR > > On Wed, 3 Feb 2021, 17:44 Rodolphe Ghio, wrote: > >> Hello, >> I have a question in relation to the answers provided by prometheus in a >> class

[prometheus-users] Answer from prometheus contains real measurements?

2021-02-03 Thread Rodolphe Ghio
Hello, I have a question in relation to the answers provided by prometheus in a classic promQL query. Are the "points" present in prometheus' answer true measurements? Or are they "false" points resulting from various calculations? *example of a request :*

Re: [prometheus-users] PROMQL deriv()

2021-01-07 Thread Rodolphe Ghio
Thanks a lot ! That was exactly what I was looking for ! Have a great day ! Le jeudi 7 janvier 2021 à 10:31:18 UTC-5, Julien Pivotto a écrit : > On 07 Jan 06:56, Rodolphe Ghio wrote: > > Hi everyone ! > > First of all I wish you a happy new year. > > > > I

[prometheus-users] PROMQL deriv()

2021-01-07 Thread Rodolphe Ghio
Hi everyone ! First of all I wish you a happy new year. I would like to use the deriv() function but this function needs a range vector so my query should look like this: deriv([]). But I don't really understand how can I choose an acurate time_range in square brackets. Can someone help me to

[prometheus-users] --storage.tsdb.retention.time prometheus syntax

2020-12-11 Thread Rodolphe Ghio
Hi everyone, I was looking for an explanation about the syntax of the flag but I didn't find anything, I would have liked to know the syntax to put a retention in months and minutes because I know that for the years it's "y" and for the days it's "d". Would anyone know the possible syntax?

Re: [prometheus-users] Prometheus "flat lines"

2020-12-10 Thread Rodolphe Ghio
oes this perl exporter expose timestamps? Have you looked at the `up` > metric? > > On Thu, Dec 10, 2020 at 8:23 PM Rodolphe Ghio wrote: > >> Hello everyone ! >> I take the liberty of posting this message here because I was unable to >> find a suitable explanation duri

[prometheus-users] Prometheus "flat lines"

2020-12-10 Thread Rodolphe Ghio
Hello everyone ! I take the liberty of posting this message here because I was unable to find a suitable explanation during my research. I have a local OpenBSD machine that exposes metrics using a custom perl export. Recently Prometheus (which is not on the same network) displays graphics with

[prometheus-users] Lookback delta of Prometheus

2020-11-13 Thread Rodolphe Ghio
Hello everyone, I recently opened an issue on the Prometheus Github asking why Prometheus doesn't manage sleep data longer than 5 minutes. And it was explained to me that it was modifiable using the flag --query.lookback-delta. See the Github

[prometheus-users] Re: Gaps in time series

2020-11-03 Thread Rodolphe Ghio
y came from :s Le mardi 3 novembre 2020 à 09:34:22 UTC+1, Rodolphe Ghio a écrit : > > Hello everyone, > I'm using Prometheus and I've this kind of gaps : > I'm not using recording rules > [image: 0.png] > scrape_interval: 2m > scrape_timeout: 1m > evaluation_int

[prometheus-users] Gaps in time series

2020-11-03 Thread Rodolphe Ghio
Hello everyone, I'm using Prometheus and I've this kind of gaps : I'm not using recording rules [image: 0.png] scrape_interval: 2m scrape_timeout: 1m evaluation_interval: 5m Do you have any ideas how can I troubleshoot this ? or any idea why do my timeseries have gaps? King regards, GHIO

[prometheus-users] embed prometheus graph in a angular web app

2020-10-29 Thread Rodolphe Ghio
Hi everyone , I'm trying to embed prometheus's graph into a angular web app; For example I only want this : Do you have any idea how can I do this without using grafana ? King regards, GHIO Rodolphe. -- You received this message because you are subscribed to the Google Groups "Prometheus

[prometheus-users] How can I limit access to data

2020-10-15 Thread Rodolphe Ghio
Hi everyone, I was wondering if I can limit access to prometheus's data by using nginx for example. For example * :* *scrape_configs:* *- job_name: 'Job'* * - targets: * * - 1.2.3.4:5678 #Client 1 * *- 2.3.4.5:6781 #Client 2* My goal is that client #1 has access only to

[prometheus-users] Prometheus as long time storage

2020-09-22 Thread Rodolphe Ghio
Hi everyone ! I'm going to use Prometheus as long time TS storage, here's all specifications I would like to have : - scrape : every minute - retention : 10 years - number of metrics : 50 - Number of point : 262 800 000 ( number of metric * retentio(min)) I've read that Prometheus is using 1/2

[prometheus-users] Re: "Failed to create directory for logging active queries"

2020-09-21 Thread Rodolphe Ghio
I've solved the issue, Prometheus is like a normal user and fuse is run as root, so all directories/files mounted by fuse are only readable by root users. So I've added an argument : -o allow_other . So normal users can also read/write. Cheers Le lundi 21 septembre 2020 à 16:17:30 UTC+2,

[prometheus-users] Re: "Failed to create directory for logging active queries"

2020-09-21 Thread Rodolphe Ghio
I've also tried to *chown -R _prometheus:prometheus /var/promzip* Le lundi 21 septembre 2020 à 11:23:05 UTC+2, Rodolphe Ghio a écrit : > > Hi everyone ! > > 'm trying to use fuse-zip <https://linux.die.net/man/1/fuse-zip> with > prometheus to compress all my data. >

[prometheus-users] "Failed to create directory for logging active queries"

2020-09-21 Thread Rodolphe Ghio
Hi everyone ! 'm trying to use fuse-zip with prometheus to compress all my data. So I've zipped the /var/prometheus wich contains all chunk, wal, queries.active and lock. I've run this commande : *fuse-zip /var/prometheus.zip /var/promzip/* So my folder

[prometheus-users] Re: Different retention time per series

2020-09-17 Thread Rodolphe Ghio
Thanks for your reply ! Le jeudi 17 septembre 2020 à 16:43:30 UTC+2, b.ca...@pobox.com a écrit : > Not in prometheus, unless you have separate prometheus instances for those > metrics. > https://github.com/prometheus/prometheus/issues/1381 > > -- You received this message because you are

[prometheus-users] Insterting fake data in Prometheus

2020-09-17 Thread Rodolphe Ghio
hi everyone ! I was wondering if it's possible to insert 10 000 data on 50 different series, how can I proceed can I make http request to inster them ? Cheers, Rodolphe.G -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from

[prometheus-users] Different retention time per series

2020-09-17 Thread Rodolphe Ghio
Hello, I was wondering if it's possible to have many differrent retention time for some time series. For example I don't want to keep cpu data for more than 1 week but I want to keep my temperature data for 2 weeks. Do you think it's possible ? Cheers, Rodolphe.G -- You received this message

Re: [prometheus-users] Can prometheurs scrape :/deamon/metrics ?

2020-09-08 Thread Rodolphe Ghio
I've found how to do this, I've added metrics_path statement into my conf file. Thanks for answering Le mardi 8 septembre 2020 à 14:01:48 UTC+2, b.ca...@pobox.com a écrit : > @Rudolphe: can you show *your* scrape config, plus the error message you > get when prometheus fails to start? > --

Re: [prometheus-users] Can prometheurs scrape :/deamon/metrics ?

2020-09-08 Thread Rodolphe Ghio
Can i please take a look to your scrape config please ? Le mardi 8 septembre 2020 à 13:29:40 UTC+2, wes...@gmx.ie a écrit : > I am sure it can. b/c I just finished a monitoring like this form. :) > > > Rodolphe Ghio wrote: > > I was wondering if prometheus can sc

[prometheus-users] Can prometheurs scrape :/deamon/metrics ?

2020-09-08 Thread Rodolphe Ghio
Hi guys, I was wondering if prometheus can scrape a target like this ? :/deamon/metrics, cause I've tried many times and prometheus doesn't want to start anymore. -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this

[prometheus-users] C hanging Prometheus http user agent

2020-09-07 Thread Rodolphe Ghio
Hi everyone, I was ondering if we can change the prometheus HTTP user agent ? If it's possible how can I proceed to do it ? Cheers, Rodolphe G. -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop

[prometheus-users] compression in prometheus

2020-09-01 Thread Rodolphe Ghio
Hi, I am curently doing an intership and my tutor asked my to do an algorithm to compress prometheus data, what do you think about that is it possible ? Cheers, Ghio Rodolphe. -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe

[prometheus-users] What is the maximum latency for a metric with a timestamp?

2020-08-26 Thread Rodolphe Ghio
Hello, I work with Prometheus and I saw that we could expose him to metrics with a timestamp. I did some tests and I saw that a latency of 1 hour worked but not two hours. Do you know the maximum latency for Prometheus to still accept metrics? Best regards. -- You received this message