Skip to content

Tracking number of open file handles by vector #21727

Answered by pront
hartfordfive asked this question in Q&A
Discussion options

You must be logged in to vote

to write data to zstd compressed files

Are you using a file sink for this? And this is the component that creates the files?

The file sink does emit an open_files metric. See https://github.com/vectordotdev/vector/blob/master/src/internal_events/file.rs#L33.

Unfortunately, this is missing from the docs: https://vector.dev/docs/reference/configuration/sinks/file/#instrumentation-telemetry-metrics-and-logs. We should add it.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@hartfordfive
Comment options

@pront
Comment options

pront Nov 7, 2024
Maintainer

@pront
Comment options

pront Nov 7, 2024
Maintainer

Answer selected by pront
@pront
Comment options

pront Nov 8, 2024
Maintainer

@hartfordfive
Comment options

@pront
Comment options

pront Nov 8, 2024
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants