Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/opencensus-beam/opencensus_datadog

Export opencensus span metrics and statistics to Datadog
https://github.com/opencensus-beam/opencensus_datadog

apm datadog datadog-apm erlang metrics opencensus

Last synced: about 2 months ago
JSON representation

Export opencensus span metrics and statistics to Datadog

Awesome Lists containing this project

README

        

oc_datadog
=====

[![CircleCI](https://circleci.com/gh/opencensus-beam/opencensus_datadog.svg?style=svg)](https://circleci.com/gh/opencensus-beam/opencensus_datadog)
[![codecov](https://codecov.io/gh/opencensus-beam/opencensus_datadog/branch/master/graph/badge.svg)](https://codecov.io/gh/opencensus-beam/opencensus_datadog)
[![Hex version badge](https://img.shields.io/hexpm/v/oc_datadog.svg)](https://hex.pm/packages/oc_datadog)

[Opencensus][oc] integration to [DataDog][dd] traces and metrics (via dogstatsd).

## Installation

Rebar3:

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

Mix:

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

## Configuration

`sys.conf`:

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

Elixir:

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

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

## License

See [LICENSE](LICENSE) file.

[oc]: https://github.com/census-instrumentation/opencensus-erlang "Opencensus Erlang"
[dd]: https://datadoghq.com "DataDog"