It is a simple improvement. Added function that can handle different URLs for push metrics to sets up periodic push by defined URLs for metrics obtained by calling writeMetrics callback with the given interval.
I think there can be another improvement. When we can define struct like
It is a simple improvement. Added function that can handle different URLs for push metrics to sets up periodic push by defined URLs for metrics obtained by calling writeMetrics callback with the given interval.
I think there can be another improvement. When we can define struct like
We can define different intervals and extra labels per each URL. It may be helpful to define different write callbacks, but it is just my thoughts.