Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 987 Bytes

README.md

File metadata and controls

46 lines (30 loc) · 987 Bytes

Opencensus.Telemetry

CircleCI codecov

Integration between telemetry and opencensus.

Installation

Rebar3:

{deps, [{opencensus_telemetry, "~> 0.1.0"}]}.

Mix:

def deps do
  [
    {:opencensus_telemetry, "~> 0.1.0"}
  ]
end

Usage

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)

License

See LICENSE file.