Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 17 18:46
    joshiste labeled #1261
  • Sep 17 10:15
    duffy356 opened #1261
  • Sep 16 20:06

    joshiste on gh-pages

    Docs for current (compare)

  • Sep 16 19:56

    joshiste on master

    Fix tyoe in german translation (compare)

  • Sep 16 19:53

    joshiste on master

    Allow creation of custom nested… (compare)

  • Sep 16 19:53
    joshiste closed #1260
  • Sep 16 19:53
    joshiste milestoned #1260
  • Sep 16 19:53
    joshiste labeled #1260
  • Sep 16 19:53
    joshiste labeled #1260
  • Sep 16 15:25
    calaveraInfo opened #1260
  • Sep 13 17:03

    joshiste on gh-pages

    Docs for current (compare)

  • Sep 13 16:51
    joshiste closed #1259
  • Sep 13 16:50

    joshiste on master

    Add disclaimer for Spring miles… Polish (compare)

  • Sep 13 12:33
    fillert review_requested #1259
  • Sep 13 12:33
    fillert opened #1259
  • Sep 12 15:42
    joshiste labeled #1258
  • Sep 12 13:39
    luodongseu opened #1258
  • Sep 12 06:36
    joshiste labeled #1256
  • Sep 12 05:16
    joshiste closed #1257
  • Sep 12 01:24
    archine opened #1257
alinaq-dev
@alinaq-dev
Each of these services is running two instances on our locally hosted servers. Each instance is either active or passive for fault tolerance purposes
The question is: Whats the best way to configure the Admin GUI to differentiate between the active and passive instances ?
Thanks :)
Andrei Balbenko
@abalbenko
Hello!
I have problem. I have Spring Boot Application. And I want what only Admin have access to Spring Boot Admin. I allow get "/css/*" and "/js/" and other for all persons. But "/manage/" I allow for only admin. And after log in when I call "/manage/" I get endpoints list but I get 302 in journal.
I want what I get 200 in journal and I want what I can get all data about my application.
Johannes Edmeier
@joshiste
@abalbenko sorry, but I didn't understand your problem...
@alinaq-dev So are the instances itself aware of being active or passive? You could write a MetadataContributor that adds this information to the registration... and this would be visible in the ui...
alinaq-dev
@alinaq-dev
Yes the instances are aware that they are active or passive... Do you have an example of the MetradataContributor pls? Thx
Johannes Edmeier
@joshiste
@alinaq-dev https://github.com/codecentric/spring-boot-admin/blob/master/spring-boot-admin-client/src/main/java/de/codecentric/boot/admin/client/registration/metadata/CloudFoundryMetadataContributor.java
This for example adds metadata from cloud foundry.
Another advice: if your prefix the key with tags. it will be rendered in the application list.
Andrei Balbenko
@abalbenko
@joshiste
I added Spring Boot Admin to my project. I want that I can get logs and other info for only one role(Settings with the help of Spring Security).
If I permit for all /manage - all working. But when I permit /manage for admin, I get HTTP Status 302 and cannot get logs and other.
zznnqq210
@zznnqq210
I have an error in Eclipse that when i use spring boot 2.1.7, but this error is no impact on my applications, why ? When I used 2.1.3, it's OK.
Johannes Edmeier
@joshiste
Hard to say without any details on the error.
Andrei Balbenko
@abalbenko
@joshiste now I have other problem. Now I get 406 status. I get 406 status when I call "/login"
Andrei Balbenko
@abalbenko
@joshiste I get 302 status from "/health" and other. Redirect to Login, and after when I call "/login" I get 406
Johannes Edmeier
@joshiste
Looks like a problem with your security config to me.
Andrei Balbenko
@abalbenko
@joshiste I write " .requestMatchers(EndpointRequest.toAnyEndpoint()).hasAuthority("ADMIN")". Why when I call /metrics I redirect to login. Now /login return 200
But /login return login page.
Red Falsaa
@murtaza13_twitter
Hi guys! I am totally new to admin server. I would like to know how could we setup the admin server to monitor services that have ssl enabled?
Johannes Edmeier
@joshiste
As long as these are valid certificates you don’t need to take extra steps. May differ if you use eureka/consul ...
Red Falsaa
@murtaza13_twitter
I have a privately signed SSL certificate for my client application. And I plan to provide a privately signed certificate to my Admin server too. But my client keeps on failing to register. What could that be causing that?
Johannes Edmeier
@joshiste
you need to import the certificate into your trusted keystore - normal java buisness
Red Falsaa
@murtaza13_twitter
Right. I'll give it a go. Also, I intend to move this to production. Are there any features in the admin server using which we could configure the admin server to emit notifications in case of events like "High memory usage", "Thread deadlocks" and etc
Johannes Edmeier
@joshiste
You'd need custom HealthIndicators in the client applications to achieve that.
Andrea
@Andrea92772887_twitter
Hi, I use SBA as discovery client on Eureka server. I see the application on Eureka server, but it is UP on Eureka and DOWN on SBA. Could you help ?
Andrea
@Andrea92772887_twitter
@joshiste Hi, I use SBA 2.1.6 but I see an empty page in metrics. Why ?
Gjing
@archine
Every time I use SpringBootAdmin2.1.6 version combined SpringCloud used, start the admin server will appear: "io.net ty. Channel. ConnectTimeoutException: connection timed out: the host. The docker. Internal / 192.168.20.180:8090", why?
Sarvesh Dubey
@Sarvesh-D
@joshiste we have enabled only https access for all our endpoints except health and info, and now SBA is only able to detect only health and info endpoints even though all actuator endpoints are exposed.. do I need any other configuration in SBA?
Johannes Edmeier
@joshiste
@Sarvesh-D Imho the easiest would be to ensure the management-url submitted to SBA is using the https scheme and health and info must also avaliable via https
Sarvesh Dubey
@Sarvesh-D
@joshiste thanks.. I was able to resolve it using below Eureka configuration:
``` eureka.instance.secure-port-enabled
Unable to format here, but you need to enable secure port for Eureka, disable non secure port, and specify secure port number
Wilber Saca
@wsaca
Hi, the build 2.2.0-SNAPSHOT for "spring-boot-admin-server-cloud" was not uploaded correctly to sonatype. could you fix it?
Wilber Saca
@wsaca
@joshiste when gradle try to download from "https://oss.sonatype.org/content/repositories/snapshots/de/codecentric/spring-boot-admin-server-cloud/2.2.0-SNAPSHOT/" it can't find the jar file, I don't know if this is related but if you inspect that URL there is a build #135...
Johannes Edmeier
@joshiste
indeed this one is missing. I'm triggering the build, and hope that will fix it.
Johannes Edmeier
@joshiste
@wsaca now there is a build 136 - please test
Wilber Saca
@wsaca
@joshiste thanks, now it's working...
Rick Thomas
@richardlthomas
Hi all - I'm trying to register a non-Spring (python/Flask) application with my team's Spring Boot Admin instance. I've been looking with little avail to see exactly what endpoint I would need to hit to register an application or how else I would otherwise go about doing so. Assuming it is possible, does anyone have any insight?
Johannes Edmeier
@joshiste
@richardlthomas do a post to /instances
It should at least have a json body with name and healthUrl property.
If you mimic other actuator endpoints like /info you can also set a managementUrl. SBA will do then query this adress to find an actuator index or if there is no index probe the other endpoints using options requests.
(With the managementUrl as base)
Rick Thomas
@richardlthomas
Yep, that does the trick - thank you so much!
Hem Chand
@versatile-hem
is there anyway to push all the details in the database from the spring boot admin?
Johannes Edmeier
@joshiste
Hmm what do you mean? There is no database in SBA.
Hem Chand
@versatile-hem
I mean, can i push all the stats fetched from the applications in some nosql DB
like mongodb
?
image.png
image.png
from where i can see the history data?
@joshiste , did i able to explain?