-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove enabling of http client metrics histogram because it should be…
… a decision by the microservice and could be enabled via spring application properties, make custom client request metrics tag contributor optional with an application property Co-authored-by: Matthias Geißendörfer <[email protected]>
- Loading branch information
Showing
7 changed files
with
61 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,59 @@ | ||
# Changelog | ||
|
||
## 0.4.0 | ||
## 0.5.0-SNAPSHOT | ||
|
||
* _core_: | ||
* add metrics configuration so that histogram (bucket) is enabled for http.client metrics from webclient (http_client_requests_seconds_bucket). | ||
* remove metrics configuration for http client metrics which was introduced in 0.4.0 because it could be configured | ||
via spring application properties (`management.metrics.distribution`) and should not be part of this library. | ||
* Introduce property `babbage.metrics.custom-html-client-metric.enabled` to not enable aggregated http client | ||
metrics by default. | ||
|
||
## 0.4.0 | ||
|
||
* _core_: | ||
* add metrics configuration so that histogram (bucket) is enabled for http.client metrics from webclient ( | ||
http_client_requests_seconds_bucket). | ||
* add `ClientRequestMetricsTagContributor` to limit the number of metrics for http.client metrics from webclient (it | ||
only takes the first path of the url and removes all query parameters). | ||
|
||
## 0.3.1 | ||
|
||
* _core_: | ||
* Fix: Just pass commit time from `git.properties` to status page, because the formats in the generated files are different. | ||
* Fix: Just pass commit time from `git.properties` to status page, because the formats in the generated files are | ||
different. | ||
|
||
## 0.3.0 | ||
|
||
* _core_: | ||
* Upgrade to bootstrap 5.3.3 | ||
* Add status detail indicator infos to status page | ||
* Enhance git infos on status page | ||
* Upgrade to bootstrap 5.3.3 | ||
* Add status detail indicator infos to status page | ||
* Enhance git infos on status page | ||
|
||
## 0.2.0 | ||
|
||
* Upgrade all modules to spring boot 3.2.2 | ||
|
||
## 0.1.0 | ||
|
||
* _core_: | ||
* Fix: Load bootstrap js in footer of logger console | ||
* Fix: Load bootstrap js in footer of logger console | ||
* _validation_: | ||
* Feature: Expose validation message in http response body | ||
* Feature: Expose validation message in http response body | ||
|
||
## 0.0.3 | ||
* _core_: | ||
* Fix: Logger overview now uses the correct links for changing log levels. | ||
* Fix: Long loggers are now scrollable and are not hidden behind the log-level buttons. | ||
* Feature: Add option to add custom management pages by extending your Controller with `ManagementController`. Documentation about is added [here](core/README.md) | ||
* _validation_: | ||
* add `SafeId` annotation to validation String input parameters | ||
|
||
* _core_: | ||
* Fix: Logger overview now uses the correct links for changing log levels. | ||
* Fix: Long loggers are now scrollable and are not hidden behind the log-level buttons. | ||
* Feature: Add option to add custom management pages by extending your Controller with `ManagementController`. | ||
Documentation about is added [here](core/README.md) | ||
* _validation_: | ||
* add `SafeId` annotation to validation String input parameters | ||
|
||
## 0.0.2 | ||
|
||
* _aws-paramstore:_ Fix: Add missing `@ConfigurationProperties` for AWS ParamStore Properties. | ||
|
||
## 0.0.1 | ||
|
||
* Initial version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 0 additions & 34 deletions
34
core/src/main/kotlin/de/otto/babbage/core/config/MetricConfiguration.kt
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...fig/ClientRequestMetricsTagContributor.kt → ...ics/ClientRequestMetricsTagContributor.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
core/src/main/kotlin/de/otto/babbage/core/metrics/MetricConfiguration.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package de.otto.babbage.core.metrics | ||
|
||
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty | ||
import org.springframework.context.annotation.Bean | ||
import org.springframework.context.annotation.Configuration | ||
|
||
@Configuration | ||
class MetricConfiguration { | ||
|
||
@Bean | ||
@ConditionalOnProperty("babbage.metrics.custom-html-client-metric.enabled", havingValue = "true") | ||
fun clientRequestMetricsTagContributor(): ClientRequestMetricsTagContributor { | ||
return ClientRequestMetricsTagContributor() | ||
} | ||
|
||
} |
2 changes: 1 addition & 1 deletion
2
...ClientRequestMetricsTagContributorTest.kt → ...ClientRequestMetricsTagContributorTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters