weblogic-monitoring-exporter
weblogic-monitoring-exporter copied to clipboard
Missing datasource State metric
We need to be able to expose the "State" of a given datasource in a managed server. As the WebLogic MBean fields that were string types were skipped by default since Prometheus was unable to support those types, currently the State is not exposed. As suggested by @ddsharpe , is it possible to create an exception for this field ? The type is just an enumeration that could be translated to an integer that Prometheus would support, and from there we can interpret it correctly. Thanks !!
Please be as specific as possible. I believe that you are after the State attribute from JDBCDataSourceRuntime. State= (Running, Suspended, Stopped, Overloaded ...). Correct?
t you are after the
Stateattribute fromJDBCDataSourceRuntime. State= (Running, Suspended, Stopped, Overloaded ...). Correct?
Correct !!
Do we have any news about this issue ?
Please try branch string_metrics.
Changes in branch string_metrics are correctly handling the request in this issue, not only for the "state" metric in JDBCDataSourceRuntimeMBeans , but for any string typed metric listed in "stringValues:" , which is correctly cathegorized with the values specified. Hence this issue can be closed