tristanls / discover

Node discovery based on Kademlia DHT protocol.
MIT License
69 stars 10 forks source link

Consider changing telemetry format #10

Open tristanls opened 10 years ago

tristanls commented 10 years ago

Instead of emitting individual events like:

stats.timers.find.ms stats.timers.find.round.ms

perhaps instead emit a single telemetry event with content being self-describing:

module=discover.target_type=timer.operation=find.unit=ms 10 module=discover.target_type=timer.operation=find_round.unit=ms 2

alternatively:

module=discover target_type=timer operation=find unit=ms 10 module=discover target_type=timer operation=find_round unit=ms 2

alternatively:

module=discover&target_type=timer&operation=find&unit=ms&10 module=discover&target_type=timer&operation=find_round&unit=ms&2

Background: http://engineering.indeed.com/talks/logrepo-enabling-data-driven-decisions/ http://dieter.plaetinck.be/metrics_2_a_proposal.html http://dieter.plaetinck.be/introduction_talk_to_metrics2-0_and_graph_explorer.html http://metrics20.org/

tristanls commented 9 years ago

Also consider https://github.com/tristanls/quantify along with https://github.com/tristanls/telemetry-events