Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
voicedYoda
8 days ago
|
parent
|
context
|
favorite
| on:
Show HN: I wrote a new BitTorrent tracker in Elixi...
Well done. Couple quick notes, move to a logger instead of using IO.puts. Also consider adding OTel.
solid_fuel
8 days ago
|
next
[–]
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
reply
dahrkael
8 days ago
|
parent
|
next
[–]
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...
reply
ai-christianson
8 days ago
|
prev
[–]
What's your favorite otel sink?
reply
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: