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

Start prometheus httpserver with daemon thread #6472

Merged

Conversation

lizongwu
Copy link
Contributor

Similar to use daemon thread for scheduling in jmx-metrics BeanFinder, the Prometheus HTTP server should also be started with daemon thread. Perhaps all threads created by the agent should be daemon in principle?
The pr #6464 can solve part of the problem (please refer Start Prometheus HTTP server on the provided executor), and this pr will solve the rest.

@lizongwu lizongwu requested a review from a team May 23, 2024 09:29
Copy link

codecov bot commented May 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.87%. Comparing base (a764419) to head (97a345f).

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #6472      +/-   ##
============================================
- Coverage     90.87%   90.87%   -0.01%     
  Complexity     6169     6169              
============================================
  Files           678      678              
  Lines         18507    18508       +1     
  Branches       1818     1818              
============================================
  Hits          16819    16819              
  Misses         1153     1153              
- Partials        535      536       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jack-berg jack-berg self-requested a review May 23, 2024 14:09
@jack-berg jack-berg merged commit d3e3bdf into open-telemetry:main May 28, 2024
18 checks 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.

3 participants