by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 06 12:11

    joshiste on gh-pages

    Docs for dependabot/npm_and_yar… (compare)

  • Jun 06 11:57

    dependabot[bot] on npm_and_yarn

    Bump websocket-extensions Bump… (compare)

  • Jun 06 11:57
    dependabot[bot] labeled #1450
  • Jun 06 11:57
    dependabot[bot] labeled #1450
  • Jun 06 11:57
    dependabot[bot] opened #1450
  • Jun 05 14:43
    halatas labeled #1449
  • Jun 05 14:43
    halatas labeled #1449
  • Jun 05 14:43
    halatas opened #1449
  • Jun 05 10:12

    joshiste on gh-pages

    Docs for current (compare)

  • Jun 05 10:01
    joshiste closed #1446
  • Jun 05 09:58

    joshiste on gh-pages

    Docs for 2.2.x (compare)

  • Jun 05 09:55
    joshiste closed #1448
  • Jun 05 09:55

    joshiste on master

    Be lenient to other services in… Merge branch '2.2.x' (compare)

  • Jun 05 09:55

    joshiste on 2.2.x

    Be lenient to other services in… (compare)

  • Jun 05 09:52
    joshiste milestoned #1448
  • Jun 05 09:52
    joshiste demilestoned #1448
  • Jun 05 09:52
    joshiste milestoned #1448
  • Jun 05 09:52
    joshiste unlabeled #1448
  • Jun 05 09:52
    joshiste labeled #1448
  • Jun 05 09:48
    joshiste milestoned #1447
deepak21singh
@deepak21singh
all is working when connecting to embedded tomcat
when deploying admin server and client on external tomcat using war then clinet is not connecting
rmaheswaran
@rmaheswaran
As Im alreading using Eureka in my applications, i had to ignore SBA client dependency. Now i want to enable slack notfications and integrate to my slack channel using webhook. I couldnt findnt the proper solution.
chongli-j
@chongli-j
I want to integrate the springbootadmin monitoring detail page into our own management system, how can I get the instanceId of the detail page? for example localhost:8020/instances/5f3d1f8ee6a0/details,I want to know how can I get 5f3d1f8ee6a0
Johannes Edmeier
@joshiste
@chongli-j you can query the api for it. We have No documentation for the api. Look at the requests in the browser console for the main view
@rmaheswaran search our docs for slack an you’ll find the properties
ettingshausen
@ettingshausen
Hi,Is there a new layout of UI ? Screenshots in README has a different ui with menus on the top. But mine on the left, version 2.2.3
Johannes Edmeier
@joshiste
The screenshots are outdated
tanmaynaik123
@tanmaynaik123
Hi , I'm using spring-boot-admin version 1.5.7. Facing issue as getting continuous exception of read timeout
Screenshot from 2020-05-13 18-18-23.png
So the i switch to the version 2.2.2 of spring-boot-admin-server. In that I'm not able to login to client getting 404 error
itgaojc
@itgaojc
hello
i use spring admin
querydsl-jpa 4.3.0 can not work with spring boot admin ?
Johannes Edmeier
@joshiste
@itgaojc i don't know why it shouldn't is there some error logged?
ettingshausen
@ettingshausen
Snipaste_2020-05-15_18-26-25.png
Extension resources got 404 where spring-boot-admin-server set a context path
<script lang="javascript" th:src="'/extensions/' + ${jsExtension.resourcePath}"></script>
${baseUrl} missing ?
Johannes Edmeier
@joshiste
@ettingshausen ... we already have an issue on this: codecentric/spring-boot-admin#1426
itgaojc
@itgaojc
@joshiste hi , thanks ,when i use querydsl-jpa 4.3.0 and spring admin 2.2.3 there is error log : java.lang.NoSuchMethodError: com.querydsl.jpa.JPQLSerializer.getConstantToAllLabels()Ljava/util/Map;
if i remove spring admin it's ok no error
Johannes Edmeier
@joshiste
@itgaojc SBA doesn't use any querydsl. I'd guess if you include SBA somehow gradle/maven is maybe choosing a different spring boot version. Check your effective dependencies.
itgaojc
@itgaojc
ok thank you
Reed
@ReedCao
Hi, is there any expert can help ?
I run the server and the client up. however, I can't find any application registered
How can I debug to find the root cause?
I also find this error . Server connection failed.
Cannot read property 'map' of undefined
Johannes Edmeier
@joshiste
is there any exception either in the server or the clients log?
Reed
@ReedCao
can I turn on some log for this admin stuff. I can't see any relevant log.
chunge
@derekzhan
hi, how to in custom Notifier get "spring.profiles.active" value from [classpath:/bootstrap.yml] file ?
Reed
@ReedCao
now I am facing " Failed to register application as Application 401"
@derekzhan that seems a spring boot issue. not spring boot admin issue.
use some @value
?
chunge
@derekzhan
ok, i solved, thanks
@ReedCao
Reed
@ReedCao
Finally I got it works. there are many traps. 1. version is important. 2. the naming, the server or the client? when you are working on server, it is sever, the you are working on client, the server is client.
the way to turn on the log is very useful
Abderrahmane Berhil
@AbdelRahmane_b_twitter
Hello, is there a way to not have SBA-server calling all the actuator endpoints of the setup-ed services on the static config when not needing them, but calling them on demand when requested by SBA-UI ? thanks
Johannes Edmeier
@joshiste
@AbdelRahmane_b_twitter Only the actuator-index, health and info endpoint is queried in the background.
What's the reason you want to prevent this?
Currently disabling this via property is not supported. You could try to replace the InfoUpdateTrigger and StatusUpdateTrigger with custom ones...
ScottLiu1024
@ScottLiu1024
Hello, I am new to Spring Boot Admin and I downloaded baeldung.com SBA tutorial, version 2.2.2. The issue I have is that I can't change SBA client log level at run time( change failed message on the log level page) and registered SBA server log level can be changed. How do I change the client log level? This is my security config: http.authorizeRequests()
.antMatchers(this.adminServer.getContextPath() + "/assets/")
.permitAll()
.antMatchers(this.adminServer.getContextPath() + "/login")
.permitAll()
.anyRequest()
.authenticated()
.and()
.formLogin()
.loginPage(this.adminServer.getContextPath() + "/login")
.successHandler(successHandler)
.and()
.logout()
.logoutUrl(this.adminServer.getContextPath() + "/logout")
.and()
.httpBasic()
.and()
.csrf()
.csrfTokenRepository(CookieCsrfTokenRepository.withHttpOnlyFalse())
.ignoringRequestMatchers(new AntPathRequestMatcher(this.adminServer.getContextPath() + "/instances", HttpMethod.POST.toString()), new AntPathRequestMatcher(this.adminServer.getContextPath() + "/instances/*", HttpMethod.DELETE.toString()),
new AntPathRequestMatcher(this.adminServer.getContextPath() + "/actuator/
"))
.and()
.rememberMe()
.key(UUID.randomUUID()
.toString())
.tokenValiditySeconds(1209600);
Philippe Soares
@psoares
Was anyone able to make springboot admin work in kubernetes with Istio?
5 replies
My company's kubernetes cluster uses TLS between all services in the mesh, and once a springboot app registers with springboot admin, its IP address is unreachable and springboot admin can't scrape data from the corresponding container's actuators.
row1govender
@row1govender
Hi all, I'm busy setting up a SBA implementation for the first time and wanted to know if there is a way to configure SBA to only display the details from a subset of actuator endpoints?
I am using this article https://www.baeldung.com/spring-boot-admin which mentions a property that could potentially help spring.boot.admin.routes.endpoints - however this does not seem to be available in version 2.2.3 of SBA.
3 replies
Johannes Edmeier
@joshiste
@psoares @fabiosakiyama I wonder why you don't use the spring-cloud-kubernetes discovery inside the SBA server? It should get the correct URLs for these services.
Sepehr Ghorbanpoor
@sepehr-gh
Im new to gitter so Im not sure if my question is asked before cause I cant find any searching utils here.
But can anyone explain to me how to set context path when our spring boot admin clinet is deployed under stand alone tomcat?

Ive already fixed everything with eureka. but here is an example of error SBA server is showing to me:

Couldn't retrieve info for Instance(id=73a78c62dc44, version=2, registration=Registration(name=SERVICE-1, managementUrl=http://127.0.0.1:8080/actuator, healthUrl=http://127.0.0.1:8080/service1/actuator/health, serviceUrl=http://127.0.0.1:8080, source=discovery), registered=true, statusInfo=StatusInfo(status=UP, details={hystrix={status=UP}, diskSpace={status=UP, details={total=164188123136, free=40319062016, threshold=10485760}}, ping={status=UP}, discoveryComposite={status=UP, details={discoveryClient={status=UP, details={services=[spring-boot-admin, service-1]}}, eureka={description=Remote status from Eureka server, status=UP, details={applications={SPRING-BOOT-ADMIN=1, SERVICE-1=1}}}}}, refreshScope={status=UP}}), statusTimestamp=2020-06-04T08:13:32.416337Z, info=Info(values={}), endpoints=Endpoints(endpoints={httptrace=Endpoint(id=httptrace, url=http://127.0.0.1:8080/actuator/trace), caches=Endpoint(id=caches, url=http://127.0.0.1:8080/actuator/caches), loggers=Endpoint(id=loggers, url=http://127.0.0.1:8080/actuator/loggers), flyway=Endpoint(id=flyway, url=http://127.0.0.1:8080/actuator/flyway), logfile=Endpoint(id=logfile, url=http://127.0.0.1:8080/actuator/logfile), refresh=Endpoint(id=refresh, url=http://127.0.0.1:8080/actuator/refresh), health=Endpoint(id=health, url=http://127.0.0.1:8080/service1/actuator/health), env=Endpoint(id=env, url=http://127.0.0.1:8080/actuator/env), liquibase=Endpoint(id=liquibase, url=http://127.0.0.1:8080/actuator/liquibase), heapdump=Endpoint(id=heapdump, url=http://127.0.0.1:8080/actuator/heapdump), scheduledtasks=Endpoint(id=scheduledtasks, url=http://127.0.0.1:8080/actuator/scheduledtasks), mappings=Endpoint(id=mappings, url=http://127.0.0.1:8080/actuator/mappings), beans=Endpoint(id=beans, url=http://127.0.0.1:8080/actuator/beans), configprops=Endpoint(id=configprops, url=http://127.0.0.1:8080/actuator/configprops), threaddump=Endpoint(id=threaddump, url=http://127.0.0.1:8080/actuator/dump), metrics=Endpoint(id=metrics, url=http://127.0.0.1:8080/actuator/metrics), auditevents=Endpoint(id=auditevents, url=http://127.0.0.1:8080/actuator/auditevents), info=Endpoint(id=info, url=http://127.0.0.1:8080/actuator/info), jolokia=Endpoint(id=jolokia, url=http://127.0.0.1:8080/actuator/jolokia)}), buildVersion=null, tags=Tags(values={})): 404 NOT_FOUND

while my service is deployed under http://127.0.0.1:8080/service1.

I have checked your WAR example and it had nothing more than the configurations I am using. note that healthUrl=http://127.0.0.1:8080/service1/actuator/health is valid cause its taken from eureka configuration. but other urls are not valid

Spring boot version: 2.2.7 , Spring boot admin version: 2.2.3
Sepehr Ghorbanpoor
@sepehr-gh
I ended up fixing this by adding management.context-path in eureka metadata map.