Hi all!
I’m trying to understand what’s the best way to extract metrics for ad-hoc analytics, e.g. grab the values of a certain series for a month or wo.
There are two endpoints:
- https://cumulocity.com/api/core/#operation/getMeasurementCollectionResource
- https://cumulocity.com/api/core/#operation/getMeasurementSeriesResource
Grabbing measurement objects vs grabbing series values. Measurement objects can be big - if I need just the values of a single series that might be less efficient. Series collection though performs aggregation, not sure about that efficiency.
So - is there a general recommendation? Did anyone do a performance test maybe? A crossover point somewhere?
Looking forward to your thoughts!
Best, Christoph