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

Datasource data not shown in details view #4074

Open
michael-wirth opened this issue Feb 24, 2025 · 0 comments · May be fixed by #4076
Open

Datasource data not shown in details view #4074

michael-wirth opened this issue Feb 24, 2025 · 0 comments · May be fixed by #4076

Comments

@michael-wirth
Copy link

Spring Boot Admin Server information

  • Version:
    3.4.4

  • Spring Boot version:
    3.4.3

  • Configured Security:
    basic, JWT

  • Webflux or Servlet application:
    Webflux

Client information

  • Spring Boot versions:
    3.4.3

  • Used discovery mechanism:
    kubernetes

  • Webflux or Servlet application:
    Webflux

Description

Data sources should be shown on the service details page (on the left hand side of the Caches).

The data sources are not shown because of the condition to show/hide the panels.

In Spring Boot 3.4.3 there is no metric with the name data.source.active.connections, but the
DataSourcePoolMetrics defines the jdbc.connections.active metric`.

I assume the data.source.active.connections is outdated and the jdbc.connections.active metric` should be used instead

https://github.com/codecentric/spring-boot-admin/issues?q=is%3Aissue%20state%3Aopen%20data

  computed: {
    hasCaches() {
      return this.hasMetric('cache.gets');
    },
    hasDatasources() {
      return this.hasMetric('data.source.active.connections');
    },
    hasGc() {
      return this.hasMetric('jvm.gc.pause');
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant