We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cd478bf + 8615dea commit b63e136Copy full SHA for b63e136
lib/datadog.js
@@ -85,7 +85,6 @@ var flush_stats = function datadog_post_stats(ts, metrics) {
85
var gauges = metrics.gauges;
86
var timers = metrics.timers;
87
var pctThreshold = metrics.pctThreshold;
88
- var sets = metrics.sets;
89
90
var host = hostname || os.hostname();
91
var payload = [];
@@ -120,18 +119,6 @@ var flush_stats = function datadog_post_stats(ts, metrics) {
120
119
});
121
}
122
123
- // send sets
124
- for (key in sets) {
125
- value = sets[key];
126
-
127
- payload.push({
128
- metric: key,
129
- points: [[ts, value.size()]],
130
- type: 'gauge',
131
- host: host
132
- });
133
- }
134
135
// Compute timers and send
136
for (key in timers) {
137
if (timers[key].length > 0) {
0 commit comments