pino-loki
pino-loki copied to clipboard
🔉 This package provides a transport for pino that forwards messages to Loki.
Sorry this completed dropped off my radar last time to add some tests :facepalm: re-submitted the PR and added some unit tests for the `convertArray` function itself plus testing using...
Added function options to pino-loki config to make it little bit more flexible
Using `pino-loki` in projects like NestJS leads to not-so-friendly messages in Grafana. Please see example Currently there's not way to configure pino-loki to make message look like this:
Loki's documentation is poor in this regard, but it actually supports arrays nested in an object: ```ts logger.info(["hello", "world", 2]); // omitted logger.info({ data: ["hello", "world", 2] }); // shows...
Hello, First, thank you for your package, it's working good ! I have just a small question, I'd to see log with level debug / trace, but I cannot see...