spring-boot-admin icon indicating copy to clipboard operation
spring-boot-admin copied to clipboard

Bug: Trying to zoom-in the HTTP exchanges view fails

Open cdprete opened this issue 6 months ago • 9 comments

Spring Boot Admin Server information

  • Version: 3.5.1

  • Spring Boot version: 3.5.3

  • Configured Security: None

  • Webflux or Servlet application: WebFlux

Client information

  • Spring Boot versions: 3.5.3

  • Used discovery mechanism: Eureka

  • Webflux or Servlet application: Servlet

Description

Hello. If I try to zoom-in, by selecting an area, the graph which gets rendered in the HTTP Exchanges view nothing happens but then, in the console, I can see tons of errors like the one below:

Image

Chrome version:

Image

@SteKoe @ulischulte Is indeed the idea to be able to zoom-in into the graph?

cdprete avatar Jul 21 '25 10:07 cdprete

Hi @cdprete ,

thanks for letting us know. This is indeed a bug. The selection is not meant for zooming in, but to restrict the results in the tooltip. I'll prepare a fix.

Regards, Uli

ulischulte avatar Aug 02 '25 10:08 ulischulte

Hi @cdprete ,

thanks for letting us know. This is indeed a bug. The selection is not meant for zooming in, but to restrict the results in the tooltip. I'll prepare a fix.

Regards, Uli

Yeah, I was not meaning zooming-in as to make the graph bigger, but to drill down the data and therefore, while shrinking the timeline, getting a more granular view.

I think you described exactly that, if I got you right.

cdprete avatar Aug 02 '25 13:08 cdprete

Just like this:

https://github.com/user-attachments/assets/e4684678-8b81-49ef-93f2-ab1b2397900e

ulischulte avatar Aug 03 '25 12:08 ulischulte

Ah interesting. A drill-down would have been nicer in order to be able to see better the peaks in the graph, but it's a bit the same.

@ulischulte may I ask what's that "Security" entry you've on the left? It's the first time I see it. Also, how can you have 419 entries in there? The max I get is 100. Is it based on the size of the in-memory repository? And, how would the UI behave if the repository would be something else which doesn't have a fixed size (e.g.: a JDBC one)?

cdprete avatar Aug 03 '25 14:08 cdprete

The security section shows views for the actuator endpoints auditevents and sessions and are enabled as soon as those endpoints are enabled. But let's focus on one issue at a time. The size of the entries is only limited by the given limit in the filter header and the response of the actuator endpoint httpexchanges.

ulischulte avatar Aug 04 '25 06:08 ulischulte

H @ulischulte. I've updated my environment to the latest available version, but now I see the following error in the console for what concerns the HTTP exchanges view:

Image

I don't know if you want to reopen this or open a new one for it. /cc @erikpetzold @SteKoe

cdprete avatar Aug 26 '25 06:08 cdprete

Hello @ulischulte. To provide more info, the UI shows no data at all anymore since this new version, even if the httpexchanges is indeed returning data. I don't know if this bug is now caused by the fact that the application is OFFLINE 'cause the health returns the db indicator as DOWN. So, basically, the UI behaves now worse than before since before the drag&drop was not working but the data were rendered correctly, but now nothing gets rendered anymore. :-(

The UI is shown as

Image

but I can see the httpexchanges endpoint being called in background.

/cc @erikpetzold @SteKoe

cdprete avatar Aug 26 '25 12:08 cdprete

@ulischulte Ehm... ok... nevermind...

If I tick out the exclude /actuator/** I can see something. Nevertheless, that can't read property of undefined is still there, but actually I realised it happens only when the view gets initially rendered and not anymore.

cdprete avatar Aug 27 '25 07:08 cdprete

Hello @ulischulte. To provide more info, the UI shows no data at all anymore since this new version, even if the httpexchanges is indeed returning data. I don't know if this bug is now caused by the fact that the application is OFFLINE 'cause the health returns the db indicator as DOWN. So, basically, the UI behaves now worse than before since before the drag&drop was not working but the data were rendered correctly, but now nothing gets rendered anymore. :-(

The UI is shown as

Image but I can see the `httpexchanges` endpoint being called in background.

/cc @erikpetzold @SteKoe

Hello @ulischulte. Do you think we can get this error fixed? It's not a blocker or so, but it would be nice to not see errors anymore in the next release :)

cdprete avatar Nov 25 '25 19:11 cdprete