Hacker News new | ask | show | jobs
by voicedYoda 361 days ago
Well done. Couple quick notes, move to a logger instead of using IO.puts. Also consider adding OTel.
2 comments

I'll second this, just using the built in Logger [0] and Telemetry [1] applications would be fine, opentelemetry or anything else can be added to the telemetry hooks easily to export the metrics later.

[0] https://hexdocs.pm/logger/1.18.4/Logger.html [1] https://hexdocs.pm/telemetry/readme.html

I use Logger through all the project except for the table pretty print. Telemetry is optionally available in prometheus and html formats: https://github.com/Dahrkael/ExTracker/tree/master/lib/ex_tra...
What's your favorite otel sink?