Created 07-13-2018 11:37 AM
I need to develop some metrics and KPIs, from multiple clusters, similar to statistics shown within Cloudera Manager, but not as extensively.. Is there documentation available for the backend database structure? We are uisng Oracle and CDH 5.12.
Michael Reynolds
Created 07-13-2018 12:08 PM
It really depends on what sort of metrics you are looking to use.
(1)
Cloudera Manager does not store host and service information in the Cloudera Manager database. Rather, that information is stored via leveldb on your OS file system. timeseries queries can be run against Cloudera Manager which whill issue the query to Service/host monitor and return results.
For more information on metrics in CM and tsquery language:
https://www.cloudera.com/documentation/enterprise/5-14-x/topics/cm_metrics.html
Cloudera Manager api also provides REST API and API calls to perform timeseries queries. Search in your browser for "timeseries" here:
https://cloudera.github.io/cm_api/apidocs/v19/index.html
(2)
An alternative to this is metrics2. Cloudera documenation regarding how to expose metrics2 to a couple common tools here:
https://www.cloudera.com/documentation/enterprise/5-14-x/topics/cm_mc_metrics_ganglia.html
https://www.cloudera.com/documentation/enterprise/5-14-x/topics/cm_mc_metrics_graphite.html
Created 07-13-2018 12:21 PM
Great! Thank you very much for the detailed information.
Michael Reynolds