Annotation Type ManagedResource
Publishes this bean's ManagedAttribute getters as metrics and its
ManagedOperation methods as operations -- the JMX model, over OpenTelemetry.
Each numeric attribute becomes an observable gauge named
<objectName>.<attribute>, read when metrics are collected. The operations
are listed by the management endpoint and by the development MCP server,
which can invoke them. Everything is enumerated by the build; the generated
code calls the getters and the operations directly.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionWhat the bean is, for the listing.The prefix the metrics are named under.
-
Element Details
-
objectName
String objectNameThe prefix the metrics are named under. Empty means the class's simple name.- Default:
""
-
description
-