@seneca/telemetry-datadog

0.0.1 • Public • Published

Seneca Telemetry Datadog

Seneca Telemetry Datadog is a plugin for Seneca

Handle incoming messages within other frameworks.

npm version build Coverage Status Known Vulnerabilities DeepScan grade Maintainability

@seneca/telemetry-datadog

Voxgig This open source module is sponsored and supported by Voxgig.

Notice

This piece of software is currently at the prototype stage, which means, among other things, that its API can be unstable, and the software - buggy. For the duration of the prototype stage, we will also be using some auxiliary packages such as assert-plus and fetch-prop - that are expected to help catch bugs.

Install

  • Install and enable the datadog-agent daemon from the Datadog website
  • Install the dd-trace package
  • Initialize the dd-trace package in your project
  • Install this plugin
  • Use this plugin with your Seneca instance, IMPORTANT - wrap your dd-trace in a function and pass to the plugin via the getTracer option:
const DdTrace = require('dd-trace')
const Seneca = require('seneca')

const seneca = Seneca()
const tracer = DdTrace.init()

seneca.use('telemetry-datadog', {
	getTracer: () => tracer
})

Quick Example

More Examples

Motivation

Support

API

Contributing

Background

Readme

Keywords

none

Package Sidebar

Install

npm i @seneca/telemetry-datadog

Weekly Downloads

218

Version

0.0.1

License

MIT

Unpacked Size

5.7 kB

Total Files

4

Last publish

Collaborators

  • lmscunha
  • alex01
  • lilsweetcaligula
  • stokesriona
  • rjrodger