Remarks in-line: https://gist.github.com/matttproud/5539557.

Looks good for the start.


2013/5/8 Matt T. Proud ⚔ <matt.proud@gmail.com>

> Cool.  I'll offer you some line-by-line annotations and such and offer
> some caveats when I get into the office in a few.
>
>
> 2013/5/8 juliusv <notifications@github.com>
>
>> In main.go:
>>
>> > @@ -91,6 +164,10 @@ func main() {
>> >  	scrapeResults := make(chan format.Result, *scrapeResultsQueueCapacity)
>> >  	ruleResults := make(chan *rules.Result, *ruleResultsQueueCapacity)
>> >  	curationState := make(chan metric.CurationState, 1)
>> > +	// Coprime numbers, fool!
>> > +	headCompactionTimer := time.NewTicker(*headCompactionInterval)
>> > +	bodyCompactionTimer := time.NewTicker(*bodyCompactInterval)
>> > +	tailCompactionTimer := time.NewTicker(*tailcompactInterval)
>>
>> That looks so beautiful :)
>> … <#13e837427c2a7ac6_13e836b44adf1054_>
>> On Wed, May 8, 2013 at 11:12 AM, Bernerd Schaefer <
>> notifications@github.com>wrote: In main.go: > @@ -91,6 +164,10 @@ func
>> main() { > scrapeResults := make(chan format.Result,
>> *scrapeResultsQueueCapacity) > ruleResults := make(chan *rules.Result,
>> *ruleResultsQueueCapacity) > curationState := make(chan
>> metric.CurationState, 1) > + // Coprime numbers, fool! > +
>> headCompactionTimer := time.NewTicker(*headCompactionInterval) > +
>> bodyCompactionTimer := time.NewTicker(*bodyCompactInterval) > +
>> tailCompactionTimer := time.NewTicker(*tailcompactInterval) Sounds good.
>> This morning I started sketching out what I'd like "main.go" to look like
>> and how the lifecycle should behave. Here's what I came up with so far:
>> https://gist.github.com/bernerdschaefer/5539253 — Reply to this email
>> directly or view it on GitHub<
>> https://github.com/prometheus/prometheus/pull/228/files#r4130570> .
>>
>> —
>> Reply to this email directly or view it on GitHub<https://github.com/prometheus/prometheus/pull/228/files#r4130583>
>> .
>>
>
>