Support Questions
Find answers, ask questions, and share your expertise

Metrics via Backend Database?

Contributor

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

 

2 REPLIES 2

Super Guru

@Urantian,

 

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

 

 

Contributor

Great!  Thank you very much for the detailed information.

 

Michael Reynolds