Skip to content

opencensus-beam/opencensus_telemetry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.