Skip to content

GH-3056: Add Micrometer Metrics to Runtime Graph#3057

Merged
artembilan merged 2 commits intospring-projects:masterfrom
garyrussell:GH-3056
Sep 20, 2019
Merged

GH-3056: Add Micrometer Metrics to Runtime Graph#3057
artembilan merged 2 commits intospring-projects:masterfrom
garyrussell:GH-3056

Conversation

@garyrussell
Copy link
Contributor

Resolves #3056

@garyrussell
Copy link
Contributor Author

garyrussell commented Sep 19, 2019

Do not merge.

Needs rework tomorrow - this currently requires a call to rebuild() to get the stats updated - we need to fetch the current meter values each time the graph is rendered as JSON.

Copy link
Member

@artembilan artembilan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple concerns

"provider": "spring-integration",
"name": "myApplication"
"contentDescriptor" : {
"providerVersion" : "5.2.0.RELEASE",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's make this based on the {project-version} placeholder!
Let's hope subs="normal" in the [source,json] definition helps!

====

NOTE: Version 5.2 has deprecated the legacy metrics in favor of Micrometer meters as discussed <<./metrics.adoc#metrics-management,Metrics Management>>.
While not shown above, the legacy metrics (under the `stats` child node) will continue to appear in the graph but with an extra child node `"deprecated" : "stats are deprecated in favor of sendTimers and receiveCounters"`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I heard that we always have to add come before but. No? :curious:

@artembilan artembilan merged commit 87840bc into spring-projects:master Sep 20, 2019
@garyrussell garyrussell deleted the GH-3056 branch September 20, 2019 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add micrometer metrics to the integration graph nodes

2 participants