| attach/4 | Creates measurement and attach it to the telemetry dispatcher. |
| track/1 | Creates measurement, view, and attaches measurement to the telemetry. |
attach(Name::oc_stat_measure:name(), EventName::telemetry:event_name(), Description::oc_stat_measure:description(), Unit::oc_stat_measure:unit()) -> {ok, oc_stat_measure:measure()} | {error, already_registered}
Creates measurement and attach it to the telemetry dispatcher
On success it returns {ok, Measurement} where Measurement is newly
created OpenCensus measurement that can be used for creating views.
{error, already_registered}.
track(Metric::map()) -> {ok, oc_stat_view:view()} | {error, term()}
Creates measurement, view, and attaches measurement to the telemetry
On success it returns {ok, View} where View is newly created OpenCensus
view.
{error, already_registered}.
Generated by EDoc