pino-loki icon indicating copy to clipboard operation
pino-loki copied to clipboard

🔉 This package provides a transport for pino that forwards messages to Loki.

Results 8 pino-loki issues
Sort by recently updated
recently updated
newest added

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...

Would be nice to do pipe chains like this: ```sh myapp | pino-loki --hostname=http://somehost:3100 | pino-pretty --singleLine ``` This way anyone can do both quick peek logs in terminal and...

enhancement

When executing the following script with Deno: ```ts import pino from 'pino' import type { LokiOptions } from 'pino-loki' const transport = pino.transport({ target: "pino-loki", options: { batching: true, interval:...

## Reproduce Input any non string value in metadata key ``` logger.info({ meta: { statusCode: 200 } }, "Loki support only string in structured metadata") ``` ## Error ``` loghttp.PushRequest.Streams:...