Jari Sukanen
6381efa7ce
exec plugin: allow using glob pattern in command list
...
Allow using glob pattern in the command list in configuration. This enables for
example placing all commands in a single directory and using /path/to/dir/*.sh
as one of the commands to run all shell scripts in that directory.
Glob patterns are applied on every run of the commands, so matching commands can
be added without restarting telegraf.
closes #1127
2016-05-02 11:36:15 -06:00
Pierre Fersing
85ee66efb9
"DELAYED" Inserts were deprecated in MySQL 5.6.6
...
closes #1136
2016-05-02 11:23:28 -06:00
Victor Garcia
40dccf5b29
Metric for MongoDB jumbo chunks
...
closes #1128
2016-05-01 14:27:27 -06:00
Cameron Sparr
c114849a31
Use a timeout for docker list & stat cmds
...
closes #1133
2016-05-01 10:26:46 -06:00
Cameron Sparr
3f807a9432
Implement timeouts for all exec command runners
...
First is to write an internal CombinedOutput and Run function with a
timeout.
Second, the following instances of command runners need to have timeouts:
plugins/inputs/ping/ping.go
125: out, err := c.CombinedOutput()
plugins/inputs/exec/exec.go
91: if err := cmd.Run(); err != nil {
plugins/inputs/ipmi_sensor/command.go
31: err := cmd.Run()
plugins/inputs/sysstat/sysstat.go
194: out, err := cmd.CombinedOutput()
plugins/inputs/leofs/leofs.go
185: defer cmd.Wait()
plugins/inputs/sysstat/sysstat.go
282: if err := cmd.Wait(); err != nil {
closes #1067
2016-04-29 12:06:22 -06:00
Cameron Sparr
3e1026286b
skip network-dependent unit tests in short mode
2016-04-28 14:44:08 -06:00
Cameron Sparr
b59266249d
README fixups for udp_listener, statsd inputs
...
closes #1119
2016-04-28 13:11:41 -06:00
G-regL
015261a524
Sanitize Field name
...
Replace '/[sS]ec' for '_persec' and spaces with underscores.
closes #1118
2016-04-28 12:21:28 -06:00
Cameron Sparr
8742ead585
Change server_ -> jolokia_ in tags and other formatting
2016-04-27 16:00:58 -06:00
Simone Aiello
18636ea628
jolokia: use always POST
...
code refactor to use same prepareRequest method
for both 'agent' and 'proxy' mode
closes #1031
closes #1050
closes #473
2016-04-27 15:45:37 -06:00
Simone Aiello
cf5980ace2
jolokia: add proxy mode
2016-04-27 15:39:55 -06:00
Jesse Hanley
a7b0861436
Adding Jobstats support to Lustre2 input plugin
...
Lustre Jobstats allows for RPCs to be tagged with a value, such
as a job's ID. This allows for per job statistics. This plugin
collects statistics and tags the data with the jobid.
closes #1107
2016-04-27 15:35:24 -06:00
Cameron Sparr
89f2c0b0a4
Cassandra: update plugin supported prefix & fix panic
...
fixes #1102
2016-04-27 15:23:05 -06:00
Cameron Sparr
ee4f4d7800
ping plugin: Set default timeout
2016-04-27 15:08:38 -06:00
John Engelman
1c4043ab39
Closes #1085 - allow for specifying AWS credentials in config.
...
closes #1085
closes #1086
2016-04-26 17:24:05 -06:00
Cameron Sparr
44c945b9f5
Tail unit tests and README tweaks
2016-04-26 10:43:41 -06:00
Cameron Sparr
b9c24189e4
Tail input plugin
2016-04-26 09:42:06 -06:00
Cameron Sparr
411d8d7439
Fix leaky tcp connections in phpfpm plugin
...
closes #1089
2016-04-26 09:24:32 -06:00
Cameron Sparr
671b40df2a
procstat: field prefix fixup
2016-04-25 20:10:34 -06:00
Cameron Sparr
249a860c6f
procstat: fix newlines in tags
2016-04-25 19:57:38 -06:00
Mika Eloranta
0367a39e1f
postgresql_extensible: custom address in metrics output
...
Allow overriding the the metrics "server" tag with the specified
value. Can be used to give a more user-friendly value for the server
name.
closes #1093
2016-04-25 16:33:35 -06:00
Mika Eloranta
1a7340bb02
postgresql_extensible: fix nil field values
...
nil field values would break the output influxdb line procotol.
Skip them from the output.
2016-04-25 16:33:33 -06:00
Mika Eloranta
ce7d852d22
postgresql_extensible: configurable measurement name
...
The output measurement name can be configured per query.
2016-04-25 16:33:33 -06:00
Hannu Valtonen
01b01c5969
postgresql_extensible: Censor also other security related conn params
...
While these aren't quite as sensitive as passwords, they do tend to be
long filesystem paths that shouldn't be reported along with
every measurement.
2016-04-25 16:33:33 -06:00
Cameron Sparr
07728d7425
Refactor globpath pkg to return a map
...
this is so that we don't call os.Stat twice for every file matched
by Match(). Also changing the behavior to _not_ return the name of a
file that doesn't exist if it's not a glob.
2016-04-24 14:37:44 -06:00
Cameron Sparr
d3a25e4dc1
globpath refactor into pkg separate from filestat
2016-04-23 11:56:33 -06:00
zensqlmonitor
93f5b8cc4a
Fix datatype conversion
2016-04-23 09:14:04 +02:00
Cameron Sparr
5b1e59a48c
filestat plugin config fixup
2016-04-22 19:15:07 -06:00
Cameron Sparr
7b27cad1ba
Dont specify AWS credential chain, use default
...
closes #1078
2016-04-22 11:43:20 -06:00
Victor Garcia
194288c00e
Adding replication lag metric
...
closes #1066
2016-04-22 11:07:32 -06:00
Cameron Sparr
88def9b71b
filestat input plugin
...
closes #929
2016-04-21 16:53:02 -06:00
Martin Gehrke
f818f44693
Added Network Interface Object block to Generic Queries examples in win_perf_counters/README.md
...
Network metrics are pretty important and the block adds a couple with a link to the names for more. This adds a block with a few counters to the Generic Queries examples in plugins/inputs/win_perf_counters/README.md
2016-04-21 09:26:46 -04:00
Cameron Sparr
c0588926b8
Add n_cpu field to system plugin
...
closes #1041
2016-04-20 18:22:04 -06:00
Cameron Sparr
f1b7ecb2a2
procstat: Add user, pidfile, pattern & exe tags
...
closes #1035
2016-04-20 13:18:07 -06:00
Cameron Sparr
2f7da03cce
Do not log every tcp connect/disconnect
...
leaving as comments for whenever I rig up global debug logging.
closes #1062
2016-04-19 22:58:24 -06:00
Cameron Sparr
9aec58c6b8
Don't allow inputs to overwrite host tag
...
closes #1054
This affects tags in the following plugins:
- cassandra
- disque
- rethinkdb
2016-04-19 17:44:33 -06:00
Victor Garcia
46aaaa9b70
Adding TTL metrics data
...
closes #1060
2016-04-19 17:02:25 -06:00
Larry Kim
46543d6323
Possible bug fix for oid_key collision
...
closes #1044
2016-04-19 17:00:04 -06:00
Cameron Sparr
a585119a67
Change prometheus doc to glob match
2016-04-19 14:46:37 -06:00
Maksadbek
b95a90dbd6
updated README for mysql input plugin
...
closes #889
closes #403
2016-04-18 17:21:25 -06:00
Maksadbek
a2d1ee08d4
transposed the matrix of tags/fields for Lock Waits stats gathering
2016-04-18 17:11:26 -06:00
Maksadbek
7e64dc380f
preventing tags from mutation by creating new tag for each metric
2016-04-18 17:11:26 -06:00
Maksadbek
046cb6a564
changed types to decrease needless uint64 to float64 casts
2016-04-18 17:11:26 -06:00
Maksadbek
644ce9edab
fixed code regarding needless type casting; single creation of map
2016-04-18 17:11:26 -06:00
Maksadbek
059b601b13
mysql plugin conf field names are lowercase-underscored
2016-04-18 17:11:26 -06:00
Maksadbek
d59999f510
improvements on queries and additional comments
2016-04-18 17:11:26 -06:00
Maksadbek
c5d31e7527
statics that lack on MySQL 5.5 is turned off by default
2016-04-18 17:11:26 -06:00
Maksadbek
c121e38da6
mysql plugin, check for existence of table before scanning
2016-04-18 17:11:26 -06:00
Maksadbek
b16bc3d2e3
remove duplicate function; Mysql plugin GatherTableSchema is configurable
2016-04-18 17:11:26 -06:00
maksadbek
c732abbda2
Improved mysql plugin
...
shows global variables
shows slave statuses
shows size and count of binary log files
shows information_schema.processlist stats
shows perf table stats
shows auto increments stats from information schema
shows perf index stats
shows table lock waits summary by table
shows time and operations of event waits
shows file event statuses
shows events statements stats from perf_schema
shows schema statistics
refactored plugin, provided multiple fields per insert
2016-04-18 17:11:26 -06:00