[prometheus-users] Prometheus keep restarting following WAL replay completion

2021-10-20 Thread nishan...@atmecs.com
Hi All,

The WAL replay is continuing indefinetly while increaseing the maxsegment. 
We are using Prometheus 2.25.0

Logs are attached as the image.
[image: Screenshot from 2021-10-21 09-45-29.png]

Is this a known Bug? or Do we ahve any steps to fix this?

Thanks
Nishant


-- 
The information in this message may be proprietary and/or confidential, and 
protected from disclosure. If the reader of this message is not the 
intended recipient, you are hereby notified that any dissemination, 
distribution or copying of this communication is strictly prohibited. If 
you have received this communication in error, please notify ATMECS and 
delete it from your computer.

-- 
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/daac9a87-bf63-40c9-ad05-c7f777193c9cn%40googlegroups.com.


[prometheus-users] É LESBICA OMICIDA: #MARINABERLUSCONI! ASSASSINA COME SUO PADRE MAFIOSO, NAZISTA, PEDOFILO E MANDANTE DI OMICIDI E STRAGI: #SILVIOBERLUSCONI! E NON É FINITA! IL FIGLIO DI PUTTANA #PI

2021-10-20 Thread MANUELA DONGHI AMANTE LESBICA DI MARINA BERLUSCONI
É LESBICA OMICIDA: #MARINABERLUSCONI! ASSASSINA COME SUO PADRE MAFIOSO, 
NAZISTA, PEDOFILO E MANDANTE DI OMICIDI E STRAGI: #SILVIOBERLUSCONI! E NON 
É FINITA! IL FIGLIO DI PUTTANA #PIERSILVIOBERLUSCONI (SPECIALMENTE FIGLIO 
DI PEDOFILO KILLER SPAPPOLA...MAGISTRATI #SILVIOBERLUSCONI) RICICLA 
MONTAGNE DI SOLDI MAFIOSI, COME HA FATTO SUO PEZZO DI MERDA NONNO 
#LUIGIBERLUSCONI IN #BANCARASINI! E COME HA FATTO PER MEZZO SECOLO, IL 
LECCA FIGHE DI BAMBINE E RAGAZZINE SILVIO BERLUSCONI! ESATTAMENTE DI 
#COSANOSTRA, #CAMORRA, #NDRANGHETA, #SACRACORONAUNITA, SOCIETAFOGGIANA, 
MAFIA RUSSA, MAFIA CINESE, MAFIA COLOMBIANA, MAFIA MAROCCHINA, MAFIA 
ALBANESE, MAFIA SLAVA, MAFIA RUMENA! CE NE SCRIVE IL MIO BANCHIERE 
PREFERITO IN SVIZZERA, #ANDREASNIGG DI BANK J SAFRA SARASIN ZURIGO! CHE 
TANTE VOLTE SI É SENTITO PROPORRE DAL SCAFATO BASTARDO ASSASSINO PIERSILVIO 
BERLUSCONI E DALLA LESBICA PEDOFILA E NAZISTA MARINA BERLUSCONI, DI 
RICICLARE PER LORO, CENTINAIA DI MILIONI DI EURO MAFIOSI! SEMPRE 
EROICAMENTE RIFIUTANDO! A VOI IL GRANDISSIMO ANDREAS NIGG DI BANK J SAFRA 
SARASIN ZURIGO.

CIAO A TUTTI. SON SEMPRE IO, ANDREAS NIGG EX MANAGER IN BANK VONTOBEL 
ZURIGO ED ORA MANAGER IN BANK J SAFRA SARASIN ZURIGO. SCHIFO CON TUTTE LE 
FORZE I VISCIDISSIMI ASSASSINI #BERLUSCONI! SON DEI PEZZI DI MERDA #HITLER, 
#PINOCHET, #PUTIN MISTI A STRA PEZZI DI MERDA AL CAPONE, TOTO RIINA E 
PASQUALE BARRA DETTO "O ANIMALE"! SI PRENDONO LA NAZIONE INTERA, 
INTRECCIANDO POTERE ECONOMICO, POTERE DI CORROMPERE CHIUNQUE, POTERE 
MEDIATICO, POTERE MAFIOSO, POTERE DI TERRORISTI NAZIFASCISTI KILLER E 
POTERE POLITICO (OSSIA OGNI TIPO DI POTERE: OGNI)! CREANDO DITTATURA STRA 
ASSASSINA! I TOPI DI FOGNA OMICIDA #SILVIOBERLUSCONI, #PIERSILVIOBERLUSCONI 
E #MARINABERLUSCONI HAN FATTO UCCIDERE IN VITA LORO CENTINAIA E CENTINAIA 
DI PERSONE! LA LORO SPECIALITÁ É ORGANIZZARE OMICIDI MASSONICI! OSSIA DA 
FAR PASSARE PER FINTI SUICIDI, INFARTI, INCIDENTI (VEDI COME HANNO UCCISO 
LENTAMENTE, IN MANIERA MASSONICISSIMA, LA GRANDE #IMANEFADIL, MA PURE GLI 
AVVOCATI VICINI A IMANE FADIL: #EGIDIOVERZINI E #MAURORUFFFINI)! IN 
COMBUTTA CON SERVIZI SEGRETI HITLERIANI, BASTARDA MASSONERIA DI 
ESTREMISSIMA DESTRA (VEDI #P2 P2 O #LOGGIADELDRAGO LOGGIA DEL DRAGO, OSSIA 
LOGGIA PERSONALE DEL PEZZO DI MERDA PEDOSIFLO E STRAGISTA 
#SILVIOBERLUSCONI), OLTRE CHE DI LORO VARIE COSA NOSTRA, CAMORRA, 
NDRANGHETA, MAFIA RUSSA, MAFIA CINESE, MAFIA COLOMBIANA, MAFIE DI TUTTO IL 
PIANETA TERRA. HO POCO TEMPO, VINCO MOLTO NEI MERCATI FINANZIARI PER LA MIA 
BANCA, J SAFRA SARASIN ZURICH. MA QUESTO É SOLO UN MINI MINI ANTIPASTO. 
MILIARDI DI MIEI POSTS E PROFILI DI OGNI TIPO INVADERANNO TUTTI I SITI DEL 
MONDO, FINO A CHE LEGGERÓ CHE TUTTI I BASTARDI MEGA ASSASSINI BERLUSCONI 
HAN FATTO UNA FINE MOLTO PEGGIORE DEI #LIGRESTI O #TANZI, CHE A DIFFERENZA 
DEI FIGLI DI CANE E TROIONE #BERLUSCONI, NON HAN MAI PARTICOLARMENTE FATTO 
UCCIDERE NESSUNO, E CHE QUINDI, A LORO CONFRONTO, SON ANGELINI (ANGELINI MA 
NON ANGELUCCI, NON #ANTONIOANGELUCCI, QUELLO É UN PEZZO DI MERDA 
MASSO卐NAZISTA, MAFIOSO ED ASSASSINO COME SILVIO BERLUSCONI). IL COCAINOMANE 
ASSASSINO #PIERSILVIOBERLUSCONI, IL PEDOFILO MACELLA MAGISTRATI 
#SILVIOBERLUSCONI E LA LESBICA LECCA FIGHE DI BAMBINE E RAGAZZINE 
#MARINABERLUSCONI SON VENUTI SPESSO A CHIEDERMI DI RICICLARE CENTINAIA DI 
MILIONI DI EURO, DI MAFIE DI TUTTO IL MONDO, CHE, MI HAN DETTO, HAN SOTTO 
TERRA, IN VARIE VILLE LORO E DI LORO SODALI SCHIFOSI. MA HO SEMPRE SBATTUTO 
LORO LA PORTA IN FACCIA. SIA A LORO, CHE A UN LORO AVVOCATO MASSONE, 
SATANISTA, PEDOFILO, SPECIALISTA NEL RAPIRE, INCULARE ED UCCIDERE BAMBINI 
PER VENDERNE GLI ORGANI: #DANIELEMINOTTI DI GENOVA E RAPALLO (E A RAPALLO, 
"GUARDA CASO", HA RESIDENZA IL TESTA DI CAZZO STRA ASSASSINO 
#PIERSILVIOBERLUSCONI). SCRIVERÓ DETTAGLI A PROPOSITO DI QUESTO, IN 
MILIARDI DI MIEI PROSSIMI POSTS. PER IL MOMENTO, ORA, INIZIAMO AD ESAMINARE 
LA FIGURA DI QUESTO AVVOCATO PEDOFILO, NAZI卐FASCISTA, MASSO卐NAZISTA, 
SATA卐NAZISTA, ASSASSINO DANIELE MINOTTI DI CRIMINALISSIMO STUDIO LEGALE 
LISI.
PRIMA DI LASCIARCI, UN BACIO ROVENTE, ARDENTE, ALLA MIA EX PARTNER A 
LIVELLO SESSUALE: #MARIAPAOLATOSCHI DI JP MORGAN (COME AMAVA FARE SESSO 
INTENSISSISMO LEI, MAI NESSUNA HO CONOSCIUTO).
https://www.instagram.com/p/BmbRyjljaSm/
ERA IL 2000. ERA NATA LA MAFIOSA #BANCALEONARDO DEL CRIMINALISSIMO, FINANCO 
OMICIDA #MICHELEMILLA (ORA PRESSO #MOMENTUM MASSAGNO 
https://ch.linkedin.com/company/momentum-alternative-investment-sa ). 
SCENDEVO A MILANO OGNI VENERDI SERA, DA ZURIGO, E PASSAVO WEEK END DI SESSO 
SCATENATISSIMO CON LEI (DI NASCOSTO, DA VERI E PROPRI SECRET LOVERS 
https://www.youtube.com/watch?v=Oe2UXqFo0DY). CHE BEI RICORDI CHE HO NEL 
CUORE, A PROPOSITO. UN BACIONE. SONO ANDREAS NIGG DI BANK J SAFRA SARASIN 
ZURICH. PREMIATO NEL 2018, 2019, 2020, COME BANCHIERE SVIZZERO DELLÁNNO A 
BASILEA. I SONDAGGI MI DANNO VINCITORE PURE NEL 2021. MA NON MI FIDO 
TANTISSIMO DEI SONDAGGI. MASSIMA UMILTÀ, FAME PERENNE DI 

Re: [prometheus-users] Re: Labels replacing

2021-10-20 Thread Brian Candler
I think it's a copy-paste error.  Can you paste back the entire 
relabel_configs section from your config.

On Wednesday, 20 October 2021 at 15:32:59 UTC+1 Nikolay Buhryk wrote:

> Hi Brian,
>
> I modified my target to the new view e.g. 'hostname ip' = 'foo 
> 10.11.12.13' and i received only this   instance="1"
>
> I can’t understand where issue still exists
>
> On Fri, Oct 15, 2021 at 2:24 PM Brian Candler  wrote:
>
>> You can use target relabelling, where each target entry can contain both 
>> a name and an IP address and you separate them out in relabelling rules.  
>> This also lets you generate meaningful instance labels 
>>  that 
>> don't have the exporter port number in them - this is very useful when you 
>> want a query to join metrics from two different exporters.
>>
>> Here is a sample config:
>>
>>   - job_name: node
>> file_sd_configs:
>>   - files:
>> - /etc/prometheus/targets.d/node_targets.yml
>> metrics_path: /metrics
>> relabel_configs:
>>   - source_labels: [__address__]
>> regex: '([^ ]+)'# single value (DNS name or address)
>> target_label: instance
>>   - source_labels: [__address__]
>> regex: '(.+) (.+)'  # name address
>> target_label: instance
>> replacement: '${1}'
>>   - source_labels: [__address__]
>> regex: '(.+) (.+)'  # name address
>> target_label: __address__
>> replacement: '${2}'
>>   - source_labels: [__address__]
>> target_label: __address__
>> replacement: '${1}:9100'
>>
>>
>> With this configuration, each entry in your targets file can be either an 
>> IP address, a DNS name, or "", e.g. "foo 1.2.3.4"
>>
>> In the latter case, the  becomes the 'instance' label, and the 
>>  is the address used to scrape.  The name you choose can be 
>> anything you like - it doesn't have to relate to a DNS name.
>>
>> Don't include the port number in your targets file, as this is added 
>> automatically by the last relabelling rule.  You could remove that rule if 
>> you want though, in which case entries would be of the form "foo 
>> 1.2.3.4:9100"
>>
>> On Monday, 11 October 2021 at 17:11:00 UTC+1 Nikolay Buhryk wrote:
>>
>>> Hi,
>>>
>>> Can someone help with replacing labels on targets.
>>>
>>> I have file_sd configs with targets. Prometheus scrapes them and shows 
>>> their ip addresses and labels that were defined.
>>>
>>> I need to have possibility scrape their hostnames instead of ip and add 
>>> new label "hostname" for future use in Alertmanager notifications.
>>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "Prometheus Users" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/prometheus-users/_-NNuiz8lVs/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> prometheus-use...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/prometheus-users/773d176e-bbe7-44bd-984b-05cce4cbe90cn%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/617d8da5-854b-4b10-ba3b-8a3a2216d7ccn%40googlegroups.com.


Re: [prometheus-users] Re: Labels replacing

2021-10-20 Thread Nikolay Buhryk
Hi Brian,

I modified my target to the new view e.g. 'hostname ip' = 'foo 10.11.12.13'
and i received only this   instance="1"

I can’t understand where issue still exists

On Fri, Oct 15, 2021 at 2:24 PM Brian Candler  wrote:

> You can use target relabelling, where each target entry can contain both a
> name and an IP address and you separate them out in relabelling rules.
> This also lets you generate meaningful instance labels
>  that
> don't have the exporter port number in them - this is very useful when you
> want a query to join metrics from two different exporters.
>
> Here is a sample config:
>
>   - job_name: node
> file_sd_configs:
>   - files:
> - /etc/prometheus/targets.d/node_targets.yml
> metrics_path: /metrics
> relabel_configs:
>   - source_labels: [__address__]
> regex: '([^ ]+)'# single value (DNS name or address)
> target_label: instance
>   - source_labels: [__address__]
> regex: '(.+) (.+)'  # name address
> target_label: instance
> replacement: '${1}'
>   - source_labels: [__address__]
> regex: '(.+) (.+)'  # name address
> target_label: __address__
> replacement: '${2}'
>   - source_labels: [__address__]
> target_label: __address__
> replacement: '${1}:9100'
>
>
> With this configuration, each entry in your targets file can be either an
> IP address, a DNS name, or "", e.g. "foo 1.2.3.4"
>
> In the latter case, the  becomes the 'instance' label, and the
>  is the address used to scrape.  The name you choose can be
> anything you like - it doesn't have to relate to a DNS name.
>
> Don't include the port number in your targets file, as this is added
> automatically by the last relabelling rule.  You could remove that rule if
> you want though, in which case entries would be of the form "foo
> 1.2.3.4:9100"
>
> On Monday, 11 October 2021 at 17:11:00 UTC+1 Nikolay Buhryk wrote:
>
>> Hi,
>>
>> Can someone help with replacing labels on targets.
>>
>> I have file_sd configs with targets. Prometheus scrapes them and shows
>> their ip addresses and labels that were defined.
>>
>> I need to have possibility scrape their hostnames instead of ip and add
>> new label "hostname" for future use in Alertmanager notifications.
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Prometheus Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/prometheus-users/_-NNuiz8lVs/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> prometheus-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/773d176e-bbe7-44bd-984b-05cce4cbe90cn%40googlegroups.com
> 
> .
>

-- 
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CABcWTrcXTd0rY2%3DHDCFe47gEbPKZMN16gQE5QQFEnb-EGuzkWQ%40mail.gmail.com.


Re: [prometheus-users] [ANN] PromQL Prettier

2021-10-20 Thread Bjoern Rabenstein
On 12.10.21 19:27, Jiacai Liu wrote:
> it seems that PR 7779 is a non-trivial one, I have on idea if it's easy to 
> merge my code to it although format logic is similar.
> 
> Maybe I need more time to dig into this. Could anyone guide me to finish 
> 7779?

Yeah, it would be great to have someone with context on PR #7779 in
particular and PromQL in general helping out.

I tried to rally some people, but only found out that neither Ganesh
nor Jessica are currently available.

Perhaps a good starting point would be to talk to Harkishen, who wrote
the design doc and authored the PR? He is @Harkishen-Singh on
GH. How about following up on the issue that you are interested in
helping out? If you and Harkishen could polish up the PR, I'm sure
we'll find a reviewer.

Thank you very much.
-- 
Björn Rabenstein
[PGP-ID] 0x851C3DA17D748D03
[email] bjo...@rabenste.in

-- 
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/20211020124816.GC2674%40jahnn.