Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 17 15:09
    joshiste milestoned #1347
  • Jan 17 15:01
    joshiste labeled #1347
  • Jan 17 15:01
    joshiste labeled #1347
  • Jan 17 15:01
    joshiste opened #1347
  • Jan 17 09:24

    joshiste on master

    Fixed a typo. (#1346) (compare)

  • Jan 17 09:24
    joshiste closed #1346
  • Jan 17 07:49
    darrellsnow opened #1346
  • Jan 16 14:25
    joshiste unlabeled #1345
  • Jan 16 14:25
    joshiste labeled #1345
  • Jan 15 15:36
    retevastum labeled #1345
  • Jan 15 15:36
    retevastum labeled #1345
  • Jan 15 15:36
    retevastum opened #1345
  • Jan 12 17:16

    joshiste on gh-pages

    Docs for current (compare)

  • Jan 12 15:34

    joshiste on master

    Use lambda spring security conf… (compare)

  • Jan 12 13:22

    joshiste on master

    Use lambda spring security conf… (compare)

  • Jan 12 12:16

    joshiste on master

    Use lambda spring security conf… (compare)

  • Jan 12 11:59

    joshiste on master

    Use lambda spring security conf… (compare)

  • Jan 11 14:33
    joshiste milestoned #1340
  • Jan 11 14:33
    joshiste closed #1340
  • Jan 11 14:33

    joshiste on master

    Force eager instantiation for A… (compare)

Juliano Américo
@JulianoAmerico
@michaelmcfadyen Through application.properties from my microservices
I have used this property: spring.boot.admin.client.url: "some path here"
Michael McFadyen
@michaelmcfadyen
you can set the following property on the client to deregister when the instance is shutdown
spring.boot.admin.client.auto-deregistration=true
Juliano Américo
@JulianoAmerico
@michaelmcfadyen Nice! If health check is down will it show this information?
Aditya Parikh
@adityaparikh91087
@joshiste it looks like the metrics endpoint is still activated
Michael McFadyen
@michaelmcfadyen
@JulianoAmerico if the health check of the instance is down then spring boot admin will mark it as down. I guess spring boot admin has no way to distinguish between an instance that is temporary down and is instance that has been recycled. That is why the client has to inform the server that it needs to be deregistered on shutdown
Juliano Américo
@JulianoAmerico
@michaelmcfadyen Thanks for this information. I will study more about spring boot admin. \o\
Dhaval Shewale
@DhavalShewale
@joshiste Currently we have to pass raw passwords in spring.boot.admin.client.password and spring.boot.admin.client.instance.metadata.user.password. Is there a way we can pass encrypted passwords instead?
Richard G Reedy
@reedyrm
Hello...I have some custom endpoints that I'm using for a custom vue component...When I register the path as <a>/custom-endpoint, the vue instance picks it up in the endpoints array and I can do the .hasEndpoint(...) calls successfully....but when I register the path as <a>/<b>/custom-endpoint...The endpoint is available, but it is not registered in the endpoints array and .hasEndpoint(...) fails....Is this the intended behavior or should all endpoints regardless of their path be registered in the instance.endpoints array inside of a vue component?
Richard G Reedy
@reedyrm
EDIT: to my last question...I tracked down the discrepancy and its coming from the ChainingStrategy for the EndpointDetectionStrategy...instead of combining the results of the QueryIndexEndpointStrategy and the ProbeEndpointsStrategy, it looks like its running the QueryIndexEndpointStrategy first and if it contains values, it is ignoring the ProbeEndpointsStrategy which has more endpoints than the first strategy instead of combining them. Is this the intended behavior for ChaingStrategy (to not combine the available endpoints, but just take the first non-empty set of endpoints)?
Johannes Edmeier
@joshiste
@reedyrm the idea is that when the QueryIndexEndpointStrategy (using a single request to the actuator index) returns some endpoints the ProbeEndpointsStrategy (using multiple requests; one per endpoint) is not executed. So the results aren't merged. You should make sure that your custom endpoints appear in the actuator index.
Capone1983
@Capone1983

Hi, Need help. This is causing my notifications to go off all the time. As you can see below from the events. the PODs in openshift are running. However in SBA events keep showing that the App goes offline then ms later its up. What could be the cause?

spring.boot.admin.monitor.status-lifetime = 5s
spring.boot.admin.monitor.status-interval = 3s
spring.cloud.kubernetes.discovery.catalogServicesWatchDelay = 3s

cmbp-dev d4664b153da3 01/03/2020 09:25:54.082 STATUS_CHANGED (UP)
cmbp-dev d4664b153da3 01/03/2020 09:25:53.816 STATUS_CHANGED (OFFLINE)
custman-dev 47ddb29b1f58 01/03/2020 09:25:53.783 STATUS_CHANGED (OFFLINE)
accm-dev a1389d341934 01/03/2020 09:25:36.096 STATUS_CHANGED (UP)
accm-dev a1389d341934 01/03/2020 09:25:35.826 STATUS_CHANGED (OFFLINE)
notice-deposit-dev 6258ff56b068 01/03/2020 09:25:11.920 STATUS_CHANGED (UP)
notice-deposit-dev 6258ff56b068 01/03/2020 09:25:11.795 STATUS_CHANGED (OFFLINE)

Johannes Edmeier
@joshiste
@Capone1983 May be the request times out? If you click on the event in the journal in the zu you may find additional details.
*zu = ui
Damn autocorrect
Capone1983
@Capone1983

@joshiste

{
"statusInfo": {
"status": "OFFLINE",
"details": {
"exception": "java.util.concurrent.TimeoutException",
"message": "Did not observe any item or terminal signal within 10000ms in 'map' (and no fallback has been configured)"
}
}
}

Dhaval Shewale
@DhavalShewale
@joshiste iframe=true does not work for me for external views. Can you pls confirm if below config is correct.
spring:
  boot:
    admin:
      ui:
        external-views:
          - label: "🚀"
            url: http://codecentric.de
            order: 2000
            iframe: true
Daniel Gradecak
@dgradecak
hi all, I have a "common issue" where only /health endpoint is being shown (SBA 2.2.1 and boot 2.2.2, I also tried 2.2.0/1). I disabled security on actuators and they are all available. None is shown but /health, I also added some custom data in /info but it stays hidden. I have no idea where to look anymore, the contenttype is also correct as suggested here codecentric/spring-boot-admin#1045
Daniel Gradecak
@dgradecak
btw, SBA /applications only returns the health endpoint although all are exposed
Ross Christopher
@rchristopher
Hi all! I am trying to embed the spring admin dashboard into an angular app. Ive tried using an iframe pointing to the admin UI however authorization headers are required to access the dashboard so this did not work. My next idea was to edit the Vue.js source code to include the auth headers in all of the requests to the backend. I managed to do this so that every request included the header, however I have not been able to change the baseURL of each request. It points to localhost by default but I need it to point to an external URL. Any suggestions would be appreciated! I’m working with this source code: https://github.com/codecentric/spring-boot-admin/tree/master/spring-boot-admin-server-ui/src/main/frontend
Johannes Edmeier
@joshiste
you can set spring.boot.admin.ui.public-url for a different base-url
Daniel Gradecak
@dgradecak
good morning, any suggestion what could go wrong with only having the /health end point in SBA 2.2.1?
Johannes Edmeier
@joshiste
@dgradecak did you check if the endpoints are listed in the /actuator index of your application?
Daniel Gradecak
@dgradecak
I did
I also did what you said inhere codecentric/spring-boot-admin#1102 and not sure yet why no other events than "registered" are being fired, trying to understand that while debuging, but ...
Johannes Edmeier
@joshiste
is the index protected? Is the SBA server able to access it?
If SBA cannot access the index it falls back to probing for endpoints. I guess the health endpoint is the only one unprotected and therefore the only one being found by probing.
Daniel Gradecak
@dgradecak
so all actuators are available without security and the client registers itself, I do not use any discovery client right now
Johannes Edmeier
@joshiste
Did you change the path of spring boot actuator?
Daniel Gradecak
@dgradecak
nope
I also removed all the context paths to avoid that, so everything is pointing to :xxxx/
no docker, nothing, just pure java on the same machine
Daniel Gradecak
@dgradecak
what is strange is that is shows this on the UI
image.png
and sure, both are separated boot apps
Daniel Gradecak
@dgradecak
well, wehn I said no security it is on the client app
seems when disabling basic auth on the admin it works, although I included spring.boot.admin.client.username and password for basic auth, and it gets registered
Daniel Gradecak
@dgradecak
and csrf is disabled on the admin server side, I rechecked your samples and https://codecentric.github.io/spring-boot-admin/current/#_securing_spring_boot_admin_server
Daniel Gradecak
@dgradecak
@joshiste funny thing, I have a custom hazelcastinstance and when removing that config completely on the admin side, than it works. I do not know why it would cause SBA not to be able to register correctly clients
Daniel Gradecak
@dgradecak
anyhow, reading your documentation correctly https://codecentric.github.io/spring-boot-admin/current/#clustering-support made me realize that if hazelcast is there both configs have to be created
spring.boot.admin.hazelcast.event-store and notifications
sorry, but it was a tough one
Dhaval Shewale
@DhavalShewale
@joshiste iframe=true does not work for me for external views. Any feedback on this?
Johannes Edmeier
@joshiste
Did you check that the embedded page has no headers set that prevent loading in an iFrame
?
Dhaval Shewale
@DhavalShewale
It is pointed to http://codecentric.de
Johannes Edmeier
@joshiste
@DhavalShewale Take a look into the browsers console why the iframe isn't loaded.
codecentric.de ships a frame-ancestors 'self' which prevents it from loading in an iframe. spring.io for example works
Dhaval Shewale
@DhavalShewale
Ok will try with spring.io and let you know
Daniel Gradecak
@dgradecak
@joshiste after using my own UI for srping boot based on angular than trying hawtio vs SBA, I have to say that you built a great tool, easy to extend. My only issue was that hazelcast part where I would expect a different kind of "error" if both maps do not exist. Anyhow, sticking with SBA from now on.
Johannes Edmeier
@joshiste
@dgradecak Thanks for the compliments. I'm myself no hazelcast user. If you have an idea how to prevent others from running into this problem - please file an issue!
Daniel Gradecak
@dgradecak
@joshite will try to see what could be done and will at least file an issue but I will try to do a pull request, since I will be back on that end of this week
JJ
@retevastum
Ladies, gents...i am in the 'forbidden' scenario of having SBA server and client in one app (so there is only one app registered for any SBA server instance, which is itself). For various reasons i can't change that. I see a huge cpu usage when being on the insights>details page. No clue why, the only thing i can think of is i have a "lot of" caches (like 40). Any guesses on that cpu usage ? The second thing is: I am unable to find a config setting how often the graphs on the detail page get updated. Is there no way to get that "slower" ? To try out if that may be the reason. Huge thanx and cheers, JJ