14 Sep 2020 06:57 PM
When inserting data through API, we can insert several data points in the same API call.
I'm not so sure that is happening when using ActiveGate extensions. I'm using python, and the device.absolute method. When invoked 10 times with different key/values, is it making 10 different calls. Or does it work some other way?
Solved! Go to Solution.
14 Sep 2020 08:31 PM
The extensions framework doesn't use the API. Instead it buffers the metric results and sends them in bulk to the Dynatrace server in the same way as it does with regular OneAgent data. You don't have to worry about the API rate limitation with extensions.
Mike
15 Sep 2020 09:42 PM
Thanks for the confirmation. I would imagine that the bulk send happens when the python script ends, or does it use another strategy?
16 Sep 2020 08:50 AM
It is on a timer and not specifically at the end of the script execution. The buffer is shared between all extensions and they don't all start and stop at the same time.