You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(internal telemetry at shutdown): close internal sources after external ones (vectordotdev#17741)
<!--
**Your PR title must conform to the conventional commit spec!**
<type>(<scope>)!: <description>
* `type` = chore, enhancement, feat, fix, docs
* `!` = OPTIONAL: signals a breaking change
* `scope` = Optional when `type` is "chore" or "docs", available scopes
https://github.com/vectordotdev/vector/blob/master/.github/semantic.yml#L20
* `description` = short description of the change
Examples:
* enhancement(file source): Add `sort` option to sort discovered files
* feat(new source): Initial `statsd` source
* fix(file source): Fix a bug discovering new files
* chore(external docs): Clarify `batch_size` option
-->
We would like to close the internal logs, metrics, and trace sources
sent from Vector as late as possible during shutdown to facilitate
debugging. In this PR, we wait until all other sources are shut down
before shutting down internal telemetry sources. This means that
shutdown may be a bit longer, but we will have better observability on
the shutdown process.
issue: vectordotdev#15912
0 commit comments