outputs: loki output add worker configuration paramenter
Worker parameter is missing from most outputs documentation, copied it from stdout docs. I recently discovered it worked by digging through some github issues. Is this config available for all outputs? And if so is there a more centralized doc where this should be / already is available?
hi @toledompm,
you can use the workers parameter in Loki, however, it doesn't have a default value of 1.
This is available for all output plugins.
Hey @lecaros, thanks for the reply! Just have a couple of questions:
it doesn't have a default value of 1.
I skimmed over some source code, is the default 0?
This is available for all output plugins.
Should there be a general output doc? Recently we ran into some issues with backpressure that got fixed after we increased our output workers, but we only found out that was a thing after seeing it mentioned in the Kinesis output docs
hi @toledompm the default is no workers. Meaning it will run on the same thread the other components are running. We currently don't have documentation for Outputs in general; that's a good idea. We always welcome PRs :)
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.