Skip to content

Commit

Permalink
chore(pino-loki): batch with interval 5
Browse files Browse the repository at this point in the history
  • Loading branch information
fraxken committed Apr 11, 2024
1 parent 853411e commit 33147d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ if (env.SELF_MONITORING) {
targets.push({
target: "pino-loki",
options: {
batching: false,
batching: true,
interval: 5,
host: env.LOKI_URL,
// Note: allow custom configuration of labels (& others options?)
labels: {
Expand Down

0 comments on commit 33147d9

Please sign in to comment.