ImVexed / NotLiteCode

Remote Encrypted Procedure Calling for .Net & .Net Core
The Unlicense
16 stars 3 forks source link

Exporting of Prometheus metrics #2

Closed ImVexed closed 5 years ago

ImVexed commented 5 years ago

I've been toying with the idea of allowing the optional exporting of Prometheus metrics.

This would allow for some downstream projects like https://github.com/ImVexed/NotALicensingPlatform and https://github.com/ImVexed/NaDCS to derive valuable runtime metrics around execution duration and load balancer bias for example.

However, this would add a direct dependency on https://github.com/prometheus-net/prometheus-net and seeing as we currently have no dependencies I'm hesitant to undertake any due to licensing limitations that are imposed on some.

Thus I'm creating this issue for any feedback or comments on the topic.

ImVexed commented 5 years ago

Temporary stopgap: https://github.com/ImVexed/NotLiteCode/commit/c79f5ae3ce34526933cae64aab98a19e0754d3d7#diff-67f05148c162f674730919863b494362R132

ImVexed commented 5 years ago

Closed for now as to not undertake any unnecessary dependencies