0.0.21 • Published 7 years ago

http-to-datadog v0.0.21

Weekly downloads
2
License
MIT
Repository
github
Last release
7 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

7 years ago

0.0.20

8 years ago

0.0.19

8 years ago

0.0.18

8 years ago

0.0.17

8 years ago

0.0.16

8 years ago

0.0.15

8 years ago

0.0.14

8 years ago

0.0.13

8 years ago

0.0.12

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago