Andy Wilkinson
73460a5b25
Use auto-configuration to create composite, not a BFPP
...
Closes gh-12122
7 years ago
Stephane Nicoll
1e932860c4
Specify default micrometer values
...
This commit adds micrometer's default values for each monitoring
system with tests that validate those defaults are consistent. This
makes sure that those defaults are part of the metadata and any tooling
support that uses it.
Closes gh-12089
7 years ago
Stephane Nicoll
202ed7b72b
Polish
7 years ago
Stephane Nicoll
cd0c81fe39
Restore prefix in ConditionalOnProperty
7 years ago
Andy Wilkinson
c3a31fafe2
Remove tangle between actuate.endpoint and actuate.endpoint.invoke
...
See gh-11854
7 years ago
Stephane Nicoll
6c85ed70e4
Polish "Add SignalFxConfig source property"
...
Closes gh-12066
7 years ago
Jon Schneider
a732053afd
Add SignalFxConfig source property
...
See gh-12066
7 years ago
Stephane Nicoll
1dab83adaa
Polish "Restore behavior of management.metrics.export.simple.enabled"
...
Closes gh-12106
7 years ago
Jon Schneider
da759f29d0
Restore behavior of management.metrics.export.simple.enabled
...
See gh-12106
7 years ago
Phillip Webb
9e75680e6f
Polish
7 years ago
Andy Wilkinson
c1c162ab0c
Polish "Add auto-configuraton for exporting metrics to Wavefront"
...
Closes gh-12068
7 years ago
Jon Schneider
142dbb2213
Add auto-configuration for exporting metrics to Wavefront
...
See gh-12068
7 years ago
Andy Wilkinson
17c7f027e0
Add details of the request mapping conditions to mappings endpoint
...
Closes gh-12080
7 years ago
Andy Wilkinson
2c19257d6d
Add HandlerMethod and HandlerFunction details to mappings endpoint
...
Closes gh-11864
7 years ago
Stephane Nicoll
99466e7fa6
Polish
7 years ago
Andy Wilkinson
fe4c8f95ed
Rename ReactiveWebServerAutoConfiguration
...
Closes gh-12086
7 years ago
Andy Wilkinson
e72506c353
Protect TomcatMetrics auto-config against early MeterBinder init
...
Closes gh-11916
7 years ago
Andy Wilkinson
83626c7c12
Polish metrics export auto-configuration tests
7 years ago
Jon Schneider
d70594a2b1
Fix upstream micrometer renames
...
Fix for the rename of `HistogramConfig` to `DistributionStatisticConfig`
Closes gh-12030
7 years ago
Phillip Webb
6771cc9674
Polish
7 years ago
Andy Wilkinson
d238a31d3d
Polish
7 years ago
Andy Wilkinson
25520a9e32
Polish “Auto-configure FileDescriptorMetrics”
...
Closes gh-12022
7 years ago
Tommy Ludwig
a51fcd071e
Auto-configure FileDescriptorMetrics
...
See gh-12022
7 years ago
Tommy Ludwig
149963bc61
Auto-configure ClassLoaderMetrics
...
Auto-configure ClassLoaderMetrics as part of the JVM metrics from
Micrometer.
See gh-12022
7 years ago
Jon Schneider
49f21a2264
Remove unnecessary config options for JDBC, Rabbit, and Cache metrics
...
See gh-12017
7 years ago
Andy Wilkinson
ce9b2b8266
Auto-configure Micrometer’s Tomcat metrics
...
Closes gh-11916
7 years ago
Andy Wilkinson
01b1c1d947
Perform failure analysis of MissingRequiredConfigurationException
...
Closes gh-12010
7 years ago
Stephane Nicoll
28f5392787
Polish "Add health indicator for reactive MongoDB"
...
Closes gh-11997
7 years ago
Yulin Qin
eee2694648
Add health indicator for reactive MongoDB
...
See gh-11997
7 years ago
Andy Wilkinson
a02fdc755e
Stop MeterRegistries when context is closed
...
Closes gh-12006
7 years ago
Johnny Lim
87bf0b26df
Polish modifier order
...
See gh-12019
7 years ago
Phillip Webb
3bec55e16c
Formatting
7 years ago
Madhura Bhave
16a499b2fa
Cloud Foundry health should always show details
...
Fixes gh-12014
7 years ago
Phillip Webb
f34aa6f4d8
Migrate to Spring Integration Micrometer support
...
Remove custom `SpringIntegrationMetrics` and instead provide
auto-configuration to the direct Micrometer support added in Spring
Integration 5.0.2.
Closes gh-11985
7 years ago
Andy Wilkinson
b0e86bd7ac
Align New Relic and Signal FX tests with those for other exporters
...
Closes gh-11970
7 years ago
Andy Wilkinson
384a4ed6a9
Use metrics export.*.enabled properties to control auto-configuration
...
Closes gh-11978
7 years ago
Phillip Webb
0348889fd7
Polish
7 years ago
Andy Wilkinson
e49d50fe9d
Improve testing of metrics auto-configuration
...
Closes gh-11970
7 years ago
Johnny Lim
5a9865dabb
Polish
...
Closes gh-12004
7 years ago
Stephane Nicoll
7473642f58
Harmonize endpoints exclude property
...
Closes gh-11914
7 years ago
Andy Wilkinson
037b6d8ba2
Auto-configure Micrometer's New Relic and SignalFX support
...
Closes gh-11803
7 years ago
Andy Wilkinson
bc814d2039
Prevent authenticated principal from clashing with argument of same name
...
Closes gh-11988
7 years ago
Phillip Webb
63c827b14d
Ensure exports are configured before endpoint
...
Update `SimpleMetricsExportAutoConfiguration` to ensure that it runs
before `SimpleMetricsExportAutoConfiguration`.
See gh-11977
7 years ago
Phillip Webb
d259f68fbf
Drop recordRequestPercentiles property
...
Drop the `recordRequestPercentiles` property as it overlaps with the
property based `MeterFilter` support.
Fixes gh-11982
7 years ago
Phillip Webb
601157f552
Polish "Add publishUnchangedMeters StatsD support"
...
Closes gh-11967
7 years ago
Jon Schneider
e02eba2a33
Add publishUnchangedMeters StatsD support
...
Add configuration property to support publishing unchanged pollable
meters.
See gh-11967
7 years ago
Phillip Webb
3ec778fb64
Polish
7 years ago
Andy Wilkinson
351e1ec4de
Ensure that metrics export backs off when there's no Clock
...
Closes gh-11977
7 years ago
Madhura Bhave
e9fe918d25
Add option to skip ssl for reactive CF actuators
...
Fixes gh-10898
7 years ago
Andy Wilkinson
fee9dacab1
Allow use of custom DatadogConfig without requiring api-key property
...
Closes gh-11979
7 years ago
Andy Wilkinson
cc3d7648c1
Auto-configure Micrometer's Clock in a single place
...
Closes gh-11977
7 years ago
Stephane Nicoll
077d00fcb3
Polish
7 years ago
Andy Wilkinson
03d7c3a7af
Repackage HTTP tracing auto-configuration classes
...
Closes gh-11934
7 years ago
Andy Wilkinson
a6ecd55f1f
Make expose and exclude properties affect servlet endpoints
...
Closes gh-11968
7 years ago
Andy Wilkinson
2993dccd1e
Provide links to all types of endpoints
...
Previously, links were only provide to web endpoints. This commit
expands link resolution to also provide links for servlet endpoints,
controller endpoints, and rest controller endpoints.
Closes gh-11902
7 years ago
Phillip Webb
204f6f67fd
Migrate all of metrics to auto-configuration
...
Migrate remaining metrics `@Configuration` classes to individual
auto-configurations.
Fixes gh-11935
7 years ago
Phillip Webb
6f7f11fd96
Refine metrics export auto-configure ordering
...
The `SimpleMetricsExportAutoConfiguration` should be last and it should
check for a `MeterRegistry` bean.
See gh-11838
7 years ago
Phillip Webb
5de46c3186
Polish
7 years ago
Phillip Webb
387804e600
Format with Eclipse Oxygen SR2
7 years ago
Andy Wilkinson
5522174e96
Provide package info for all packages included in javadoc
7 years ago
Andy Wilkinson
dec37ec5e2
Move EndpointMapping into spring-boot-actuator
7 years ago
Andy Wilkinson
4beb6be179
Rename HTTP trace properties and packages
...
Closes gh-11934
7 years ago
Andy Wilkinson
a09c64e18c
Polish
7 years ago
Stephane Nicoll
7cd19822c6
Polish "Add Kafka health indicator"
...
Closes gh-11515
7 years ago
Juan Camilo Rada
0dbd9429cc
Add Kafka health indicator
...
See gh-11515
7 years ago
Andy Wilkinson
76a450dfba
Format with Eclipse Oxygen SR2
7 years ago
Madhura Bhave
7136bed126
Fix tests
7 years ago
Michael J. Simons
97a97f3784
Polish
7 years ago
Stephane Nicoll
63d2e944ba
Polish "Add influx property to govern whether db is auto-created or not"
...
Closes gh-11922
7 years ago
Jon Schneider
9b215df4e9
Add influx property to govern whether db is auto-created or not
7 years ago
Andy Wilkinson
8229733f0d
Avoid triggering early init when creating MeterRegistryPostProceesor
...
Closes gh-11890
7 years ago
Andy Wilkinson
8605499a64
Provide more control over when the health endpoint shows details
...
Closes gh-11869
7 years ago
Phillip Webb
d8de8752ea
Change metrics exporters to auto-configurations
...
Refactor `*ExportConfiguration` classes to be regular auto-configuration
classes.
Also removed the `@ConditionalOnProperty` guards for `.enabled` properties
since auto-configuration can now be excluded in the usual way. Enabled
properties remain where applicable and are adapted for Micrometer to use
as it sees fit.
Fixes gh-11838
7 years ago
Phillip Webb
6889ad59b8
Support property based MeterFilters
...
Add per-meter property support for `enabled`, `percentiles-histogram`,
`percentiles` and `sla`.
Fixes gh-11800
7 years ago
Andy Wilkinson
7d561f5ed0
Polish "Align with Micrometer's standardized cache metrics"
...
Closes gh-11918
7 years ago
Andy Wilkinson
2cc7325017
Polish
7 years ago
Andy Wilkinson
875091ed85
Polish “Remove or use unused method parameters”
...
Closes gh-11812
7 years ago
igor-suhorukov
717bd2c580
Remove or use unused method parameters
7 years ago
Phillip Webb
3ff772957b
Add WebServerApplicationContext abstraction
...
Add a new `WebServerApplicationContext` interface that provides a common
abstraction for all application contexts that create and manage the
lifecycle of an embedded `WebServer`.
Allows server namespaces to become a first-class concept (rather
subverting `ConfigurableWebApplicationContext.getNamespace()`) and
allow us to drop `getServerId()` from `WebServerInitializedEvent`.
Also helps to improve `ManagementContextAutoConfiguration` and
`ManagementContextFactory`.
Fixes gh-11881
7 years ago
Jon Schneider
09181d6b16
Fix CompositeMeterRegistryPostProcessor autowire
...
Update `CompositeMeterRegistryPostProcessor` to use constructor
autowiring for `Clock` detection.
Fixes gh-11856
7 years ago
Stephane Nicoll
f7bf79c9b3
Polish deprecated metadata
7 years ago
Stephane Nicoll
8b3c2b01e3
Fix broken replacement ids
7 years ago
Andy Wilkinson
356efaa7c8
Rename trace to httptrace
...
Closes gh-11806
7 years ago
Jon Schneider
2612b43179
Restrict maximum URI tags to prevent memory issues
...
Add MeterFilter to restrict the maximum number of web client URI tags
created. Prior to this commit, if a user was manually building URIs for
use with a RestTemplate (rather than using uriVariables) the JVM could
run out of memory.
Fixes gh-11338
Co-authored-by: Phillip Webb <pwebb@pivotal.io>
7 years ago
Phillip Webb
8f23ee4e58
Apply micrometer MeterFilter beans automatically
...
Update `MeterRegistryPostProcessor` and `MetricsAutoConfiguration` so
that micrometer `MeterFilter` beans are automatically applied.
Fixes gh-11843
7 years ago
Phillip Webb
c90a5a9e9e
Polish
7 years ago
Phillip Webb
5632d043ff
Fix enums following upstream micrometer change
...
See gh-11575
7 years ago
Phillip Webb
9a8c182d19
Only use micrometer composites when necessary
...
Update micrometer auto-configuration so that a `CompositeMeterRegistry`
is only created when more than one `MeterRegistry` bean is declared.
When a composite is crated, it is marked as `@Primary` so that it
can be directly injected. Meter registries can now be defined directly
as beans, and auto-configuration can back off in the usual way.
The `MeterRegistryConfigurer` is now called `MeterRegistryCustomizer`
and is generically types so it's easy to apply customizations to a
particular `MeterRegistry` implementation.
Fixes gh-11799
Co-authored-by: Jon Schneider <jschneider@pivotal.io>
7 years ago
Andy Wilkinson
e834b25ef1
Polish
7 years ago
Phillip Webb
af50a18da9
Polish
7 years ago
Stephane Nicoll
eba476ba6e
Disable LoggersEndpoint if the logging system is disabled
...
Closes gh-11793
7 years ago
Andy Wilkinson
9edcd25c25
Simply test for async dispatch metrics filter registration
...
Previously, the test in MetricsAutoConfigurationIntegrationTests was
testing the functionality of WebMvcMetricsFilter to verify that the
auto-configuration had registered the filter for async dispatches.
This test was complex and covered the same code as a test in
WebMvcMetricsFilterTests.
This commit reworks the test to examine the dispatcher types on the
filter registration directly instead.
Closes gh-11826
7 years ago
Stephane Nicoll
a515c5b7d1
Polish contribution
...
Closes gh-11811
7 years ago
Johnny Lim
914bdb393f
Polish
...
See gh-11811
7 years ago
Phillip Webb
5767350380
Polish
7 years ago
Johnny Lim
6d68806275
Polish
...
Closes gh-11805
7 years ago
Jon Schneider
b254761c5e
Support micrometer Graphite tagsAsPrefix property
...
Fixes gh-11797
7 years ago
Phillip Webb
0b689a5b10
Polish MetricsFilter registration async support
...
Closes gh-11348
7 years ago
Nikolay Rybak
b6af06a55f
Fix MetricsFilter registration to support async
...
Update `WebMvcMetricsConfiguration` so that the filter is registered
with the correct settings to support async requests.
See gh-11348
7 years ago
Phillip Webb
25815ca7e1
Refine WebMvcMetricsFilter for async support
...
Rework `WebMvcMetricsFilter` so that async requests can be handled
correctly.
See gh-11348
7 years ago