Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize ostrich metrics service before main initialize #400

Merged
merged 2 commits into from
Mar 15, 2024

Conversation

jfzunigac
Copy link
Contributor

When a log directory contains a large number of files, the initialization of all log streams in the directory can take some time for Singer after a restart. However, by initiating the metrics service prior to SingerSettings.initialize(), we can continue to publish metrics while Singer finalizes the log stream initialization process.

@jfzunigac jfzunigac requested a review from a team as a code owner March 15, 2024 00:14
@jfzunigac jfzunigac merged commit 2735f1b into pinterest:master Mar 15, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants