Integration between telemetry
and opencensus
.
Rebar3:
{deps, [{opencensus_telemetry, "~> 0.1.0"}]}.
Mix:
def deps do
[
{:opencensus_telemetry, "~> 0.1.0"}
]
end
To add measure on event just run:
oc_telemetry:attach("measure/name", [event, name], "Description", unit).
Or in Elixir:
:oc_telemetry.attach("measure/name", [:event, :name], "Description", :unit)
See LICENSE file.