Metrics
Metrics API
Overview:
The metrics API in torchelastic is used to publish telemetry metrics.
It is designed to be used by torchelastic's internal modules to
publish metrics for the end user with the goal of increasing
visibility and helping with debugging. However you may use the same
API in your jobs to publish metrics to the same metrics "sink".
A "metric" can be thought of as timeseries data and is uniquely
identified by the string-valued tuple "(metric_group, metric_name)".
torchelastic makes no assumptions about what a "metric_group" is and
what relationship it has with "metric_name". It is totally up to the
user to use these two fields to uniquely identify a metric.
Note:
The metric group "torchelastic" is reserved by torchelastic for
  platform level metrics that it produces. For instance torchelastic
  may output the latency (in milliseconds) of a re-rendezvous
  operation from the agent as "(torchelastic,
  agent.rendezvous.duration.ms)"