Sleipnir - a Grafana Loki client

Sleipnir is a Grafana Loki client.

Currently it’s focused on the ability to push logs to Loki. Query functionality might come later?

It uses Grafana’s Logproto protobufs under the hood.

The main module exposes functions around creating entries, streams, and push_requests, which can then be sent using a client.

Currently ships with a Tesla client, but it’s pretty easy to implement your own.

If you’re looking for an entire logger backend, I also recently published svadilfari, a logger backend that uses Sleipnir under the hood and strives to have ergonomics similar to the :console logger backend.

Contributions, issues, question are all welcome! This is my first foray into open source.

8 Likes