-
Notifications
You must be signed in to change notification settings - Fork 2
/
exampleConfig.js
19 lines (19 loc) · 1.14 KB
/
exampleConfig.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
Example StatsD configuration for sending metrics to Instrumental.
See the offical Statsd exampleConfig.js for more StatsD options.
*/
exports.config = {
port: 8125,
backends: ["statsd-instrumental-backend"],
debug: false,
instrumental: {
key: "PROJECT_API_TOKEN", // REQUIRED
secure: true, // OPTIONAL (boolean), whether or not to use secure protocol to connect to Instrumental, default true
verifyCert: true, // OPTIONAL (boolean), should we attempt to verify the server certificate before allowing communication, default true
timeout: 10000, // OPTIONAL (integer), number of milliseconds to wait for establishing a connection to Instrumental before giving up, default 10s
recordCounterRates: true, // OPTIONAL (boolean) whether or not to send ".rate" metrics with counters, default true
metricPrefix: "", // OPTIONAL (string) this will be prepended (with a dot) to ALL of your metrics
metricFiltersExclude: [], //OPTIONAL (array of regex) any metrics matching these filters will be dropped
metricFiltersInclude: [] //OPTIONAL (array of regex) any metrics NOT matching at least one of these filters will be dropped
}
}