SpringBoot .yml and the common configuration .properties (lower)

Original: https: //www.jianshu.com/p/8ec39786634a

THREAD DUMP ENDPOINT(ThreadDumpEndpoint)

management.endpoint.threaddump.cache.time-to-live = 0ms # maximum time can be cached responses.
management.endpoint.threaddump.enabled = true # Whether to enable threaddump endpoint.

HEALTH INDICATORS

management.health.db.enabled = true # health checks whether the database is enabled.
management.health.cassandra.enabled = true # if Cassandra Health Check is enabled.
management.health.couchbase.enabled = true # Couchbase whether the health check is enabled.
management.health.defaults.enabled = true # is enabled by default health indicators.
management.health.diskspace.enabled = true # Enable disk space whether health checks.
management.health.diskspace.path = # for path calculation of available disk space.
management.health.diskspace.threshold = 10MB # should be the minimum disk space available.
management.health.elasticsearch.enabled = true # if Elasticsearch Health Check is enabled.
management.health.elasticsearch.indices = # comma-separated index name.
management.health.elasticsearch.response-timeout = 100ms # cluster waits for a response.
management.health.influxdb.enabled = true # if InfluxDB Health Check is enabled.
management.health.jms.enabled = true # if JMS Health Check is enabled.
management.health.ldap.enabled = true # Whether to enable LDAP health check.
management.health.mail.enabled = true # health checks whether the mail-enabled.
management.health.mongo.enabled = true # MongoDB whether health checks enabled.
management.health.neo4j.enabled = true # Neo4j whether the health check is enabled.
management.health.rabbit.enabled = true # if RabbitMQ Health Check is enabled.
management.health.redis.enabled = true # Redis whether health checks enabled.
management.health.solr.enabled = true # if Solr Health Check is enabled.
management.health.status.http-mapping = # healthy state map HTTP status code. By default, the registered health mapped to a reasonable default value (for example, UP mapped to 200).
management.health.status.order = DOWN, OUT_OF_SERVICE, UP, UNKNOWN # comma-separated list of health status, sorted by severity.

HTTP TRACING(HttpTraceProperties)

management.trace.http.enabled = true # Whether to enable HTTP request - response tracking.
management.trace.http.include = request header, the response headers, Cookie, # to include errors in the tracking of items.

Contributors #info (InfoContributorProperties)
management.info.build.enabled = # to true whether to enable build information.
management.info.defaults.enabled = true # is enabled by default information contributors.
management.info.env.enabled = true # Whether to enable environmental information.
management.info.git.enabled = true # Whether to enable git information.
management.info.git.mode = simple # git mode information for disclosure.

METRICS

management.metrics.distribution.maximum-expected-value. * = # Is expected to grow to specify the name of the metered maximum ID.
management.metrics.distribution.minimum-expected-value. * = # Is expected to grow to specify the minimum meter ID name began.
management.metrics.distribution.percentiles. # * = Calculated specific percentile of non-polymerizable, instrument ID to specify the name for the start of transmission to the rear end.
management.metrics.distribution.percentiles-histogram. * = # ID specify whether the meter at the beginning of the name should be published percentile histograms.
management.metrics.distribution.sla. * = # Specific SLA boundaries meter ID specified at the beginning of the name. The longest match wins.
management.metrics.enable. * = # ID should be enabled whether to specify the name of the instrument began. The longest match wins, the key "all" can be used to configure all of the meters.
management.metrics.export.appoptics.api-token = #AppOptics API token.
management.metrics.export.appoptics.batch-size = 500 # request metric for each number thereafter terminated. If the measured value to find more, a plurality of requests will be issued.
management.metrics.export.appoptics.connect-timeout = 5s # is connected to this rear end of the timeout request.
management.metrics.export.appoptics.enabled = true # Whether to enable metrics will be exported to the back-end.
management.metrics.export.appoptics.host-tag = instance # mapped to the index "@host" tag is sent to AppOptics.
management.metrics.export.appoptics.num-threads = 2 # The number of threads used by the program indicators release schedule.
management.metrics.export.appoptics.read-timeout = 10s # read request after the timeout end.
management.metrics.export.appoptics.step = 1m # step size to be used (i.e., reporting frequency).
management.metrics.export.appoptics.uri = https://api.appoptics.com/v1/measurements# index will be sent to the URI.
management.metrics.export.atlas.batch-size = 10000 # per metric number request to the backend. If the measured value to find more, a plurality of requests will be issued.
management.metrics.export.atlas.config-refresh-frequency = 10s # refresh frequency LWC configuration settings from the service.
management.metrics.export.atlas.config-time-to-live = 150s #LWC lifetime service subscription.
management.metrics.export.atlas.config-uri = http: // localhost : 7101 / lwc / api / v1 / expressions / local-dev #Atlas URI LWC endpoints for retrieving current subscription.
management.metrics.export.atlas.connect-timeout = 1s # is connected to this rear end of the timeout request.
management.metrics.export.atlas.enabled = true # Whether to enable metrics will be exported to the back-end.
management.metrics.export.atlas.eval-uri = http: // localhost : 7101 / lwc / api / v1 / evaluate # URI Atlas LWC endpoint for assessing subscription data.
management.metrics.export.atlas.lwc-enabled = false # streaming is enabled to Atlas LWC.
management.metrics.export.atlas.meter-time-to-live = 15m # m no time to live any activity. After this period, the instrument will be deemed to have expired and will not be reported.
management.metrics.export.atlas.num-threads = 2 # The number of threads used by the program indicators release schedule.
management.metrics.export.atlas.read-timeout = 10s # read request after the timeout end.
management.metrics.export.atlas.step = 1m # step size to be used (i.e., reporting frequency).
management.metrics.export.atlas.uri = http: // localhost: 7101 / api URI / v1 / publish #Atlas server.
management.metrics.export.datadog.api-key = #Datadog API key.
management.metrics.export.datadog.application-key = # Datadog application key. Not strictly required, but to improve the experience by describing Datadog to send Datadog instrument, and the type of the basic unit.
management.metrics.export.datadog.batch-size = 10000 # per metric number request to the backend. If the measured value to find more, a plurality of requests will be issued.
management.metrics.export.datadog.connect-timeout = 1s # is connected to this rear end of the timeout request.
management.metrics.export.datadog.descriptions = true # whether to publish metadata to describe Datadog. It off to minimize the amount of metadata sent.
management.metrics.export.datadog.enabled = true # Whether to enable metrics will be exported to the back-end.
management.metrics.export.datadog.host-tag = instance # index will be mapped to the "host" is sent to the indicia Datadog.
management.metrics.export.datadog.num-threads = 2 # The number of threads used by the program indicators release schedule.
management.metrics.export.datadog.read-timeout = 10s # read request after the timeout end.
management.metrics.export.datadog.step = 1m # step size to be used (i.e., reporting frequency).
management.metrics.export.datadog.uri = https: //app.datadoghq.com# sent to the URI index. If you need to publish the index to Datadog internal proxy, you can use this method to define the position of the agent.
management.metrics.export.dynatrace.api-token = # Dynatrace authentication token.
management.metrics.export.dynatrace.batch-size = 10000 # per metric number request to the backend. If the measured value to find more, a plurality of requests will be issued.
management.metrics.export.dynatrace.connect-timeout = 1s # is connected to this rear end of the timeout request.
The management.metrics.export.dynatrace.device-id = ID Dynatrace metric exported to a custom device.
management.metrics.export.dynatrace.enabled = true # Whether to enable metrics will be exported to the back-end.
management.metrics.export.dynatrace.num-threads = 2 # The number of threads used by the program indicators release schedule.
management.metrics.export.dynatrace.read-timeout = 10s # read request after the timeout end.
management.metrics.export.dynatrace.step = 1m # step size to be used (i.e., reporting frequency).
management.metrics.export.dynatrace.technology-type = type of technology java # derived indicators. Grouping metric for the logical name Dynatrace UI in the art.
management.metrics.export.dynatrace.uri = URI index to be transmitted. Should be used for SaaS, examples of self-management or through internal agency approach.
management.metrics.export.elastic.auto-create-index = true # whether to automatically create an index (if not present).
management.metrics.export.elastic.batch-size = 10000 # per metric number request to the backend. If the measured value to find more, a plurality of requests will be issued.
management.metrics.export.elastic.connect-timeout = 1s # is connected to this rear end of the timeout request.
management.metrics.export.elastic.enabled = true # Whether to enable metrics will be exported to the back-end.
management.metrics.export.elastic.host = http: // localhost: 9200 # index will be exported to the host.
management.metrics.export.elastic.index = metrics # index will be exported to the indexes.
management.metrics.export.elastic.index-date-format = yyyy- MM # Roll Index for the index date format. Index name is appended to the back with a '-'.
management.metrics.export.elastic.num-threads = 2 # The number of threads used by the program indicators release schedule.
management.metrics.export.elastic.password = # resilient server login password.
management.metrics.export.elastic.read-timeout = 10s # read request after the timeout end.
management.metrics.export.elastic.step = 1m # step size to be used (i.e., reporting frequency).
management.metrics.export.elastic.timestamp-field-name = name @ timestamp # timestamp field.
management.metrics.export.elastic.user-name = # resilient server login user.
management.metrics.export.ganglia.addressing-mode = multicast #UDP addressing mode, unicast or multicast.
management.metrics.export.ganglia.duration- units = # ms basic time unit for reporting duration.
management.metrics.export.ganglia.enabled = true # Whether to enable export index to Ganglia.
management.metrics.export.ganglia.host = localhost #Ganglia host server, for receiving indicators derived.
management.metrics.export.ganglia.port = 8649 #Ganglia server port, for receiving indicators derived.
management.metrics.export.ganglia.protocol-version = 3.1 #Ganglia protocol version. It must be 3.1 or 3.0.
management.metrics.export.ganglia.rate- units = seconds # for basic time unit reporting rates.
management.metrics.export.ganglia.step = 1m # step size to be used (i.e., reporting frequency).
management.metrics.export.ganglia.time-to-live = 1 # living in the time of Ganglia metrics. The Multicast Time is set to be greater than the number of hops between hosts (router).
management.metrics.export.graphite.duration-units = # ms basic time unit for reporting duration.
management.metrics.export.graphite.enabled = true # Whether to enable export index to Graphite.
management.metrics.export.graphite.host = localhost #Graphite host server, for receiving indicators derived.
management.metrics.export.graphite.port = port 2004 #Graphite server for receiving indicators derived.
management.metrics.export.graphite.protocol = pickled # in the protocol used to transmit data to Graphite.
management.metrics.export.graphite.rate-units = seconds # basic time unit for reporting rates.
management.metrics.export.graphite.step = 1m # step size to be used (i.e., reporting frequency).
management.metrics.export.graphite.tags-as-prefix = # for the default naming convention, the specified part of the mark key is converted to metric standard prefix.
management.metrics.export.humio.api-token = #Humio API token.
management.metrics.export.humio.batch-size = 10000 # per metric number request to the backend. If the measured value to find more, a plurality of requests will be issued.
management.metrics.export.humio.connect-timeout = 5s # is connected to this rear end of the timeout request.
management.metrics.export.humio.enabled = true # Whether to enable metrics will be exported to the back-end.
management.metrics.export.humio.num-threads = 2 # The number of threads used by the program indicators release schedule.
management.metrics.export.humio.read-timeout = 10s # read request after the timeout end.
management.metrics.export.humio.repository = name to the repository sandbox # To publish indicators.
management.metrics.export.humio.step = 1m # step size to be used (i.e., reporting frequency).
management.metrics.export.humio.tags. * = #Humio tag, storing the index is used to describe the data source. Humio tag is a label with Micrometer different concepts. The label for a micrometer size along the division boundary metrics.
management.metrics.export.humio.uri = https: //cloud.humio.com#idex sends to the index. If you need to index posted to Humio internal agent, you can use this method to define the proxy position.
management.metrics.export.influx.auto-create-db = true # Before attempting to publish its index, whether Influx whether to create a database exists.
management.metrics.export.influx.batch-size = 10000 # per metric number request to the backend. If the measured value to find more, a plurality of requests will be issued.
management.metrics.export.influx.compressed = true # Enable GZIP compression on whether the batch posted to measure Influx of.
management.metrics.export.influx.connect-timeout = 1s # is connected to this rear end of the timeout request.
management.metrics.export.influx.consistency = one # for each point write consistency.
management.metrics.export.influx.db = mydb # send the index mapped to the "host" to mark the Influx.
management.metrics.export.influx.enabled = true # Whether to enable metrics will be exported to the back-end.
management.metrics.export.influx.num-threads = 2 # The number of threads used by the program indicators release schedule.
management.metrics.export.influx.password = password #Influx server.
management.metrics.export.influx.read-timeout = 10s # read request after the timeout end.
management.metrics.export.influx.retention-duration = #Influx period data should be retained in the current database.
management.metrics.export.influx.retention-shard-duration = # slice group covers the time frame.
management.metrics.export.influx.retention-policy = # retention policy you want to use (if not specified, the Influx write DEFAULT retention policy).
management.metrics.export.influx.retention-replication-factor = # focused on how many copies of data stored in the group.
management.metrics.export.influx.step = 1m # step size to be used (i.e., reporting frequency).
management.metrics.export.influx.uri = http: // localhost: URI 8086 #Influx server.
management.metrics.export.influx.user-name = login user #Influx server.
management.metrics.export.jmx.domain = metrics #Metrics JMX domain.
management.metrics.export.jmx.enabled = true # metric is enabled to export to JMX.
management.metrics.export.jmx.step = 1m # step size to be used (i.e., reporting frequency).
management.metrics.export.kairos.batch-size = 10000 # per metric number request to the backend. If the measured value to find more, a plurality of requests will be issued.
management.metrics.export.kairos.connect-timeout = 1s # is connected to this rear end of the timeout request.
management.metrics.export.kairos.enabled = true # Whether to enable metrics will be exported to the back-end.
management.metrics.export.kairos.num-threads = 2 # The number of threads used by the program indicators release schedule.
management.metrics.export.kairos.password = password #KairosDB server.
management.metrics.export.kairos.read-timeout = 10s # read request after the timeout end.
management.metrics.export.kairos.step = 1m # step size to be used (i.e., reporting frequency).
management.metrics.export.kairos.uri = localhost: 8080 / api / v1 URI / datapoints #KairosDB server.
management.metrics.export.kairos.user-name = login user #KairosDB server.
management.metrics.export.newrelic.account-id = # New Relic account ID.
management.metrics.export.newrelic.api-key = #New Relic API key.
management.metrics.export.newrelic.batch-size = 10000 # per metric number request to the backend. If the measured value to find more, a plurality of requests will be issued.
management.metrics.export.newrelic.connect-timeout = 1s # is connected to this rear end of the timeout request.
management.metrics.export.newrelic.enabled = true # Whether to enable metrics will be exported to the back-end.
management.metrics.export.newrelic.num-threads = 2 # The number of threads used by the program indicators release schedule.
management.metrics.export.newrelic.read-timeout = 10s # read request after the timeout end.
management.metrics.export.newrelic.step = 1m # step size to be used (i.e., reporting frequency).
management.metrics.export.newrelic.uri = https://insights-collector.newrelic.com #idex index will be sent to.
management.metrics.export.prometheus.descriptions = true # scrape whether to release described as part of the payload to enable Prometheus. The amount of data sent it off to minimize scratching each.
management.metrics.export.prometheus.enabled = true # Whether to enable export index to Prometheus.
management.metrics.export.prometheus.step = 1m # step size to be used (i.e., reporting frequency).
management.metrics.export.prometheus.pushgateway.base-url = localhost: Basic URL 9091 #Pushgateway of.
management.metrics.export.prometheus.pushgateway.enabled = false # Enabling released by Prometheus Pushgateway.
management.metrics.export.prometheus.pushgateway.grouping-key = # of packet indicator push button.
management.metrics.export.prometheus.pushgateway.job = # This application instance job identifier.
management.metrics.export.prometheus.pushgateway.push-rate = 1m # push for frequency index.
# = management.metrics.export.prometheus.pushgateway.shutdown-operation operation should be performed at the time of shutdown.
management.metrics.export.signalfx.access-token = #SignalFX access token.
management.metrics.export.signalfx.batch-size = 10000 # per metric number request to the backend. If the measured value to find more, a plurality of requests will be issued.
management.metrics.export.signalfx.connect-timeout = 1s # is connected to this rear end of the timeout request.
management.metrics.export.signalfx.enabled = true # Whether to enable metrics will be exported to the back-end.
management.metrics.export.signalfx.num-threads = 2 # The number of threads used by the program indicators release schedule.
management.metrics.export.signalfx.read-timeout = 10s # read request after the timeout end.
management.metrics.export.signalfx.source = # application instance uniquely identifies indicators are released to the SignalFx. The default is the local host name.
management.metrics.export.signalfx.step = 10s # step size (i.e., reporting frequency) use.
management.metrics.export.signalfx.uri = https: //ingest.signalfx.com# sent to the URI index.
management.metrics.export.simple.enabled = true # In the absence of any other exporter of the case, whether to enable the export index into memory backend.
# management.metrics.export.simple.mode = cumulative count mode.
management.metrics.export.simple.step = 1m # step size to be used (i.e., reporting frequency).
management.metrics.export.statsd.enabled = true # Whether to enable metrics will be exported to StatsD.
management.metrics.export.statsd.flavor = datadog # StatsD line protocol.
management.metrics.export.statsd.host = localhost #StatsD host server, for receiving indicators derived.
management.metrics.export.statsd.max-packet-length = 1400 # single payload MTU should be maintained at the total length of the network.
management.metrics.export.statsd.polling-frequency = 10s # measuring instruments
frequency. Polling instrument, recalculates the value, if the value has changed (or is publishUnchangedMeters to true), it will send it to the server StatsD. management.metrics.export.statsd.port = 8125 #StatsD server port, for receiving indicators derived.
Send management.metrics.export.statsd.publish- unchanged meters = true # will not change whether the meter to StatsD server.
management.metrics.export.wavefront.api-token = # API tokens issued directly to the index used when the host Wavefront API.
management.metrics.export.wavefront.batch-size = 10000 # per metric number request to the backend. If the measured value to find more, a plurality of requests will be issued.
management.metrics.export.wavefront.connect-timeout = 1s # is connected to this rear end of the timeout request.
management.metrics.export.wavefront.enabled = true # Whether to enable metrics will be exported to the back-end.
management.metrics.export.wavefront.global-prefix = # global prefix for the application of this metric derived from a white-box tool when viewed in the UI Wavefront Wavefront originating from other integrated metrics separately.
management.metrics.export.wavefront.num-threads = 2 # The number of threads used by the program indicators release schedule.
management.metrics.export.wavefront.read-timeout = 10s # read request after the timeout end.
unique identifier management.metrics.export.wavefront.source = # application instance, the instance is to publish the source of Wavefront metrics. The default is the local host name.
management.metrics.export.wavefront.step = 10s # step size to be used (i.e., reporting frequency).
management.metrics.export.wavefront.uri = https: //longboard.wavefront.com# sent to the URI index.
management.metrics.use-global-registry = true # if should be automatically configured MeterRegistry bound to implement the Global Metrics static registry.
management.metrics.tags. * = # Applied to each instrument of public tags.
management.metrics.web.client.max-uri-tags = the maximum allowed number of unique tag values 100 # URI. After the maximum number of tag values, filter rejects other tags having a metric value.
management.metrics.web.client.requests-metric-name = name http.client.requests # metric sent the request.
management.metrics.web.server.auto-time-requests = true # whether the request should be automatically Spring MVC, WebFlux Jersey, or the timing of treatment.
management.metrics.web.server.max-uri-tags = the maximum allowed number of unique tag values 100 # URI. After the maximum number of tag values, filter rejects other tags having a metric value.
management.metrics.web.server.requests-metric-name = name http.server.requests # metrics received request.

#----------------------------------------
#DEDTOOLS PROPERTIES
#----- -----------------------------------

DESTOOLS (DevToolsProperties) // hot deployment

spring.devtools.add-properties = true # property development whether the default value is enabled.
spring.devtools.livereload.enabled = true # if livereload.com compatible server enabled.
spring.devtools.livereload.port = 35729 # server port.
spring.devtools.restart.additional-exclude = # other modes should be excluded from the trigger fully restarted in.
spring.devtools.restart.additional-paths = # To monitor other path to change.
spring.devtools.restart.enabled = true # restart automatically enabled.
spring.devtools.restart.exclude = META-INF / maven / **, META-INF / resources / **, resources / * static / ** public / * , templates / , / the Test.class, / * Tests.class, git.properties, META-INF / build-info.properties # should be excluded from triggering a full restart of the mode.
spring.devtools.restart.log-condition-evaluation-delta = true # assess whether the increase in the recording condition restart.
spring.devtools.restart.poll-interval = time to wait between the polling 1s # classpath changes.
spring.devtools.restart.quiet-period = 400ms # no class path changes required amount of quiet time before triggering the restart.
spring.devtools.restart.trigger-file = # the name of a specific file, when changes trigger a restart inspection. If not specified, the file path of any class changes will trigger a restart.

DevTools #remote (RemoteDevToolsProperties)
spring.devtools.remote.context-path = /. ~~ spring-boot! ~ # Context path for processing remote connections.
spring.devtools.remote.proxy.host = # proxy host for connection to a remote application.
spring.devtools.remote.proxy.port = # proxy port for connection to a remote application.
spring.devtools.remote.restart.enabled = true # Whether to enable remote reboot.
spring.devtools.remote.secret = # required to establish a connection shared key (to enable remote support required).
spring.devtools.remote.secret header name = X-AUTH-TOKEN # shared key for transmitting an HTTP header.

#----------------------------------------
#TESTING PROPERTIES
#----- -----------------------------------

TESTING PROPERTIES

spring.test.database.replace = any # Type to replace the existing DataSource.
spring.test.mockmvc.print = default #MVC print options.

Published 10 original articles · won praise 0 · Views 167

Guess you like

Origin blog.csdn.net/yunqiu21/article/details/104014366