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

Fixing startup issues on certain installations #684

Closed
wants to merge 3 commits into from
Closed

Conversation

Waschndolos
Copy link

…collectors

Fixes #683

Changes proposed

Make sure the Collector Registry is always cleared in constructor

Checklist

  • Includes tests covering the new functionality?
  • Ready for review
  • Follows CONTRIBUTING rules

@Initializer(after = InitMilestone.PLUGINS_STARTED, before = InitMilestone.EXTENSIONS_AUGMENTED)
public static void cleanupCollectorRegistry() {
DefaultPrometheusMetrics instance = get();
instance.cleanUpCollector();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a debug log here ? I want to monitor the logs during execution/restart

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.

Prometheus Plugin Update from 773.v3b_62d8178eec to 778.ve1c932a_ff24f prevents Jenkins from startup
2 participants