facebookincubator / dynolog

Dynolog is a telemetry daemon for performance monitoring and tracing. It exports metrics from different components in the system like the linux kernel, CPU, disks, Intel PT, GPUs etc. Dynolog also integrates with pytorch and can trigger traces for distributed training applications.
MIT License
260 stars 38 forks source link

Add reducer function to metrics #133

Closed briancoutinho closed 1 year ago

briancoutinho commented 1 year ago

Summary:

About

We can define hbt metrics in terms of a multiple events. However, we lack a way to specify the formula to combine these events, today that is done manually outside in code or by the user directly. We add an optional "reducer" functor to our metric definition that helps identify how to reduce performance events..

Included

Differential Revision: D45092289

facebook-github-bot commented 1 year ago

This pull request was exported from Phabricator. Differential Revision: D45092289

facebook-github-bot commented 1 year ago

This pull request was exported from Phabricator. Differential Revision: D45092289

facebook-github-bot commented 1 year ago

This pull request has been merged in facebookincubator/dynolog@e5c1002153301ce6aa862847846e6b585ff3b3bf.