Module oc_stat
OpenCensus Stats package.
Function Index
export/0 | Exports view_data of all subscribed views. |
record/2 | |
record/3 | Records one or multiple measurements with the same tags at once. |
Function Details
export/0
export() -> oc_stat_view:view_data()
Exports view_data of all subscribed views
record/2
record(Tags::ctx:t() | oc_tags:tags(), Measures::[{measure_name(), number()}]) -> ok
record/3
record(Tags::ctx:t() | oc_tags:tags(), MeasureName::measure_name(), Value::number()) -> ok
Records one or multiple measurements with the same tags at once. If there are any tags in the context, measurements will be tagged with them.