Datadog exporter for OpenCensus metrics
Branch: master
Clone or download
gbbr trace: use /v0.4 agent endpoint and priority sampling (#27)
This change enables the use of the agent's /v0.4 endpoint and enables priority sampling by default.

It also updates the README to mention that using `AlwaysSample` will allow our exporter to handle sampling and for the APM product to display correct stats.
Latest commit 20ec6f4 Jan 4, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
examples stats: expose UDP address errors on exporter initialize (#26) Dec 28, 2018
LICENSE added a license for the project (#2) Jun 5, 2018
LICENSE-3rdparty.csv added a license for the project (#2) Jun 5, 2018
NOTICE added a license for the project (#2) Jun 5, 2018
README.md trace: use /v0.4 agent endpoint and priority sampling (#27) Jan 4, 2019
datadog.go stats: expose UDP address errors on exporter initialize (#26) Dec 28, 2018
datadog_test.go stats: expose UDP address errors on exporter initialize (#26) Dec 28, 2018
doc.go doc: improve documentation and introduce Stop method into README Jun 15, 2018
errors.go trace: add trace exporter. (#3) Jun 15, 2018
errors_test.go trace: add trace exporter. (#3) Jun 15, 2018
msgpack.go build: make datadog exporter portable to 32-bit platforms (#10) Jul 31, 2018
msgpack_gen.go trace: add trace exporter. (#3) Jun 15, 2018
msgpack_test.go trace: add trace exporter. (#3) Jun 15, 2018
sampler.go trace: use /v0.4 agent endpoint and priority sampling (#27) Jan 4, 2019
sampler_test.go trace: use /v0.4 agent endpoint and priority sampling (#27) Jan 4, 2019
span.go trace: use /v0.4 agent endpoint and priority sampling (#27) Jan 4, 2019
span_test.go trace: use /v0.4 agent endpoint and priority sampling (#27) Jan 4, 2019
stats.go stats: expose UDP address errors on exporter initialize (#26) Dec 28, 2018
stats_test.go stats: expose UDP address errors on exporter initialize (#26) Dec 28, 2018
trace.go trace: use /v0.4 agent endpoint and priority sampling (#27) Jan 4, 2019
trace_test.go trace: use /v0.4 agent endpoint and priority sampling (#27) Jan 4, 2019
transport.go trace: use /v0.4 agent endpoint and priority sampling (#27) Jan 4, 2019
transport_test.go trace: use /v0.4 agent endpoint and priority sampling (#27) Jan 4, 2019

README.md

OpenCensus Go Datadog

CircleCI GoDoc

Provides OpenCensus stats and trace exporter support for Datadog Metrics and Datadog APM. The examples folder provides some simple usage examples.

Requirements:

Disclaimer

In order to get accurate Datadog APM statistics and full distributed tracing, trace sampling must be done by the Datadog stack. For this to be possible, OpenCensus must be notified to forward all traces to our exporter:

trace.ApplyConfig(trace.Config{DefaultSampler: trace.AlwaysSample()})

This change simply means that Datadog will handle sampling. It does not mean that all traces will be sampled.