mithril icon indicating copy to clipboard operation
mithril copied to clipboard

Monitoring

Open ryanlntn opened this issue 8 years ago • 1 comments

There are a few options out there for performance monitoring in Elixir: https://appsignal.com/elixir/ https://pryin.io/

We should support monitoring in mithril. How should that look though? Should we just have another domain PerformanceMonitor or should we include error reporting and performance monitoring under the same Monitor domain?

I'd argue for the later as many of these services support both error reporting and performance monitoring and they do both fit under the same domain of reporting the health of your app to external services.

ryanlntn avatar Dec 04 '17 23:12 ryanlntn

I vote for something like HealthMonitor.PerformanceReporting and HealthMonitor.ErrorReporting

And the cli args could be like so:

  • --error-reporting <option> -- Generates HealthMonitor.ErrorReporting along with the appropriate option configuration (valid options: appsignal, honeybadger)
  • --performance-reporting <option> -- Generates HealthMonitor.PerformanceReporting along with the appropriate option configuration/instrumenters (valid options: appsignal, pryin)
  • --health-monitoring <option> -- Generates HealthMonitor.ErrorReporting and HealthMonitor.PerformanceReporting along with the appropriate option configuration/instrumenters. (valid options: appsignal)

silasjmatson avatar Dec 20 '17 21:12 silasjmatson