-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add gauges for queue channel size #3349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
558dea4
e14ef35
1013871
7903828
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -165,6 +165,20 @@ It is possible to customize the names and tags of `Meters` created by integratio | |
The https://github.com/spring-projects/spring-integration/blob/master/spring-integration-core/src/test/java/org/springframework/integration/support/management/micrometer/MicrometerCustomMetricsTests.java[MicrometerCustomMetricsTests] test case shows a simple example of how to do that. | ||
You can also further customize the meters by overloading the `build()` methods on builder subclasses. | ||
|
||
Starting with version 5.1.13, the `QueueChannel` exposes Micrometer gauges for queue size and remaining capacity: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @artembilan There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Well, it even misleads you when you try to upgrade from |
||
|
||
* `name`: `spring.integration.channel.queue.size` | ||
* `tag`: `type:channel` | ||
* `tag`: `name:<componentName>` | ||
* `description`: `The size of queue channel` | ||
|
||
and | ||
|
||
* `name`: `spring.integration.channel.queue.remaining.capacity` | ||
* `tag`: `type:channel` | ||
* `tag`: `name:<componentName>` | ||
* `description`: `The remaining.capacity of queue channel` | ||
|
||
[[mgmt-channel-features]] | ||
==== `MessageChannel` Metric Features | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.