justtrackio / gosoline

Gosoline is our framework which fuels all of our Golang applications
MIT License
93 stars 50 forks source link

metric/stream/httpserver: created common metrics-per-runner module to measure messages or requests per runner metric and write it to cloudwatch #1111

Open ajscholl opened 4 months ago

ajscholl commented 4 months ago

This commit refactors the messages-per-runner metric and makes it only one implementation of the new metrics-per-runner module. An additional handler is configured which records the requests per runner we serve.

This is a breaking change as it requires you to move some config values (like the ECS or CW patterns) to a common config key.