Open tristanls opened 10 years ago
Instead of emitting individual events like:
stats.timers.find.ms stats.timers.find.round.ms
stats.timers.find.ms
stats.timers.find.round.ms
perhaps instead emit a single telemetry event with content being self-describing:
telemetry
module=discover.target_type=timer.operation=find.unit=ms 10 module=discover.target_type=timer.operation=find_round.unit=ms 2
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
module=discover target_type=timer operation=find unit=ms 10
module=discover target_type=timer operation=find_round unit=ms 2
module=discover&target_type=timer&operation=find&unit=ms&10 module=discover&target_type=timer&operation=find_round&unit=ms&2
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/
Also consider https://github.com/tristanls/quantify along with https://github.com/tristanls/telemetry-events
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/