Re: How does /monitoring skip starting splash page?

2023-02-08 Thread 'Jesse Glick' via Jenkins Developers
On Wed, Feb 8, 2023 at 8:55 AM 'Daniel Beck' via Jenkins Developers < jenkinsci-dev@googlegroups.com> wrote: > PluginImpl#start adds… > Yes, as I wrote, but please bear in mind that `Plugin.start` is deprecated—use `@Initializer` instead. -- You received this message because you are subscribed

Re: How does /monitoring skip starting splash page?

2023-02-08 Thread 'Daniel Beck' via Jenkins Developers
PluginImpl#start adds HudsonMonitoringFilter to the PluginServletFilter list, which should be happening before PLUGINS_STARTED, so it doesn't wait for items to load etc. On Wed, Feb 8, 2023 at 2:47 PM Michael Carter wrote: > "jenkins is starting up" is the screen I'm talking about. >

Re: How does /monitoring skip starting splash page?

2023-02-08 Thread Michael Carter
"jenkins is starting up" is the screen I'm talking about. https://plugins.jenkins.io/monitoring/ is available before the init level of COMPLETED is reached so you can troubleshoot things as jenkins is starting up. Analyzed their code and couldn't quite figure out what allows them to do it.

Re: How does /monitoring skip starting splash page?

2023-02-08 Thread 'Jesse Glick' via Jenkins Developers
It may be possible by calling `PluginServletFilter` in an `@Initializer`, as filters will be consulted before the request is even routed to Stapler (where the `HudsonIsLoading` object is installed until startup completes and it is replaced with the `Jenkins` singleton). Remember that, among other

Re: How does /monitoring skip starting splash page?

2023-02-07 Thread 'Gavin Mogan' via Jenkins Developers
Can you share code? I would assume a root action with no auth wouldn't care about ... wait when you say splash screen, do you mean the "jenkins is starting up" or the "welcome wizard"? I would assume a root action wouldn't care about the welcome wizard, but the starting up screen my only guess is

How does /monitoring skip starting splash page?

2023-02-07 Thread Michael Carter
Short version I've got a custom prometheus stats page for my plugin. But I want to make it available early. How does the /monitoring plugin skip the starting splash page? Want to do the same thing? -- You received this message because you are subscribed to the Google Groups "Jenkins