Closed Kim-Allan closed 5 months ago
Hello Allan,
https://mycloudalm.eu10.alm.cloud.sap/api/calm-analytics/v1 is the one to be used when configuring your datasource in grafana. The other APIs are used for other purposes, you can find additional documentation here.
Best Regards,
Andrea
Hmm. But how do I then make graph for CPU which are in metrics API. Or check if data collection is running which are in other API’s ?
I was expecting I could make a dashboard in grafana which data from different parts of cloud ALM. Not only analytic? any good solution for that ?
Hello Allan,
You can get all the metrics using the analytic api (the one supported by the Grafana Plugin). In fact, the (outbound) "metrics API" you are referring to, is simply used to translate the results of the "Analytics API" into output compatible with the Open Telemetry Protocol. But the metrics you can get from both APIs are the same ones produced by the different SAP Cloud ALM Applications. For example, here is a panel showing CPU related metrics from an ABAP System monitored by a SAP Cloud ALM Tenant.
This is done using the Health Monitoring data provider available in the analytics api.
Best Regards,
Andrea
Just so I get it right. Analytics contains all data which are available on the other API’s ? like landscape api, event api all of these the data is also in analytic api ?
To be more specific, what I wanted was. To make a dashboard, with all kind of small widgets. As I could read, from the different API, Logs API, metrics API, Event API ect. I could get all kind of data form there. One small widget could be. Is data collections running.
And all kind of small wigets, but I am not sure, I can get that data from analytic widget ?
Hello Allan,
These are the supported Data Providers by the Analytics API:
There are no Logs or Landscape related data in there and, as far as I know, it's not possible to get the status of the data collection.
Best Regards,
Andrea
This API is the only API I can get to work https://mycloudalm.eu10.alm.cloud.sap/api/calm-analytics/v1
If I try any of these of these API's, then it says not found, when I create a new datasource in grafana https://mycloudalm.eu10.alm.cloud.sap/api/calm-landscape/v1 https://mycloudalm.eu10.alm.cloud.sap/api/calm-logs/v1 https://mycloudalm.eu10.alm.cloud.sap/api/calm-traces/v1 https://mycloudalm.eu10.alm.cloud.sap/api/calm-event-situations/v1
I am sure, the connection details is correct, since I can make analytics work, but why all others says not found? Any ideas ?