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

Not works #6

Open
danipenaperez opened this issue Feb 16, 2022 · 1 comment
Open

Not works #6

danipenaperez opened this issue Feb 16, 2022 · 1 comment

Comments

@danipenaperez
Copy link

Error con Browser console:
Uncaught TypeError: json[0] is undefined
drawApplicationGraph http://localhost:3000/:52
send http://localhost:3000/d3/d3.v3.min.js:1
t http://localhost:3000/d3/d3.v3.min.js:1
i http://localhost:3000/d3/d3.v3.min.js:1
Cn http://localhost:3000/d3/d3.v3.min.js:1
json http://localhost:3000/d3/d3.v3.min.js:5
drawApplicationGraph http://localhost:3000/:43
redrawGraphForTypeFilter http://localhost:3000/:149
redrawGraph http://localhost:3000/:143
http://localhost:3000/:153

Maybe the Spring actuator json format response is not as spected.
My Beans actuator endpoint returns like this:

{ "contexts": { "my-application": { "beans": { "endpointCachingOperationInvokerAdvisor": { "aliases": [], "scope": "singleton", "type": "org.springframework.boot.actuate.endpoint.invoker.cache.CachingOperationInvokerAdvisor", "resource": "class path resource [org/springframework/boot/actuate/autoconfigure/endpoint/EndpointAutoConfiguration.class]", "dependencies": [ "org.springframework.boot.actuate.autoconfigure.endpoint.EndpointAutoConfiguration", "environment" ] }, "defaultServletHandlerMapping": { "aliases": [], "scope": "singleton", "type": "org.springframework.web.servlet.HandlerMapping", "resource": "class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]", "dependencies": [ "org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration" ] }, "org.springframework.boot.autoconfigure.integratio

@danipenaperez
Copy link
Author

Using Spring-boot-starter-actuator: 2:5.1 version
The format does not match with the shown on repo code at /web-app/data/beans.json

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

No branches or pull requests

1 participant