0.0.21 • Published 8 years ago

http-to-datadog v0.0.21

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

http-to-datadog forwarder

An extremely simple HTTP to datadog forwarder.

Usage

Installation

npm install http-to-datadog

Configuration and running

require('http-to-datadog').startServer({}, ()=>{});

Options

Can be set through javascript object or environment variables:

Example

const options = {
    port: 80,  # PORT
    sinkHost: 'dd-agent', # DDAGENT_HOST
    sinkPort: 8125, # DDAGENT_PORT
    appPath: '/v1/send', # APP_PATH
    allowOrigin: '*', # ALLOW_ORIGIN
    tags: ['environment:development'] # TAGS=environment:development,othertag:value
}
require('http-to-datadog').startServer(options, ()=>{});
0.0.21

8 years ago

0.0.20

10 years ago

0.0.19

10 years ago

0.0.18

10 years ago

0.0.17

10 years ago

0.0.16

10 years ago

0.0.15

10 years ago

0.0.14

10 years ago

0.0.13

10 years ago

0.0.12

10 years ago

0.0.11

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago