Cameron Sparr
974221f0cf
Fix phpfpm fcgi client panic when URL doesnt exist
...
closes #1886
2016-10-12 11:58:38 +01:00
Cameron Sparr
e96f7a9b12
graphite parser, handle multiple templates empty filter
...
Previously, the graphite parser would simply overwrite any template that
had an identical filter to a previous template. This included the empty
filter.
Now we will still overwrite, but first we will sort to make sure that
the most "specific" template always matches.
closes #1731
2016-10-11 15:22:51 +01:00
Cameron Sparr
1ff721ad84
Add riemann output plugin deprecation message
2016-10-11 12:28:20 +01:00
Cameron Sparr
ca55c4a55d
Remove COMING SOON: multiple statsd fields
2016-10-11 10:57:34 +01:00
Cameron Sparr
d627bdbbdb
logparser: allow numbers in ident & auth parameters
...
fixes #1810
2016-10-10 11:27:35 +01:00
Cameron Sparr
7f0fe78615
Changelog update for systemd log change
2016-10-06 17:48:23 +01:00
Cameron Sparr
886bdd2ef2
changelog update
2016-10-06 14:25:28 +01:00
Cameron Sparr
4ab0344ebf
Update changelog & readme for 1.0.1
2016-10-05 08:41:58 +01:00
Cameron Sparr
ce5054c850
Changelog update
2016-10-03 18:20:10 +01:00
Cameron Sparr
c7834209d2
Major Logging Overhaul
...
in this commit:
- centralize logging output handler.
- set global Info/Debug/Error log levels based on config file or flags.
- remove per-plugin debug arg handling.
- add a I!, D!, or E! to every log message.
- add configuration option to specify where to send logs.
closes #1786
2016-10-03 17:13:03 +01:00
Cameron Sparr
78ced6bc30
Use a bufio.Scanner in http listener
...
this will prevent potential very large allocations due to a very large
chunk size send from a client.
fixes #1823
2016-09-29 16:07:51 +01:00
Cameron Sparr
ca8e512e5b
Update changelog
2016-09-28 16:12:32 +01:00
Cameron Sparr
e19845c202
Load config directory using filepath.Walk
...
closes #1137
2016-09-28 16:01:52 +01:00
Cameron Sparr
52134555d6
globpath: only walk tree if ** is defined
...
closes #1517
2016-09-28 15:44:29 +01:00
Cameron Sparr
e7e39df6a0
Default SNMP parameter changes
...
max-repetitions = 10 is the default of net-snmp utils according to
http://net-snmp.sourceforge.net/docs/man/snmpbulkwalk.html
retries = 3 is the default of gosnmp:
https://godoc.org/github.com/soniah/gosnmp#pkg-variables
Could deal with some parts of the performance issues reported
by #1665
2016-09-28 14:34:20 +01:00
Cameron Sparr
c043461f6c
Fix varnish plugin to use default values
...
closes #1752
2016-09-23 16:06:33 +01:00
Cameron Sparr
ddc07f9ef8
Fix powerdns integer parse error handling
...
closes #1751
2016-09-23 16:05:15 +01:00
Cameron Sparr
17e6496830
update changelog
2016-09-23 11:38:52 +01:00
Cameron Sparr
f12368698b
Update etc/telegraf.conf
...
closes #1789
2016-09-21 11:53:06 +01:00
Cameron Sparr
6648c101dd
Add configurable timeout to influxdb input
...
closes #1773
2016-09-16 16:50:39 +01:00
Cameron Sparr
8d3285522c
Prometheus output: do not remake metrics map each write
...
closes #1775
2016-09-16 16:50:39 +01:00
Cameron Sparr
9b2e2cc41f
kafka panic: Check that error is non-nil before
...
fixes #1764
2016-09-14 08:54:22 +01:00
Cameron Sparr
bc22309459
Add commit & branch to Makefile
2016-09-13 09:31:30 +01:00
Cameron Sparr
c3aa43a6bd
Fix prometheus output panic on reload
...
closes #1530
2016-09-12 10:46:37 +01:00
Cameron Sparr
811567a2f4
Update go version to 1.7, fix vet errors
...
closes #1728
2016-09-09 16:11:17 +01:00
Cameron Sparr
ca8fb440cc
Fix statsd scientific notation parsing
...
closes #1733
2016-09-09 15:13:11 +01:00
Cameron Sparr
ac58a6bb3c
Fix unmarshal of influxdb metrics will null tags
...
closes #1738
2016-09-09 14:49:21 +01:00
Cameron Sparr
5a9e7d77b8
Update readme & chglog for 1.0
2016-09-08 15:26:10 +01:00
Cameron Sparr
e963b7f01b
alphabetize service inputs, add logparser
2016-09-07 15:55:21 +01:00
Cameron Sparr
301c79e57c
Add a 404 and high-traffic test to http listener
...
also remove locking around adding metrics. Instead, keep a waitgroup on
the ServeHTTP function and wait for that to finish before returning from
the Stop() function
closes #1407
2016-09-06 17:21:01 +01:00
Cameron Sparr
8dd2a8527a
Refactor NATS ssl config
2016-09-06 13:52:29 +01:00
Cameron Sparr
2fe427b3b3
mongodb input: fix version 2.2 panic
...
closes #1628
2016-09-06 11:58:06 +01:00
Cameron Sparr
1271f9d71a
jolokia input: add note about POST permissions
...
closes #1628
2016-09-06 11:11:27 +01:00
Cameron Sparr
50ef3282b6
Refactor and code cleanup of filtering
...
started working on this with the idea of fixing #1623 , although I
realized that this was actually just a documentation issue around
a toml eccentricity.
closes #1623
2016-09-05 16:30:18 +01:00
Cameron Sparr
54c9ba7639
Update documentation for Gauge & Counters
2016-09-05 12:58:07 +01:00
Cameron Sparr
b18d375d6c
Implement AddGauge & AddCounter functions
...
and utilize them in the in the 'system' input plugins.
2016-09-02 16:51:26 +01:00
Cameron Sparr
6dbbe65897
Remove Add() function from accumulator
2016-09-02 16:35:27 +01:00
Cameron Sparr
03d8abccdd
Implement telegraf metric types
...
And use them in the prometheus output plugin.
Still need to test the prometheus output plugin.
Also need to actually create typed metrics in the system plugins.
closes #1683
2016-09-02 16:35:27 +01:00
Cameron Sparr
792682590c
Remove snmp_legacy unit tests and docker image
2016-08-31 12:17:06 +01:00
Cameron Sparr
cc2b53abf4
Fix changelog for #1650
2016-08-30 16:24:07 +01:00
Cameron Sparr
5c5984bfe1
Changelog update
2016-08-30 15:26:27 +01:00
Cameron Sparr
602a36e241
fix changelog #1607
2016-08-30 07:04:10 +01:00
Cameron Sparr
969f388ef2
Make elasticsearch timeout configurable
...
closes #1674
2016-08-29 11:06:30 +01:00
Cameron Sparr
e9d33726a9
start aerospike container 1st for unit tests
...
because it requires some time to initialize before it can respond to
metric requests.
2016-08-24 09:16:55 +01:00
Cameron Sparr
dbf6380e4b
update PR template with changelog note
2016-08-17 18:24:06 +01:00
Cameron Sparr
a0e42f8a61
Sanitize graphite characters in field names
...
also sanitize the names at a higher scope for better clarity
closes #1637
2016-08-17 16:56:31 +01:00
Cameron Sparr
94e673fe85
Revert "add pgbouncer plugin"
...
This reverts commit fec9760f72 .
2016-08-17 16:50:11 +01:00
Cameron Sparr
7600757f16
ntpq: don't index ntp fields that dont exist
...
closes #1634
2016-08-16 15:16:42 +01:00
Cameron Sparr
4ce8dd5f9a
Rename snmp plugin to snmp_legacy
2016-08-11 16:11:35 +01:00
Cameron Sparr
c0e895c3a7
etc/telegraf.conf update
2016-08-10 15:16:01 +01:00
Cameron Sparr
abcd19493e
If win stat buffer is empty, do not try to index
...
closes #1425
2016-08-09 08:29:37 +01:00
Cameron Sparr
c99c22534b
influxdb output: config doc update
2016-08-09 07:50:35 +01:00
Cameron Sparr
8e22526756
Adding c:\program files\telegraf\telegraf.conf
...
this will now be the default config file location on windows, basically
it is the windows equivalent of /etc/telegraf/telegraf.conf
also updating the changelog
closes #1543
2016-08-08 23:17:27 +01:00
Cameron Sparr
d3bb1e7010
Rename internal_models package to models
2016-08-08 14:41:40 +01:00
Cameron Sparr
49988b15a3
Default config typo fix
2016-08-06 07:40:28 +01:00
Cameron Sparr
f0357b7a12
CHANGELOG formatting update
...
put all 1.0 beta releases into a single 1.0 release manifest
also add #1586 change
2016-08-05 14:51:19 +01:00
Cameron Sparr
9d3ad6309e
Remove IF NOT EXISTS from influxdb output
2016-08-05 13:55:02 +01:00
Cameron Sparr
b55e9e78e3
gopsutil, fix /proc/pid/io naming issue
...
closes #1584
2016-08-05 09:53:14 +01:00
Cameron Sparr
4bc6fdb09e
Removing INFLUXDB_HTTP_LOG from logparser usage/docs
...
this log format is likely soon going to be removed from a future
influxdb release, so we should not be recommending that users base any
of their log parsing infra on this.
2016-08-04 16:42:59 +01:00
Cameron Sparr
2b43b385de
Begin implementing generic timestamp logparser capability
2016-08-04 16:08:55 +01:00
Cameron Sparr
13865f9e04
Disable darwin builds ( #1571 )
...
telegraf can't be cross-compiled for darwin, it has C dependencies and
thus many of the system plugins won't work.
2016-08-04 14:27:33 +01:00
Cameron Sparr
2d86dfba8b
Removing deprecated flags
...
they are:
-configdirectory
-outputfilter
-filter
2016-08-03 13:08:06 +01:00
Cameron Sparr
30dbfd9af8
Fix racy tail from beginning test
2016-07-28 14:08:12 +01:00
Cameron Sparr
c991b579d2
tcp/udp listeners, remove locks & improve test coverage
2016-07-28 13:42:34 +01:00
Cameron Sparr
8acda0da8f
Update etc/telegraf.conf
2016-07-21 17:53:41 +01:00
Cameron Sparr
1c24665b29
Prometheus client & win_perf_counters char changes
...
1. in prometheus client, do not check for invalid characters anymore,
because we are already replacing all invalid characters with regex
anyways.
2. in win_perf_counters, sanitize field name _and_ measurement name.
Also add '%' to the list of sanitized characters, because this character
is invalid for most output plugins, and can also easily cause string
formatting issues throughout the stack.
3. All '%' will now be translated to 'Percent'
closes #1430
2016-07-21 16:24:19 +01:00
Cameron Sparr
191608041f
Strip container_version from container_image tag
...
closes #1413
2016-07-19 17:57:40 +01:00
Cameron Sparr
d54b169d67
nstat: fix nstat setting path for snmp6
...
closes #1477
2016-07-19 14:51:36 +01:00
Cameron Sparr
82166a36d0
Fix err race condition and partial failure issues
...
closes #1439
closes #1440
closes #1441
closes #1442
closes #1443
closes #1444
closes #1445
2016-07-19 14:45:55 +01:00
Cameron Sparr
5f14ad9fa1
clean up and finish aerospike refactor & readme
2016-07-19 11:36:41 +01:00
Cameron Sparr
03d02fa67a
Telegraf v1.0 beta 3
2016-07-18 18:20:41 +01:00
Cameron Sparr
b58cd78c79
Use errchan in redis input plugin
...
this may address, or at least log issue #1462
2016-07-18 17:26:44 +01:00
Cameron Sparr
dabb6f5466
Internally name all patterns for log parsing flexibility
...
closes #1436
This also fixes the bad behavior of waiting until runtime to return log
parsing pattern compile errors when a pattern was simply unfound.
closes #1418
Also protect against user error when the telegraf user does not have
permission to open the provided file. We will now error and exit in this
case, rather than silently waiting to get permission to open it.
2016-07-18 15:44:58 +01:00
Cameron Sparr
281a4d5500
Change resp_code from field to tag in logparser
...
closes #1479
2016-07-18 13:33:11 +01:00
Cameron Sparr
5dc4cce157
Fixup adding 'measurement' to logparser grok
...
closes #1434
2016-07-18 12:28:55 +01:00
Cameron Sparr
b4a6d9c647
Change prometheus replacer to reverse regex replacer
...
closes #1474
2016-07-18 11:50:22 +01:00
Cameron Sparr
704d9ad76c
Refactor aerospike plugin to use client lib
2016-07-16 22:15:37 +01:00
Cameron Sparr
d5e7439343
procstat plugin: store PID as a field
...
closes #1460
2016-07-14 15:52:02 -06:00
Cameron Sparr
bfdd665435
Copy metrics for each configured output
...
This is for better thread-safety when running with multiple outputs,
which can cause very odd panics at very high loads
primarily this is to address #1432
closes #1432
2016-07-14 09:16:29 -06:00
Cameron Sparr
821d3fafa6
Refactor SerializeBucketName to be read-only for struct fields
2016-07-14 09:16:29 -06:00
Cameron Sparr
7c9b312cee
Make race detector build in CI
2016-07-14 09:16:29 -06:00
Cameron Sparr
69ab8a645c
graphite output: set write deadline on TCP connection
2016-07-14 09:16:29 -06:00
Cameron Sparr
bb4f18ca88
temp ci fix, aerospike changed their metrics
...
see http://www.aerospike.com/docs/operations/upgrade/stats_to_3_9
TODO change aerospike input plugin to use official go client library.
2016-07-14 08:52:37 -06:00
Cameron Sparr
6efe91ea9c
prometheus_client, implement Collector interface
...
closes #1334
2016-07-13 06:52:18 -06:00
Cameron Sparr
e1c3800cd9
Prometheus parser fix, parse headers properly
...
closes #1458
2016-07-09 22:34:59 +02:00
Cameron Sparr
2d4864e126
nil metric list panic fix
2016-06-29 12:08:36 +02:00
Cameron Sparr
755b2ec953
fixup: BOM Trim -> TrimPrefix
2016-06-24 08:47:31 +01:00
Cameron Sparr
f62c493c77
Recover from prometheus multiple handler panic
...
closes #1339
2016-06-23 14:29:35 +01:00
Cameron Sparr
f7e057ec55
refactor cgroup build so non-linux systems see plugin
...
also updated the README for the fields->files change.
2016-06-23 11:47:25 +01:00
Cameron Sparr
30cc00d11b
Update changelog, etc/telegraf.conf
2016-06-23 10:28:38 +01:00
Cameron Sparr
d641c42029
cgroup: change fields -> files
...
closes #1103
closes #1350
2016-06-23 10:23:59 +01:00
Cameron Sparr
5ddd61d2e2
Trim BOM from config file for windows support
...
closes #1378
2016-06-23 09:00:51 +01:00
Cameron Sparr
7825df4771
Fix darwin ping tests
2016-06-22 18:21:07 +01:00
Cameron Sparr
d6951dacdc
Remove docker-machine/boot2docker dependencies & references
2016-06-22 17:25:01 +01:00
Cameron Sparr
2beef21231
Beta 2 Release 1.0
2016-06-21 14:35:26 +01:00
Cameron Sparr
cb3c54a1ae
logparser input plugin
...
closes #102
closes #328
2016-06-21 14:23:01 +01:00
Cameron Sparr
1f10639222
Fix Graphite output mangling '%' character.
...
closes #1377
2016-06-21 11:52:49 +01:00
Cameron Sparr
af0979cce5
change "default" retention policy to ""
...
closes #1374
2016-06-16 12:22:27 +01:00
Cameron Sparr
5b43901bd8
update issue_template.md
2016-06-14 18:17:11 +01:00
Cameron Sparr
d7efb7a71d
Add precision rounding to accumulator
...
Adding precision rounding to the accumulator. This means that now every
input metric will get rounded at collection, rather than at write (and
only for the influxdb output).
This feature is disabled for service inputs, because service inputs
should be in control of their own timestamps & precisions.
2016-06-14 00:36:39 +01:00