Skip to content

Latest commit

 

History

History
60 lines (43 loc) · 1.2 KB

README.md

File metadata and controls

60 lines (43 loc) · 1.2 KB

oc_datadog

CircleCI codecov Hex version badge

Opencensus integration to DataDog traces and metrics (via dogstatsd).

Installation

Rebar3:

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

Mix:

def deps do
  [
    {:oc_datadog, "~> 0.2.0"}
  ]
end

Configuration

sys.conf:

[
    {opencensus, [
        {reporter, {oc_reporter_datadog, []}},
        {stat, [
            {exporters, [
                {oc_stat_exporter_datadog, []}
            ]}
        }]
    ]}
].

Elixir:

config :opencensus, :reporter, {:oc_reporter_datadog, []}

config :opencensus, :stat,
  exporters: [{:oc_stat_exporter_datadog, []}]

License

See LICENSE file.