Friday, March 06, 2020

Re: [new] sysutils/loki + [update] sysutils/grafana

On Fri, 6 Mar 2020 15:40:07 +0100 Landry Breuil wrote:
> On Wed, Mar 04, 2020 at 01:23:28AM +0100, Eric Elena wrote:
> > Hello list,
> >
> > Please find attached a new port, sysutils/loki. It is a log aggregation system inspired by prometheus.
> > It requires grafana >= v6.0. Since the version in the ports tree is based on v5.4.3, I have attached a diff to update the port to v6.2.2 (Kevin Chadwick submitted not so long ago a diff for v6.2.1, I had something similar on my disk).
> > If you want to test it, I included a simple pipeline for httpd for the common and combined styles, and likely the forwarded style as long as there is only a single IP address in the http_x_forwarded_for header. The pipeline should work with nginx default logs as well.
>
> Fwiw, the port itself looks good here, it builds fine without going
> through hoops and loops as it's usual with go ports that dont ship a
> vendor subdir. The rc scripts are similar to the grafana one, and i
> suppose you're running this in production ?

Loki being developed under the Grafana's umbrella I chose the easy way to re-use what was done for the Grafana port, hence the similarities.
I don't use it in production yet, my server is running stable + official packages only and an Elastic stack is a bit too much for my needs. I feed my test machine with the logs from my server though.

> If time permits i'll try to do some runtime testing with grafana, but
> other than that if someone wants to import it this has my okay.

Thanks, it would be great to have it in the port tree :)

Eric

> Landry
>

No comments:

Post a Comment