@marfle/winston-transport-datadog
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -10,11 +10,11 @@ const tls = require('tls'); | ||
bufferSize: 10000, | ||
reconnectInterval: 10000, // used when transport is idle and there are messages in buffer | ||
reconnectInterval: 10000 // used when transport is idle and there are messages in buffer | ||
}; | ||
const defaultSocketOptions = { | ||
timeout: 10000, | ||
timeout: 10000 | ||
}; | ||
const defaultMetadata = { | ||
ddsource: 'winston', | ||
ddsource: 'winston' | ||
}; | ||
@@ -29,3 +29,3 @@ | ||
metadata: { ...defaultMetadata, ...metadata }, | ||
...restOpts, | ||
...restOpts | ||
}; | ||
@@ -32,0 +32,0 @@ super(config); |
@@ -1,2 +0,2 @@ | ||
const DatadogTransport = require("./datadog-transport"); | ||
const DatadogTransport = require('./datadog-transport'); | ||
@@ -3,0 +3,0 @@ module.exports = { |
{ | ||
"name": "@marfle/winston-transport-datadog", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "Datadog logging transport for winston", | ||
@@ -34,3 +34,3 @@ "main": "index.js", | ||
"engines": { | ||
"node": ">=10" | ||
"node": ">=12" | ||
}, | ||
@@ -41,10 +41,10 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"eslint": "^6.4.0", | ||
"jest": "^24.9.0", | ||
"eslint": "^6.8.0", | ||
"jest": "^25.1.0", | ||
"winston": "^3.2.1" | ||
}, | ||
"dependencies": { | ||
"async": "^3.1.0", | ||
"async": "^3.1.1", | ||
"fast-safe-stringify": "^2.0.7" | ||
} | ||
} |
# winston-transport-datadog | ||
[![npm (scoped)](https://img.shields.io/npm/v/@marfle/winston-transport-datadog.svg)](https://www.npmjs.com/package/@marfle/winston-transport-datadog) | ||
[![npm (scoped)](https://img.shields.io/npm/v/@marfle/winston-transport-datadog.svg)](https://www.npmjs.com/package/@marfle/winston-transport-datadog) ![node (scoped)](https://img.shields.io/node/v/@marfle/winston-transport-datadog) | ||
@@ -30,6 +30,6 @@ [`winston`](https://github.com/winstonjs/winston) transport for Datadog logging. | ||
environment: process.env.NODE_ENV, | ||
service: 'myService', | ||
}, | ||
}), | ||
], | ||
service: 'myService' | ||
} | ||
}) | ||
] | ||
}); | ||
@@ -36,0 +36,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6704
Updatedasync@^3.1.1