Re: [prometheus-developers] Callbacks around series lifecycle in TSDB for the use of external users

2020-04-27 Thread 'GANESH VERNEKAR' via Prometheus Developers
Hi, I forgot to post the link to the PR implementing this proposal in an attempt to show the required changes, here it is: https://github.com/prometheus/prometheus/pull/7159 Coming back to the concerns regarding error in no-error cases and how would it work in case of failed scrapes: Inside T

Re: [prometheus-developers] Callbacks around series lifecycle in TSDB for the use of external users

2020-04-22 Thread 'GANESH VERNEKAR' via Prometheus Developers
On Tuesday, April 21, 2020 at 9:39:49 PM UTC+5:30, Brian Brazil wrote: > > On Tue, 21 Apr 2020 at 16:48, 'GANESH VERNEKAR' via Prometheus Developers < > prometheus...@googlegroups.com > wrote: > >> >> >> On Tuesday, April 21, 2020 at 8:59:12 PM UTC+5:30, Brian Brazil wrote: >>> >>> On Tue, 21 Apr

Re: [prometheus-developers] Callbacks around series lifecycle in TSDB for the use of external users

2020-04-21 Thread Brian Brazil
On Tue, 21 Apr 2020 at 16:48, 'GANESH VERNEKAR' via Prometheus Developers < prometheus-developers@googlegroups.com> wrote: > > > On Tuesday, April 21, 2020 at 8:59:12 PM UTC+5:30, Brian Brazil wrote: >> >> On Tue, 21 Apr 2020 at 15:17, 'GANESH VERNEKAR' via Prometheus Developers >> wrote: >> >>>

Re: [prometheus-developers] Callbacks around series lifecycle in TSDB for the use of external users

2020-04-21 Thread 'GANESH VERNEKAR' via Prometheus Developers
On Tuesday, April 21, 2020 at 8:59:12 PM UTC+5:30, Brian Brazil wrote: > > On Tue, 21 Apr 2020 at 15:17, 'GANESH VERNEKAR' via Prometheus Developers < > prometheus...@googlegroups.com > wrote: > >> Hi All, >> >> I would like to propose a callback for the TSDB for series creation and >> deletion.

Re: [prometheus-developers] Callbacks around series lifecycle in TSDB for the use of external users

2020-04-21 Thread Brian Brazil
On Tue, 21 Apr 2020 at 15:17, 'GANESH VERNEKAR' via Prometheus Developers < prometheus-developers@googlegroups.com> wrote: > Hi All, > > I would like to propose a callback for the TSDB for series creation and > deletion. This would help external projects like Cortex and Thanos in > implementing li

[prometheus-developers] Callbacks around series lifecycle in TSDB for the use of external users

2020-04-21 Thread 'GANESH VERNEKAR' via Prometheus Developers
Hi All, I would like to propose a callback for the TSDB for series creation and deletion. This would help external projects like Cortex and Thanos in implementing limits on series while having no performance impact on Prometheus with minimal code addition. The callback would look something l