Ruben Navarro Piris
bc0fcdb8e0
Add http_method tag to micrometer metrics ( #1968 )
...
* Add http_method tag to micrometer metrics
* Limit line length to 100 chars
* Applies eclipse-java-style to AbstractMetricsTestBase
* Fix AbstractMetricsTestBase format
2 years ago
Marvin Froeder
1c5c6e1e70
Update all license headers to 2023
2 years ago
chao-chang-paypay
62277a9df6
set root cause as the exception_name in micrometer tags ( #1883 )
...
* set root cause as the exception_name in micrometer tags
* set root cause as the exception_name in other metrics system
* set root cause as the exception_name in other metrics system
* Update ExceptionUtilsTest.java
* reformat
* reformat
* add root_cause_name instead of changing exception_name
Co-authored-by: Marvin Froeder <velo@users.noreply.github.com>
2 years ago
Marcin Grzejszczak
72f379a03d
Micrometer Observations ( #1760 )
...
* WIP on Micrometer Observations
* Added verification that metrics are measured
* Fixed formatting
* Fixed wrong status code method call
* Converted to using around
* Fixed compilation issues
* prepare release 11.10
* [ci skip] updating versions to next development iteration 11.11-SNAPSHOT
* Preparing for next development version
* build(deps): bump json from 20220320 to 20220924 (#1768 )
Bumps [json](https://github.com/douglascrockford/JSON-java ) from 20220320 to 20220924.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases )
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md )
- [Commits](https://github.com/douglascrockford/JSON-java/commits )
---
updated-dependencies:
- dependency-name: org.json:json
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Updated to latest micrometer changes
* Enriches via clientInterceptors
* Fixed the error in the DEFAULT instance
* Reverts enriching of CLientInterceptor to achieve observability
* build(deps): bump slf4j.version from 2.0.2 to 2.0.3 (#1769 )
Bumps `slf4j.version` from 2.0.2 to 2.0.3.
Updates `slf4j-simple` from 2.0.2 to 2.0.3
- [Release notes](https://github.com/qos-ch/slf4j/releases )
- [Commits](https://github.com/qos-ch/slf4j/compare/v_2.0.2...v_2.0.3 )
Updates `slf4j-nop` from 2.0.2 to 2.0.3
- [Release notes](https://github.com/qos-ch/slf4j/releases )
- [Commits](https://github.com/qos-ch/slf4j/compare/v_2.0.2...v_2.0.3 )
Updates `slf4j-api` from 2.0.2 to 2.0.3
- [Release notes](https://github.com/qos-ch/slf4j/releases )
- [Commits](https://github.com/qos-ch/slf4j/compare/v_2.0.2...v_2.0.3 )
Updates `slf4j-jdk14` from 2.0.2 to 2.0.3
- [Release notes](https://github.com/qos-ch/slf4j/releases )
- [Commits](https://github.com/qos-ch/slf4j/compare/v_2.0.2...v_2.0.3 )
---
updated-dependencies:
- dependency-name: org.slf4j:slf4j-simple
dependency-type: direct:development
update-type: version-update:semver-patch
- dependency-name: org.slf4j:slf4j-nop
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: org.slf4j:slf4j-api
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: org.slf4j:slf4j-jdk14
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump kotlin.version from 1.7.10 to 1.7.20 (#1771 )
Bumps `kotlin.version` from 1.7.10 to 1.7.20.
Updates `kotlin-stdlib-jdk8` from 1.7.10 to 1.7.20
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.7.20/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.10...v1.7.20 )
Updates `kotlin-reflect` from 1.7.10 to 1.7.20
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.7.20/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.10...v1.7.20 )
Updates `kotlin-maven-plugin` from 1.7.10 to 1.7.20
---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib-jdk8
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-reflect
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-maven-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump asm from 9.3 to 9.4 (#1777 )
Bumps asm from 9.3 to 9.4.
---
updated-dependencies:
- dependency-name: org.ow2.asm:asm
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Applied latest changes of Micrometer
* Polish
* Upgraded Micrometer to 1.10.0'
* Alternative micrometer observation using capability
* Ban 'repositories'
* Applied my own review suggestions ;)
* Polish
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Marvin Froeder <marvin.froeder@dovetailstudios.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marvin Froeder <marvin.froeder@police.govt.nz>
Co-authored-by: Marvin Froeder <velo@users.noreply.github.com>
2 years ago
Donghyeon Kim
7d1cf7ced7
Refactor async feign ( #1755 )
...
* Add MethodInfoResolver to customize MethodInfo creation logic
* Add methodInfoResolver setter to AsyncBuilder
* Refactor CoroutineFeign to use AsyncFeignBuilder instead of FeignBuilder
* Deprecate CoroutineFeign.coBuilder
* Change AsyncFeign to not inherit Feign
* Deprecate AsyncFeign.asyncBuilder
* Refactor AsyncBuilder to build Feign directly
Co-authored-by: Marvin Froeder <velo@users.noreply.github.com>
2 years ago
Eugene Shishkin
c2bdad31de
Pass exception parameter to overloaded method in FeignMetricTagResolver ( #1716 ) ( #1720 )
2 years ago
Eduard Dudar
75a3c1cf6f
Support of capabilities for AsyncFeign ( #1626 )
...
* Support of capabilities for AsyncFeign
* Removed SyncBased interface, added todo for stageExecution, and adopted micrometer client to be async as well.
* Added internal builder flag similar to 'forceDecoding' but for client enrichment
* Added async client enrichment to Dropwizard5 capability
* Added async client enrichment to Dropwizard5 capability + code formatting
* Progress with tests; added decoder condition similar to the client one
* Fixed javadoc
* A different take on skipping enrichment and delagation
* Switcharoo
* Relaxed casting requirements and check it during execution phase
* Create class to hold common Builder fields
* Make sure capabilities are applied to all relevant fields
Co-authored-by: Marvin Froeder <velo@users.noreply.github.com>
Co-authored-by: Marvin Froeder <velo.br@gmail.com>
2 years ago
Hakan Altındağ
f71849d387
Fixed dangling javadoc comment warning by applying new mapping ( #1568 )
...
* Fixed dangling javadoc comment warning by applying new mapping
* Apply comment header formatter
Co-authored-by: Marvin Froeder <velo.br@gmail.com>
3 years ago
Witalij Berdinskich
a23bce0781
MeteredDecoder records timer once in happy path ( #1554 )
3 years ago
Witalij Berdinskich
24635e6e85
The counter indicator increases by 2 each time (on happy path) ( #1548 )
...
* The counter indicator increases by 2 each time (on happy path).
* Add test coverage
* Make test beaty again
* Fix license header
* Move new tests to the common abstract class
3 years ago
Martina Catizone
c715049829
Aggregate Micrometer "uri" label values under uri template ( #1493 )
...
* Use path expression rather than explicit value for Micrometer "uri" labels
* e.g. "/get/{id}" rather than "/get/123"
* this provides better aggregation, protecting the time series database
* Make assertions more self explanatory
* Test Micrometer Decoder uri label
* Move tests to AbstractMetricsTestBase, add uri label to dropwizard-metrics4&5
Co-authored-by: Marvin Froeder <velo@users.noreply.github.com>
3 years ago
Tommy Schmidt
7861fbcdf8
Fix exception thrown when using a custom error decoder with metrics ( #1468 )
...
* #1466 : fixed metered feign client throwing IllegalArgumentException when using custom ErrorDecoder
* #1466 : add missing license header
* Fold MeteredFeignClientTest into AbstractMetricsTestBase
Co-authored-by: Marvin Froeder <marvin.froeder@dovetailstudios.com>
3 years ago
Nikolay Fadin
5ecd704314
Micrometer metrics tags extension ( #1322 )
...
* Micrometer metrics tags extension
* Merge parent
* Fix license
* Add tags to response code counter metric
* Fix format
* Improve tags resolution for exceptions, decrease amount of similar methods
* Make MeteredEncoder timer and counter methods protected
* Fix formatting
* Add finally blocks
Co-authored-by: Nikolay Fadin <nikolay.fadin@sperasoft.com>
Co-authored-by: Kuvaldis <a1N9u8t9I1k>
Co-authored-by: Marvin Froeder <velo@users.noreply.github.com>
3 years ago
Witalij Berdinskich
4a309e1a55
Add response headers to FeignException ( #1452 )
...
* Add response headers to FeignException
* Test coverage
* Small format issues
* Mistyping: unmodified -> unmodifiable
3 years ago
Marvin Froeder
fe901ca48d
Collect `http_response_code` for successfull and failed requests ( #1375 )
...
On previous implementation response code would only be collected for errors.
To avoid mixing new and old metrics, gave the one that includes successfull codes a different name
4 years ago
Nikolay Fadin
28f5f97d26
Support metric names customization ( #1311 )
...
Co-authored-by: Kevin Davis <kdavisk6@gmail.com>
4 years ago
Marvin Froeder
336f2cebee
Track number of exception that happen while decoding payload ( #1288 )
4 years ago
Tommy Karlsson
a16140d7f5
Fixes propagation of unchecked exceptions in feign-micrometer ( #1282 )
...
Both `MeteredClient` and `MeteredDecoder` now propagates all
unchecked exceptions as-is (they were previously wrapped in
`IOException` before rethrown).
Fixes #1281
4 years ago
Kevin Davis
9f21dcc8c8
Update JDK11 Builds in Travis to release on Java 11 modules ( #1214 )
...
This change converts the Java11 module release into two steps:
1. run `mvn install` for just feign-java11 to ensure the dependent
projects exist in the local repo
2. run `mvn deploy` for `feign-java11`
The result should be that only the single module is deployed
* Correcting License Headers
4 years ago
Marvin Froeder
6989b503ef
Micrometer ( #1188 )
...
* Add support for micrometrics metrics
* Update documentation with metrics information
5 years ago