We are encountering an issue regarding the retrieval of metrics from Google Cloud Monitoring into Centreon. Specifically, some metrics do not appear to be correctly interpreted—particularly those returned in a distribution format.
When querying the Cloud Monitoring API, we receive values in the following format:
json
"value": {
"distributionValue": {
"count": "2",
"mean": 0.4811553955078125,
"sumOfSquaredDeviation": 0.0042963802115991712,
"bucketOptions": {
"linearBuckets": {
"numFiniteBuckets": 100,
"width": 0.01
}
}
}
}
Centreon appears to expect a single value, such as those of type int64, rather than an aggregated distribution. Could you confirm whether this type of format (distribution) is supported? If not, is there a configuration or method that would allow us to extract a more usable value from this data?
