Interface MBeanExports
public interface MBeanExports
Exports MBeans to Prometheus.
- Since:
- 6.10
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMBean
(PrometheusMBean mBean, ObjectName objectName, String name, List<com.pushtechnology.diffusion.utils.tuple.Pair<String, String>> additionalProperties) Add an MBean to be exported.void
removeMBean
(ObjectName objectName) Remove an MBean from the exporter.
-
Method Details
-
addMBean
void addMBean(PrometheusMBean mBean, ObjectName objectName, String name, List<com.pushtechnology.diffusion.utils.tuple.Pair<String, String>> additionalProperties) Add an MBean to be exported.Overwrites any bean with the same objectName.
-
removeMBean
Remove an MBean from the exporter.Idempotent.
-