All Downloads are FREE. Search and download functionalities are using the official Maven repository.

c.spring-boot-admin-sample-servlet.3.3.4.source-code.application.yml Maven / Gradle / Ivy

There is a newer version: 3.3.6
Show newest version
---
info:
  scm-url: "@scm.url@"
  build-url: "https://travis-ci.org/codecentric/spring-boot-admin"

logging:
  level:
    ROOT: info
    de.codecentric: info
    org.springframework.web: info
  file:
    name: "target/boot-admin-sample-servlet.log"
  pattern:
    file: "%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr(${PID}){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n%wEx"

management:
  endpoints:
    web:
      exposure:
        include: "*"
  endpoint:
    refresh:
      enabled: true
    restart:
      enabled: true
    shutdown:
      enabled: true
    env:
      post:
        enabled: true
    health:
      show-details: ALWAYS

spring:
  application:
    name: spring-boot-admin-sample-servlet
  boot:
    admin:
      client:
        url: http://localhost:8080
        instance:
          service-host-type: HOST_NAME
          metadata:
            tags:
              environment: test
              de-service-test-1: A large content
              de-service-test-2: A large content
              de-service-test-3: A large content
              de-service-test-4: A large content
              de-service-test-5: A large content
              de-service-test-6: A large content
            kubectl.kubernetes.io/last-applied-configuration: '{"name":"jvm.threads.peak","description":"The peak live thread count since the Java virtual machine started or peak was reset","baseUnit":"threads","measurements":[{"statistic":"VALUE","value":64.0}],"availableTags":[]}'
          prefer-ip: true
  config:
    import: optional:configserver:http://localhost:8888/
  jmx:
    enabled: true
  main:
    lazy-initialization: true
---
# tag::customization-external-views-simple-link[]
spring:
  boot:
    admin:
      ui:
        external-views:
          - label: "🚀" #<1>
            url: "https://codecentric.de" #<2>
            order: 2000 #<3>
# end::customization-external-views-simple-link[]
---
# tag::customization-external-views-dropdown-with-links[]
spring:
  boot:
    admin:
      ui:
        external-views:
          - label: Link w/o children
            children:
              - label: "📖 Docs"
                url: https://codecentric.github.io/spring-boot-admin/current/
              - label: "📦 Maven"
                url: https://search.maven.org/search?q=g:de.codecentric%20AND%20a:spring-boot-admin-starter-server
              - label: "🐙 GitHub"
                url: https://github.com/codecentric/spring-boot-admin
# end::customization-external-views-dropdown-with-links[]
---
# tag::customization-external-views-dropdown-is-link-with-links-as-children[]
spring:
  boot:
    admin:
      ui:
        external-views:
          - label: Link w children
            url: https://codecentric.de  #<1>
            children:
              - label: "📖 Docs"
                url: https://codecentric.github.io/spring-boot-admin/current/
              - label: "📦 Maven"
                url: https://search.maven.org/search?q=g:de.codecentric%20AND%20a:spring-boot-admin-starter-server
              - label: "🐙 GitHub"
                url: https://github.com/codecentric/spring-boot-admin
          - label: "🎅 Is it christmas"
            url: https://isitchristmas.com
            iframe: true
# end::customization-external-views-dropdown-is-link-with-links-as-children[]
---
# tag::customization-view-settings[]
spring:
  boot:
    admin:
      ui:
        view-settings:
          - name: "journal"
            enabled: false
# end::customization-view-settings[]

management:
  endpoint:
    sbom:
      application:
        location: classpath:bom.json




© 2015 - 2024 Weber Informatics LLC | Privacy Policy