Error creating bean with name JettyServletWebServerFactory defined in class path resource

posted 1 year ago

  • Error creating bean with name JettyServletWebServerFactory defined in class path resource
  • Error creating bean with name JettyServletWebServerFactory defined in class path resource

    Number of slices to send:

    Optional 'thank-you' note:

  • Error creating bean with name JettyServletWebServerFactory defined in class path resource
  • Error creating bean with name JettyServletWebServerFactory defined in class path resource

I have been trying to fix these errors for the past few days mentioned by Spring without avail.

Please let me know what exactly is causing the errors :

My application.properties :

and the error :

Tks.

management.appoptics.metrics.export.api-token

AppOptics API token.

management.appoptics.metrics.export.batch-size

Number of measurements per request to use for this backend. If more measurements are found, then multiple requests will be made.

500

management.appoptics.metrics.export.connect-timeout

Connection timeout for requests to this backend.

5s

management.appoptics.metrics.export.enabled

Whether exporting of metrics to this backend is enabled.

true

management.appoptics.metrics.export.floor-times

Whether to ship a floored time, useful when sending measurements from multiple hosts to align them on a given time boundary.

false

management.appoptics.metrics.export.host-tag

Tag that will be mapped to "@host" when shipping metrics to AppOptics.

instance

management.appoptics.metrics.export.read-timeout

Read timeout for requests to this backend.

10s

management.appoptics.metrics.export.step

Step size (i.e. reporting frequency) to use.

1m

management.appoptics.metrics.export.uri

URI to ship metrics to.

https://api.appoptics.com/v1/measurements

management.atlas.metrics.export.batch-size

Number of measurements per request to use for this backend. If more measurements are found, then multiple requests will be made.

10000

management.atlas.metrics.export.config-refresh-frequency

Frequency for refreshing config settings from the LWC service.

10s

management.atlas.metrics.export.config-time-to-live

Time to live for subscriptions from the LWC service.

150s

management.atlas.metrics.export.config-uri

URI for the Atlas LWC endpoint to retrieve current subscriptions.

http://localhost:7101/lwc/api/v1/expressions/local-dev

management.atlas.metrics.export.connect-timeout

Connection timeout for requests to this backend.

1s

management.atlas.metrics.export.enabled

Whether exporting of metrics to this backend is enabled.

true

management.atlas.metrics.export.eval-uri

URI for the Atlas LWC endpoint to evaluate the data for a subscription.

http://localhost:7101/lwc/api/v1/evaluate

management.atlas.metrics.export.lwc-enabled

Whether to enable streaming to Atlas LWC.

false

management.atlas.metrics.export.meter-time-to-live

Time to live for meters that do not have any activity. After this period the meter will be considered expired and will not get reported.

15m

management.atlas.metrics.export.num-threads

Number of threads to use with the metrics publishing scheduler.

4

management.atlas.metrics.export.read-timeout

Read timeout for requests to this backend.

10s

management.atlas.metrics.export.step

Step size (i.e. reporting frequency) to use.

1m

management.atlas.metrics.export.uri

URI of the Atlas server.

http://localhost:7101/api/v1/publish

management.auditevents.enabled

Whether to enable storage of audit events.

true

management.cloudfoundry.enabled

Whether to enable extended Cloud Foundry actuator endpoints.

true

management.cloudfoundry.skip-ssl-validation

Whether to skip SSL verification for Cloud Foundry actuator endpoint security calls.

false

management.datadog.metrics.export.api-key

Datadog API key.

management.datadog.metrics.export.application-key

Datadog application key. Not strictly required, but improves the Datadog experience by sending meter descriptions, types, and base units to Datadog.

management.datadog.metrics.export.batch-size

Number of measurements per request to use for this backend. If more measurements are found, then multiple requests will be made.

10000

management.datadog.metrics.export.connect-timeout

Connection timeout for requests to this backend.

1s

management.datadog.metrics.export.descriptions

Whether to publish descriptions metadata to Datadog. Turn this off to minimize the amount of metadata sent.

true

management.datadog.metrics.export.enabled

Whether exporting of metrics to this backend is enabled.

true

management.datadog.metrics.export.host-tag

Tag that will be mapped to "host" when shipping metrics to Datadog.

instance

management.datadog.metrics.export.read-timeout

Read timeout for requests to this backend.

10s

management.datadog.metrics.export.step

Step size (i.e. reporting frequency) to use.

1m

management.datadog.metrics.export.uri

URI to ship metrics to. Set this if you need to publish metrics to a Datadog site other than US, or to an internal proxy en-route to Datadog.

https://api.datadoghq.com

management.defaults.metrics.export.enabled

Whether to enable default metrics exporters.

true

management.dynatrace.metrics.export.api-token

Dynatrace authentication token.

management.dynatrace.metrics.export.batch-size

Number of measurements per request to use for this backend. If more measurements are found, then multiple requests will be made.

10000

management.dynatrace.metrics.export.connect-timeout

Connection timeout for requests to this backend.

1s

management.dynatrace.metrics.export.enabled

Whether exporting of metrics to this backend is enabled.

true

management.dynatrace.metrics.export.read-timeout

Read timeout for requests to this backend.

10s

management.dynatrace.metrics.export.step

Step size (i.e. reporting frequency) to use.

1m

management.dynatrace.metrics.export.uri

URI to ship metrics to. Should be used for SaaS, self-managed instances or to en-route through an internal proxy.

management.dynatrace.metrics.export.v1.device-id

ID of the custom device that is exporting metrics to Dynatrace.

management.dynatrace.metrics.export.v1.group

Group for exported metrics. Used to specify custom device group name in the Dynatrace UI.

management.dynatrace.metrics.export.v1.technology-type

Technology type for exported metrics. Used to group metrics under a logical technology name in the Dynatrace UI.

java

management.dynatrace.metrics.export.v2.default-dimensions.*

Default dimensions that are added to all metrics in the form of key-value pairs. These are overwritten by Micrometer tags if they use the same key.

management.dynatrace.metrics.export.v2.enrich-with-dynatrace-metadata

Whether to enable Dynatrace metadata export.

true

management.dynatrace.metrics.export.v2.metric-key-prefix

Prefix string that is added to all exported metrics.

management.dynatrace.metrics.export.v2.use-dynatrace-summary-instruments

Whether to fall back to the built-in micrometer instruments for Timer and DistributionSummary.

true

management.elastic.metrics.export.api-key-credentials

Base64-encoded credentials string. Mutually exclusive with user-name and password.

management.elastic.metrics.export.auto-create-index

Whether to create the index automatically if it does not exist.

true

management.elastic.metrics.export.batch-size

Number of measurements per request to use for this backend. If more measurements are found, then multiple requests will be made.

10000

management.elastic.metrics.export.connect-timeout

Connection timeout for requests to this backend.

1s

management.elastic.metrics.export.enabled

Whether exporting of metrics to this backend is enabled.

true

management.elastic.metrics.export.host

Host to export metrics to.

http://localhost:9200

management.elastic.metrics.export.index

Index to export metrics to.

micrometer-metrics

management.elastic.metrics.export.index-date-format

Index date format used for rolling indices. Appended to the index name.

yyyy-MM

management.elastic.metrics.export.index-date-separator

Prefix to separate the index name from the date format used for rolling indices.

-

management.elastic.metrics.export.password

Login password of the Elastic server. Mutually exclusive with api-key-credentials.

management.elastic.metrics.export.pipeline

Ingest pipeline name. By default, events are not pre-processed.

management.elastic.metrics.export.read-timeout

Read timeout for requests to this backend.

10s

management.elastic.metrics.export.step

Step size (i.e. reporting frequency) to use.

1m

management.elastic.metrics.export.timestamp-field-name

Name of the timestamp field.

@timestamp

management.elastic.metrics.export.user-name

Login user of the Elastic server. Mutually exclusive with api-key-credentials.

management.endpoint.auditevents.cache.time-to-live

Maximum time that a response can be cached.

0ms

management.endpoint.auditevents.enabled

Whether to enable the auditevents endpoint.

true

management.endpoint.beans.cache.time-to-live

Maximum time that a response can be cached.

0ms

management.endpoint.beans.enabled

Whether to enable the beans endpoint.

true

management.endpoint.caches.cache.time-to-live

Maximum time that a response can be cached.

0ms

management.endpoint.caches.enabled

Whether to enable the caches endpoint.

true

management.endpoint.conditions.cache.time-to-live

Maximum time that a response can be cached.

0ms

management.endpoint.conditions.enabled

Whether to enable the conditions endpoint.

true

management.endpoint.configprops.additional-keys-to-sanitize

Keys that should be sanitized in addition to those already configured. Keys can be simple strings that the property ends with or regular expressions.

management.endpoint.configprops.cache.time-to-live

Maximum time that a response can be cached.

0ms

management.endpoint.configprops.enabled

Whether to enable the configprops endpoint.

true

management.endpoint.configprops.keys-to-sanitize

Keys that should be sanitized. Keys can be simple strings that the property ends with or regular expressions.

[password, secret, key, token, .*credentials.*, vcap_services, sun.java.command]

management.endpoint.env.additional-keys-to-sanitize

Keys that should be sanitized in addition to those already configured. Keys can be simple strings that the property ends with or regular expressions.

management.endpoint.env.cache.time-to-live

Maximum time that a response can be cached.

0ms

management.endpoint.env.enabled

Whether to enable the env endpoint.

true

management.endpoint.env.keys-to-sanitize

Keys that should be sanitized. Keys can be simple strings that the property ends with or regular expressions.

[password, secret, key, token, .*credentials.*, vcap_services, sun.java.command]

management.endpoint.flyway.cache.time-to-live

Maximum time that a response can be cached.

0ms

management.endpoint.flyway.enabled

Whether to enable the flyway endpoint.

true

management.endpoint.health.cache.time-to-live

Maximum time that a response can be cached.

0ms

management.endpoint.health.enabled

Whether to enable the health endpoint.

true

management.endpoint.health.group.*

Health endpoint groups.

management.endpoint.health.logging.slow-indicator-threshold

Threshold after which a warning will be logged for slow health indicators.

10s

management.endpoint.health.probes.add-additional-paths

Whether to make the liveness and readiness health groups available on the main server port.

false

management.endpoint.health.probes.enabled

Whether to enable liveness and readiness probes.

false

management.endpoint.health.roles

Roles used to determine whether a user is authorized to be shown details. When empty, all authenticated users are authorized.

management.endpoint.health.show-components

When to show components. If not specified the 'show-details' setting will be used.

management.endpoint.health.show-details

When to show full health details.

never

management.endpoint.health.status.http-mapping.*

Mapping of health statuses to HTTP status codes. By default, registered health statuses map to sensible defaults (for example, UP maps to 200).

management.endpoint.health.status.order

Comma-separated list of health statuses in order of severity.

[DOWN, OUT_OF_SERVICE, UP, UNKNOWN]

management.endpoint.heapdump.cache.time-to-live

Maximum time that a response can be cached.

0ms

management.endpoint.heapdump.enabled

Whether to enable the heapdump endpoint.

true

management.endpoint.httptrace.cache.time-to-live

Maximum time that a response can be cached.

0ms

management.endpoint.httptrace.enabled

Whether to enable the httptrace endpoint.

true

management.endpoint.info.cache.time-to-live

Maximum time that a response can be cached.

0ms

management.endpoint.info.enabled

Whether to enable the info endpoint.

true

management.endpoint.integrationgraph.cache.time-to-live

Maximum time that a response can be cached.

0ms

management.endpoint.integrationgraph.enabled

Whether to enable the integrationgraph endpoint.

true

management.endpoint.liquibase.cache.time-to-live

Maximum time that a response can be cached.

0ms

management.endpoint.liquibase.enabled

Whether to enable the liquibase endpoint.

true

management.endpoint.logfile.cache.time-to-live

Maximum time that a response can be cached.

0ms

management.endpoint.logfile.enabled

Whether to enable the logfile endpoint.

true

management.endpoint.logfile.external-file

External Logfile to be accessed. Can be used if the logfile is written by output redirect and not by the logging system itself.

management.endpoint.loggers.cache.time-to-live

Maximum time that a response can be cached.

0ms

management.endpoint.loggers.enabled

Whether to enable the loggers endpoint.

true

management.endpoint.mappings.cache.time-to-live

Maximum time that a response can be cached.

0ms

management.endpoint.mappings.enabled

Whether to enable the mappings endpoint.

true

management.endpoint.metrics.cache.time-to-live

Maximum time that a response can be cached.

0ms

management.endpoint.metrics.enabled

Whether to enable the metrics endpoint.

true

management.endpoint.prometheus.enabled

Whether to enable the prometheus endpoint.

true

management.endpoint.quartz.cache.time-to-live

Maximum time that a response can be cached.

0ms

management.endpoint.quartz.enabled

Whether to enable the quartz endpoint.

true

management.endpoint.scheduledtasks.cache.time-to-live

Maximum time that a response can be cached.

0ms

management.endpoint.scheduledtasks.enabled

Whether to enable the scheduledtasks endpoint.

true

management.endpoint.sessions.enabled

Whether to enable the sessions endpoint.

true

management.endpoint.shutdown.enabled

Whether to enable the shutdown endpoint.

false

management.endpoint.startup.cache.time-to-live

Maximum time that a response can be cached.

0ms

management.endpoint.startup.enabled

Whether to enable the startup endpoint.

true

management.endpoint.threaddump.cache.time-to-live

Maximum time that a response can be cached.

0ms

management.endpoint.threaddump.enabled

Whether to enable the threaddump endpoint.

true

management.endpoints.enabled-by-default

Whether to enable or disable all endpoints by default.

management.endpoints.jmx.domain

Endpoints JMX domain name. Fallback to 'spring.jmx.default-domain' if set.

org.springframework.boot

management.endpoints.jmx.exposure.exclude

Endpoint IDs that should be excluded or '*' for all.

management.endpoints.jmx.exposure.include

Endpoint IDs that should be included or '*' for all.

*

management.endpoints.jmx.static-names

Additional static properties to append to all ObjectNames of MBeans representing Endpoints.

management.endpoints.migrate-legacy-ids

Whether to transparently migrate legacy endpoint IDs.

false

management.endpoints.web.base-path

Base path for Web endpoints. Relative to the servlet context path (server.servlet.context-path) or WebFlux base path (spring.webflux.base-path) when the management server is sharing the main server port. Relative to the management server base path (management.server.base-path) when a separate management server port (management.server.port) is configured.

/actuator

management.endpoints.web.cors.allow-credentials

Whether credentials are supported. When not set, credentials are not supported.

management.endpoints.web.cors.allowed-headers

Comma-separated list of headers to allow in a request. '*' allows all headers.

management.endpoints.web.cors.allowed-methods

Comma-separated list of methods to allow. '*' allows all methods. When not set, defaults to GET.

management.endpoints.web.cors.allowed-origin-patterns

Comma-separated list of origin patterns to allow. Unlike allowed origins which only supports '*', origin patterns are more flexible (for example 'https://*.example.com') and can be used when credentials are allowed. When no allowed origin patterns or allowed origins are set, CORS support is disabled.

management.endpoints.web.cors.allowed-origins

Comma-separated list of origins to allow. '*' allows all origins. When credentials are allowed, '*' cannot be used and origin patterns should be configured instead. When no allowed origins or allowed origin patterns are set, CORS support is disabled.

management.endpoints.web.cors.exposed-headers

Comma-separated list of headers to include in a response.

management.endpoints.web.cors.max-age

How long the response from a pre-flight request can be cached by clients. If a duration suffix is not specified, seconds will be used.

1800s

management.endpoints.web.discovery.enabled

Whether the discovery page is enabled.

true

management.endpoints.web.exposure.exclude

Endpoint IDs that should be excluded or '*' for all.

management.endpoints.web.exposure.include

Endpoint IDs that should be included or '*' for all.

[health]

management.endpoints.web.path-mapping.*

Mapping between endpoint IDs and the path that should expose them.

management.ganglia.metrics.export.addressing-mode

UDP addressing mode, either unicast or multicast.

multicast

management.ganglia.metrics.export.duration-units

Base time unit used to report durations.

milliseconds

management.ganglia.metrics.export.enabled

Whether exporting of metrics to Ganglia is enabled.

true

management.ganglia.metrics.export.host

Host of the Ganglia server to receive exported metrics.

localhost

management.ganglia.metrics.export.port

Port of the Ganglia server to receive exported metrics.

8649

management.ganglia.metrics.export.step

Step size (i.e. reporting frequency) to use.

1m

management.ganglia.metrics.export.time-to-live

Time to live for metrics on Ganglia. Set the multicast Time-To-Live to be one greater than the number of hops (routers) between the hosts.

1

management.graphite.metrics.export.duration-units

Base time unit used to report durations.

milliseconds

management.graphite.metrics.export.enabled

Whether exporting of metrics to Graphite is enabled.

true

management.graphite.metrics.export.graphite-tags-enabled

Whether Graphite tags should be used, as opposed to a hierarchical naming convention. Enabled by default unless "tagsAsPrefix" is set.

management.graphite.metrics.export.host

Host of the Graphite server to receive exported metrics.

localhost

management.graphite.metrics.export.port

Port of the Graphite server to receive exported metrics.

2004

management.graphite.metrics.export.protocol

Protocol to use while shipping data to Graphite.

pickled

management.graphite.metrics.export.rate-units

Base time unit used to report rates.

seconds

management.graphite.metrics.export.step

Step size (i.e. reporting frequency) to use.

1m

management.graphite.metrics.export.tags-as-prefix

For the hierarchical naming convention, turn the specified tag keys into part of the metric prefix. Ignored if "graphiteTagsEnabled" is true.

[]

management.health.cassandra.enabled

Whether to enable Cassandra health check.

true

management.health.couchbase.enabled

Whether to enable Couchbase health check.

true

management.health.db.enabled

Whether to enable database health check.

true

management.health.db.ignore-routing-data-sources

Whether to ignore AbstractRoutingDataSources when creating database health indicators.

false

management.health.defaults.enabled

Whether to enable default health indicators.

true

management.health.diskspace.enabled

Whether to enable disk space health check.

true

management.health.diskspace.path

Path used to compute the available disk space.

management.health.diskspace.threshold

Minimum disk space that should be available.

10MB

management.health.elasticsearch.enabled

Whether to enable Elasticsearch health check.

true

management.health.influxdb.enabled

Whether to enable InfluxDB health check.

true

management.health.jms.enabled

Whether to enable JMS health check.

true

management.health.ldap.enabled

Whether to enable LDAP health check.

true

management.health.livenessstate.enabled

Whether to enable liveness state health check.

false

management.health.mail.enabled

Whether to enable Mail health check.

true

management.health.mongo.enabled

Whether to enable MongoDB health check.

true

management.health.neo4j.enabled

Whether to enable Neo4j health check.

true

management.health.ping.enabled

Whether to enable ping health check.

true

management.health.rabbit.enabled

Whether to enable RabbitMQ health check.

true

management.health.readinessstate.enabled

Whether to enable readiness state health check.

false

management.health.redis.enabled

Whether to enable Redis health check.

true

management.humio.metrics.export.api-token

Humio API token.

management.humio.metrics.export.batch-size

Number of measurements per request to use for this backend. If more measurements are found, then multiple requests will be made.

10000

management.humio.metrics.export.connect-timeout

Connection timeout for requests to this backend.

5s

management.humio.metrics.export.enabled

Whether exporting of metrics to this backend is enabled.

true

management.humio.metrics.export.read-timeout

Read timeout for requests to this backend.

10s

management.humio.metrics.export.step

Step size (i.e. reporting frequency) to use.

1m

management.humio.metrics.export.tags.*

Humio tags describing the data source in which metrics will be stored. Humio tags are a distinct concept from Micrometer's tags. Micrometer's tags are used to divide metrics along dimensional boundaries.

management.humio.metrics.export.uri

URI to ship metrics to. If you need to publish metrics to an internal proxy en-route to Humio, you can define the location of the proxy with this.

https://cloud.humio.com

management.influx.metrics.export.api-version

API version of InfluxDB to use. Defaults to 'v1' unless an org is configured. If an org is configured, defaults to 'v2'.

management.influx.metrics.export.auto-create-db

Whether to create the Influx database if it does not exist before attempting to publish metrics to it. InfluxDB v1 only.

true

management.influx.metrics.export.batch-size

Number of measurements per request to use for this backend. If more measurements are found, then multiple requests will be made.

10000

management.influx.metrics.export.bucket

Bucket for metrics. Use either the bucket name or ID. Defaults to the value of the db property if not set. InfluxDB v2 only.

management.influx.metrics.export.compressed

Whether to enable GZIP compression of metrics batches published to Influx.

true

management.influx.metrics.export.connect-timeout

Connection timeout for requests to this backend.

1s

management.influx.metrics.export.consistency

Write consistency for each point.

one

management.influx.metrics.export.db

Database to send metrics to. InfluxDB v1 only.

mydb

management.influx.metrics.export.enabled

Whether exporting of metrics to this backend is enabled.

true

management.influx.metrics.export.org

Org to write metrics to. InfluxDB v2 only.

management.influx.metrics.export.password

Login password of the Influx server. InfluxDB v1 only.

management.influx.metrics.export.read-timeout

Read timeout for requests to this backend.

10s

management.influx.metrics.export.retention-duration

Time period for which Influx should retain data in the current database. For instance 7d, check the influx documentation for more details on the duration format. InfluxDB v1 only.

management.influx.metrics.export.retention-policy

Retention policy to use (Influx writes to the DEFAULT retention policy if one is not specified). InfluxDB v1 only.

management.influx.metrics.export.retention-replication-factor

How many copies of the data are stored in the cluster. Must be 1 for a single node instance. InfluxDB v1 only.

management.influx.metrics.export.retention-shard-duration

Time range covered by a shard group. For instance 2w, check the influx documentation for more details on the duration format. InfluxDB v1 only.

management.influx.metrics.export.step

Step size (i.e. reporting frequency) to use.

1m

management.influx.metrics.export.token

Authentication token to use with calls to the InfluxDB backend. For InfluxDB v1, the Bearer scheme is used. For v2, the Token scheme is used.

management.influx.metrics.export.uri

URI of the Influx server.

http://localhost:8086

management.influx.metrics.export.user-name

Login user of the Influx server. InfluxDB v1 only.

management.info.build.enabled

Whether to enable build info.

true

management.info.defaults.enabled

Whether to enable default info contributors.

true

management.info.env.enabled

Whether to enable environment info.

false

management.info.git.enabled

Whether to enable git info.

true

management.info.git.mode

Mode to use to expose git information.

simple

management.info.java.enabled

Whether to enable Java info.

false

management.info.os.enabled

Whether to enable Operating System info.

false

management.jmx.metrics.export.domain

Metrics JMX domain name.

metrics

management.jmx.metrics.export.enabled

Whether exporting of metrics to this backend is enabled.

true

management.jmx.metrics.export.step

Step size (i.e. reporting frequency) to use.

1m

management.kairos.metrics.export.batch-size

Number of measurements per request to use for this backend. If more measurements are found, then multiple requests will be made.

10000

management.kairos.metrics.export.connect-timeout

Connection timeout for requests to this backend.

1s

management.kairos.metrics.export.enabled

Whether exporting of metrics to this backend is enabled.

true

management.kairos.metrics.export.password

Login password of the KairosDB server.

management.kairos.metrics.export.read-timeout

Read timeout for requests to this backend.

10s

management.kairos.metrics.export.step

Step size (i.e. reporting frequency) to use.

1m

management.kairos.metrics.export.uri

URI of the KairosDB server.

http://localhost:8080/api/v1/datapoints

management.kairos.metrics.export.user-name

Login user of the KairosDB server.

management.metrics.data.repository.autotime.enabled

Whether to enable auto-timing.

true

management.metrics.data.repository.autotime.percentiles

Percentiles for which additional time series should be published.

management.metrics.data.repository.autotime.percentiles-histogram

Whether to publish percentile histrograms.

false

management.metrics.data.repository.metric-name

Name of the metric for sent requests.

spring.data.repository.invocations

management.metrics.distribution.buffer-length.*

Number of histograms for meter IDs starting with the specified name to keep in the ring buffer. The longest match wins, the key `all` can also be used to configure all meters.

management.metrics.distribution.expiry.*

Maximum amount of time that samples for meter IDs starting with the specified name are accumulated to decaying distribution statistics before they are reset and rotated. The longest match wins, the key `all` can also be used to configure all meters.

management.metrics.distribution.maximum-expected-value.*

Maximum value that meter IDs starting with the specified name are expected to observe. The longest match wins. Values can be specified as a double or as a Duration value (for timer meters, defaulting to ms if no unit specified).

management.metrics.distribution.minimum-expected-value.*

Minimum value that meter IDs starting with the specified name are expected to observe. The longest match wins. Values can be specified as a double or as a Duration value (for timer meters, defaulting to ms if no unit specified).

management.metrics.distribution.percentiles.*

Specific computed non-aggregable percentiles to ship to the backend for meter IDs starting-with the specified name. The longest match wins, the key 'all' can also be used to configure all meters.

management.metrics.distribution.percentiles-histogram.*

Whether meter IDs starting with the specified name should publish percentile histograms. For monitoring systems that support aggregable percentile calculation based on a histogram, this can be set to true. For other systems, this has no effect. The longest match wins, the key 'all' can also be used to configure all meters.

management.metrics.distribution.slo.*

Specific service-level objective boundaries for meter IDs starting with the specified name. The longest match wins. Counters will be published for each specified boundary. Values can be specified as a double or as a Duration value (for timer meters, defaulting to ms if no unit specified).

management.metrics.enable.*

Whether meter IDs starting with the specified name should be enabled. The longest match wins, the key 'all' can also be used to configure all meters.

management.metrics.graphql.autotime.enabled

Whether to enable auto-timing.

true

management.metrics.graphql.autotime.percentiles

Percentiles for which additional time series should be published.

management.metrics.graphql.autotime.percentiles-histogram

Whether to publish percentile histrograms.

false

management.metrics.mongo.command.enabled

Whether to enable Mongo client command metrics.

true

management.metrics.mongo.connectionpool.enabled

Whether to enable Mongo connection pool metrics.

true

management.metrics.system.diskspace.paths

Comma-separated list of paths to report disk metrics for.

[.]

management.metrics.tags.*

Common tags that are applied to every meter.

management.metrics.use-global-registry

Whether auto-configured MeterRegistry implementations should be bound to the global static registry on Metrics. For testing, set this to 'false' to maximize test independence.

true

management.metrics.web.client.max-uri-tags

Maximum number of unique URI tag values allowed. After the max number of tag values is reached, metrics with additional tag values are denied by filter.

100

management.metrics.web.client.request.autotime.enabled

Whether to automatically time web client requests.

true

management.metrics.web.client.request.autotime.percentiles

Computed non-aggregable percentiles to publish.

management.metrics.web.client.request.autotime.percentiles-histogram

Whether percentile histograms should be published.

false

management.metrics.web.client.request.metric-name

Name of the metric for sent requests.

http.client.requests

management.metrics.web.server.max-uri-tags

Maximum number of unique URI tag values allowed. After the max number of tag values is reached, metrics with additional tag values are denied by filter.

100

management.metrics.web.server.request.autotime.enabled

Whether to automatically time web server requests.

true

management.metrics.web.server.request.autotime.percentiles

Computed non-aggregable percentiles to publish.

management.metrics.web.server.request.autotime.percentiles-histogram

Whether percentile histograms should be published.

false

management.metrics.web.server.request.ignore-trailing-slash

Whether the trailing slash should be ignored when recording metrics.

true

management.metrics.web.server.request.metric-name

Name of the metric for received requests.

http.server.requests

management.newrelic.metrics.export.account-id

New Relic account ID.

management.newrelic.metrics.export.api-key

New Relic API key.

management.newrelic.metrics.export.batch-size

Number of measurements per request to use for this backend. If more measurements are found, then multiple requests will be made.

10000

management.newrelic.metrics.export.client-provider-type

Client provider type to use.

management.newrelic.metrics.export.connect-timeout

Connection timeout for requests to this backend.

1s

management.newrelic.metrics.export.enabled

Whether exporting of metrics to this backend is enabled.

true

management.newrelic.metrics.export.event-type

The event type that should be published. This property will be ignored if 'meter-name-event-type-enabled' is set to 'true'.

SpringBootSample

management.newrelic.metrics.export.meter-name-event-type-enabled

Whether to send the meter name as the event type instead of using the 'event-type' configuration property value. Can be set to 'true' if New Relic guidelines are not being followed or event types consistent with previous Spring Boot releases are required.

false

management.newrelic.metrics.export.read-timeout

Read timeout for requests to this backend.

10s

management.newrelic.metrics.export.step

Step size (i.e. reporting frequency) to use.

1m

management.newrelic.metrics.export.uri

URI to ship metrics to.

https://insights-collector.newrelic.com

management.otlp.metrics.export.batch-size

Number of measurements per request to use for this backend. If more measurements are found, then multiple requests will be made.

10000

management.otlp.metrics.export.connect-timeout

Connection timeout for requests to this backend.

1s

management.otlp.metrics.export.enabled

Whether exporting of metrics to this backend is enabled.

true

management.otlp.metrics.export.read-timeout

Read timeout for requests to this backend.

10s

management.otlp.metrics.export.resource-attributes.*

Monitored resource's attributes.

management.otlp.metrics.export.step

Step size (i.e. reporting frequency) to use.

1m

management.otlp.metrics.export.url

URI of the OLTP server.

http://localhost:4318/v1/metrics

management.prometheus.metrics.export.descriptions

Whether to enable publishing descriptions as part of the scrape payload to Prometheus. Turn this off to minimize the amount of data sent on each scrape.

true

management.prometheus.metrics.export.enabled

Whether exporting of metrics to this backend is enabled.

true

management.prometheus.metrics.export.histogram-flavor

Histogram type for backing DistributionSummary and Timer.

prometheus

management.prometheus.metrics.export.pushgateway.base-url

Base URL for the Pushgateway.

http://localhost:9091

management.prometheus.metrics.export.pushgateway.enabled

Enable publishing via a Prometheus Pushgateway.

false

management.prometheus.metrics.export.pushgateway.grouping-key.*

Grouping key for the pushed metrics.

management.prometheus.metrics.export.pushgateway.job

Job identifier for this application instance.

management.prometheus.metrics.export.pushgateway.password

Login password of the Prometheus Pushgateway.

management.prometheus.metrics.export.pushgateway.push-rate

Frequency with which to push metrics.

1m

management.prometheus.metrics.export.pushgateway.shutdown-operation

Operation that should be performed on shutdown.

none

management.prometheus.metrics.export.pushgateway.username

Login user of the Prometheus Pushgateway.

management.prometheus.metrics.export.step

Step size (i.e. reporting frequency) to use.

1m

management.server.add-application-context-header

Add the "X-Application-Context" HTTP header in each response.

false

management.server.address

Network address to which the management endpoints should bind. Requires a custom management.server.port.

management.server.base-path

Management endpoint base path (for instance, '/management'). Requires a custom management.server.port.

management.server.port

Management endpoint HTTP port (uses the same port as the application by default). Configure a different port to use management-specific SSL.

management.server.ssl.certificate

Path to a PEM-encoded SSL certificate file.

management.server.ssl.certificate-private-key

Path to a PEM-encoded private key file for the SSL certificate.

management.server.ssl.ciphers

Supported SSL ciphers.

management.server.ssl.client-auth

Client authentication mode. Requires a trust store.

management.server.ssl.enabled

Whether to enable SSL support.

true

management.server.ssl.enabled-protocols

Enabled SSL protocols.

management.server.ssl.key-alias

Alias that identifies the key in the key store.

management.server.ssl.key-password

Password used to access the key in the key store.

management.server.ssl.key-store

Path to the key store that holds the SSL certificate (typically a jks file).

management.server.ssl.key-store-password

Password used to access the key store.

management.server.ssl.key-store-provider

Provider for the key store.

management.server.ssl.key-store-type

Type of the key store.

management.server.ssl.protocol

SSL protocol to use.

TLS

management.server.ssl.trust-certificate

Path to a PEM-encoded SSL certificate authority file.

management.server.ssl.trust-certificate-private-key

Path to a PEM-encoded private key file for the SSL certificate authority.

management.server.ssl.trust-store

Trust store that holds SSL certificates.

management.server.ssl.trust-store-password

Password used to access the trust store.

management.server.ssl.trust-store-provider

Provider for the trust store.

management.server.ssl.trust-store-type

Type of the trust store.

management.signalfx.metrics.export.access-token

SignalFX access token.

management.signalfx.metrics.export.batch-size

Number of measurements per request to use for this backend. If more measurements are found, then multiple requests will be made.

10000

management.signalfx.metrics.export.connect-timeout

Connection timeout for requests to this backend.

1s

management.signalfx.metrics.export.enabled

Whether exporting of metrics to this backend is enabled.

true

management.signalfx.metrics.export.read-timeout

Read timeout for requests to this backend.

10s

management.signalfx.metrics.export.source

Uniquely identifies the app instance that is publishing metrics to SignalFx. Defaults to the local host name.

management.signalfx.metrics.export.step

Step size (i.e. reporting frequency) to use.

10s

management.signalfx.metrics.export.uri

URI to ship metrics to.

https://ingest.signalfx.com

management.simple.metrics.export.enabled

Whether exporting of metrics to this backend is enabled.

true

management.simple.metrics.export.mode

Counting mode.

cumulative

management.simple.metrics.export.step

Step size (i.e. reporting frequency) to use.

1m

management.stackdriver.metrics.export.batch-size

Number of measurements per request to use for this backend. If more measurements are found, then multiple requests will be made.

10000

management.stackdriver.metrics.export.connect-timeout

Connection timeout for requests to this backend.

1s

management.stackdriver.metrics.export.enabled

Whether exporting of metrics to this backend is enabled.

true

management.stackdriver.metrics.export.project-id

Identifier of the Google Cloud project to monitor.

management.stackdriver.metrics.export.read-timeout

Read timeout for requests to this backend.

10s

management.stackdriver.metrics.export.resource-labels.*

Monitored resource's labels.

management.stackdriver.metrics.export.resource-type

Monitored resource type.

global

management.stackdriver.metrics.export.step

Step size (i.e. reporting frequency) to use.

1m

management.stackdriver.metrics.export.use-semantic-metric-types

Whether to use semantically correct metric types. When false, counter metrics are published as the GAUGE MetricKind. When true, counter metrics are published as the CUMULATIVE MetricKind.

false

management.statsd.metrics.export.buffered

Whether measurements should be buffered before sending to the StatsD server.

true

management.statsd.metrics.export.enabled

Whether exporting of metrics to StatsD is enabled.

true

management.statsd.metrics.export.flavor

StatsD line protocol to use.

datadog

management.statsd.metrics.export.host

Host of the StatsD server to receive exported metrics.

localhost

management.statsd.metrics.export.max-packet-length

Total length of a single payload should be kept within your network's MTU.

1400

management.statsd.metrics.export.polling-frequency

How often gauges will be polled. When a gauge is polled, its value is recalculated and if the value has changed (or publishUnchangedMeters is true), it is sent to the StatsD server.

10s

management.statsd.metrics.export.port

Port of the StatsD server to receive exported metrics.

8125

management.statsd.metrics.export.protocol

Protocol of the StatsD server to receive exported metrics.

udp

management.statsd.metrics.export.publish-unchanged-meters

Whether to send unchanged meters to the StatsD server.

true

management.statsd.metrics.export.step

Step size to use in computing windowed statistics like max. To get the most out of these statistics, align the step interval to be close to your scrape interval.

1m

management.trace.http.enabled

Whether to enable HTTP request-response tracing.

true

management.trace.http.include

Items to be included in the trace. Defaults to request headers (excluding Authorization and Cookie), response headers (excluding Set-Cookie), and time taken.

[request-headers, response-headers, errors]

management.tracing.sampling.probability

Probability in the range from 0.0 to 1.0 that a trace will be sampled.

0.1

management.wavefront.api-token

API token used when publishing metrics and traces directly to the Wavefront API host.

management.wavefront.metrics.export.batch-size

Number of measurements per request to use for this backend. If more measurements are found, then multiple requests will be made.

10000

management.wavefront.metrics.export.connect-timeout

Connection timeout for requests to this backend.

1s

management.wavefront.metrics.export.enabled

Whether exporting of metrics to this backend is enabled.

true

management.wavefront.metrics.export.global-prefix

Global prefix to separate metrics originating from this app's instrumentation from those originating from other Wavefront integrations when viewed in the Wavefront UI.

management.wavefront.metrics.export.read-timeout

Read timeout for requests to this backend.

10s

management.wavefront.metrics.export.step

Step size (i.e. reporting frequency) to use.

1m

management.wavefront.sender.batch-size

Number of measurements per request to use for Wavefront. If more measurements are found, then multiple requests will be made.

10000

management.wavefront.sender.flush-interval

Flush interval to send queued messages.

1s

management.wavefront.sender.max-queue-size

Maximum size of queued messages.

50000

management.wavefront.sender.message-size

Maximum size of a message.

management.wavefront.source

Unique identifier for the app instance that is the source of metrics and traces being published to Wavefront. Defaults to the local host name.

management.wavefront.tracing.application-name

Application name. Defaults to 'spring.application.name'.

management.wavefront.tracing.service-name

Service name. Defaults to 'spring.application.name'.

management.wavefront.uri

URI to ship metrics and traces to.

https://longboard.wavefront.com

management.zipkin.tracing.connect-timeout

Connection timeout for requests to Zipkin.

1s

management.zipkin.tracing.endpoint

URL to the Zipkin API.

http://localhost:9411/api/v2/spans

management.zipkin.tracing.read-timeout

Read timeout for requests to Zipkin.

10s

How to resolve Error creating bean with name in Spring Boot?

In order to solve this error, either you need to include the correct Starter POM dependency or manually add the MySQL JDBC JAR file into the classpath. If you are interested, you can see this tutorial to learn more about how to connect a Java application to a database using a MySQL database in this tutorial.

What is Bean Creation exception in spring?

0 Comments. When Autowiring Spring Beans, a common exception is a. BeanCreationException. . This means that Spring found a bean to create, but was unable to fulfill the dependencies needed to create this this Spring bean.

What is Spring Main allow bean definition overriding true?

Spring beans are identified by their names within an ApplicationContext. Thus, bean overriding is a default behavior that happens when we define a bean within an ApplicationContext which has the same name as another bean. It works by simply replacing the former bean in case of a name conflict.