Cameron Sparr
4d0dc8b7c8
Refactor the docker plugin, use go-dockerclient throughout
...
fixes #503
fixes #463
2016-01-21 16:07:03 -07:00
Stephen Kwong
e0dc1ef5bd
Add Cloudwatch output
...
closes #553
2016-01-21 09:11:52 -07:00
Cameron Sparr
6647cfc228
statsd: If parsing a value to int fails, try to float and cast to int
...
fixes #556
2016-01-20 14:30:57 -07:00
Jack Zampolin
ddcd99a1ce
Push ghwebhooks branch
2016-01-20 12:19:03 -08:00
Jack Zampolin
0cdf1b07e9
Fix issue 524
2016-01-20 10:57:35 -08:00
Jack Zampolin
8653bae6ac
Change start implementation
2016-01-20 10:49:42 -08:00
Cameron Sparr
fc1aa7d3b4
Filter mount points before stats are collected
...
fixes #440
2016-01-20 11:46:59 -07:00
Jack Zampolin
8bdcd6d576
First commit for ghwebhooks service plugin
2016-01-19 23:14:11 -08:00
Cameron Sparr
d3925fe578
Include CPU usage percent with procstat data
...
closes #484
2016-01-19 22:52:55 -07:00
Cameron Sparr
839651fadb
Change default statsd packet size to 1500, make configurable
...
Also modifying the internal UDP listener/parser code to make it able to
handle higher load. The udp listener will no longer do any parsing or
string conversion. It will simply read UDP packets as bytes and put them
into a channel. The parser thread will now deal with splitting the UDP
metrics into separated strings.
This could probably be made even better by leaving everything as byte
arrays.
fixes #543
2016-01-19 11:08:16 -07:00
Hannu Valtonen
c313af1b24
kafka: Add support for using TLS authentication for the kafka output
...
With the advent of Kafka 0.9.0+ it is possible to set up TLS client
certificate based authentication to limit access to Kafka.
Four new configuration variables are specified for setting up the
authentication. If they're not set the behavior stays the same as
before the change.
closes #541
2016-01-18 11:17:01 -07:00
Vinh
1388b1b58b
Add phusion Passenger plugin
...
Gather metric by parsing XMLoutput of `passenger-status` utility.
More information of this utility:
https://www.phusionpassenger.com/library/admin/apache/overall_status_report.html
closes #522
2016-01-18 11:14:04 -07:00
Vinh
5af6974796
phpfpm plugin: enhance socket gathering and config
...
- If we detect errors when gathering stat via socket, return those error
so it canbe appear in Telegraf log
- Improve fcgi client, also upgrade it to current version of Go at
https://golang.org/src/net/http/fcgi/fcgi.go
- Add test for unix socket and fcgi
to remotely connect but only as an extra url field.
- Allow customization of fpm status path
- Document about using of `host` in case `unixsocket` that it isn't used
- Documet upgrade for new data layout
closes #499
closes #502
closes #538
2016-01-18 10:56:45 -07:00
Eugene Dementiev
37b96c192b
output amqp: Add ssl support
...
closes #536
2016-01-16 17:31:05 -07:00
Cameron Sparr
8cbdf0f907
Tweak config messages for graphite. Update changelog and readme
...
closes #494
2016-01-16 17:29:02 -07:00
Thibault Cohen
ef5c630d3a
Add Graphite output
2016-01-16 17:19:27 -07:00
Cameron Sparr
6eea89f4c0
Make NSQ plugin compatible with version 0.10.0
2016-01-15 17:04:23 -07:00
Jeff Nickoloff
dbbb2d9877
NSQ Plugin
...
- Polls a set of NSQD REST endpoints and collects counters for all topics, channels, and clients
Signed-off-by: Jeff Nickoloff <jeff@allingeek.com>
closes #492
2016-01-15 16:09:31 -07:00
Cameron Sparr
c483e16d72
Add option to disable statsd name conversion
...
closes #467
closes #532
2016-01-15 15:58:09 -07:00
Cameron Sparr
40a5bad968
Update procstat doc
2016-01-15 15:55:52 -07:00
Kostas Botsas
1421bce371
Update README.md
2016-01-15 14:49:53 -08:00
Kostas Botsas
71f4e72b22
interval options should have string value
...
also mentioned name_override and name_prefix on top of name_suffix
2016-01-15 14:48:45 -08:00
Cameron Sparr
50334e6bac
Only compile the sensors plugin if the 'sensors' tag is set
2016-01-15 13:15:33 -07:00
Cameron Sparr
963a9429dd
Tweak changelog for sensors plugin, and add a non-linux build file
...
closes #519
closes #168
2016-01-15 11:22:33 -07:00
Matt Davis
9b96c62e46
Change build configuration to linux only
2016-01-15 11:17:46 -07:00
Matt Davis
378b7467a4
Fixed an unused variable
2016-01-15 11:17:46 -07:00
Matt Davis
c0d98ecd4b
Added initial support for gosensors module
2016-01-15 11:17:46 -07:00
Thibault Cohen
b44644b6bf
Add response time to httpjson plugin
...
closes #475
2016-01-15 11:13:12 -07:00
Cameron Sparr
a39a7a7a03
Add an interface:"all" tag to the net protocol counters
...
fixes #508
2016-01-14 19:55:19 -07:00
Kostas Botsas
923be102b3
Align exec documentation with v0.10 updates
2016-01-14 15:55:53 -08:00
Thibault Cohen
3cc1fecb53
Ping input doesn't return response time metric when timeout
...
closes #506
2016-01-14 10:12:10 -08:00
Philip Silva
3c89847489
internal: FlattenJSON, flatten arrays as well
...
With HTTP JSON or Elasticsearch, one can also process values nested in arrays.
2016-01-14 09:52:58 -08:00
Cameron Sparr
9c5db1057d
renaming plugins -> inputs
2016-01-07 15:04:30 -07:00
Cameron Sparr
ad4af06802
Update Makefile and Godeps and various fixups
2016-01-07 12:33:26 -07:00
Cameron Sparr
b9869eadc3
0.3.0 unit tests: influxdb
2016-01-07 01:11:52 -07:00
Cameron Sparr
936c5a8a7a
0.3.0 unit tests: rethinkdb, twemproxy, zfs
2016-01-06 22:16:04 -07:00
Cameron Sparr
10f19fade1
0.3.0 unit tests: statsd, trig, zookeeper
2016-01-06 18:19:18 -07:00
Cameron Sparr
c01594c2a4
0.3.0 unit tests: rabbitmq, redis
2016-01-06 18:13:00 -07:00
Cameron Sparr
ccbd7bb785
0.3.0 unit tests: procstat, prometheus, puppetagent
2016-01-06 17:56:30 -07:00
Cameron Sparr
6eb49dee5d
0.3.0 unit tests: mysql, nginx, phpfpm, ping, postgres
2016-01-06 17:37:56 -07:00
Cameron Sparr
6a4bf9fcff
0.3.0 unit tests: mailchimp, memcached, mongodb
2016-01-06 17:19:39 -07:00
Cameron Sparr
9ada89d51a
0.3.0 unit tests: jolokia, kafka_consumer, leofs, lustre2
2016-01-06 16:55:28 -07:00
Cameron Sparr
524fddedb4
0.3.0 unit tests: exec, httpjson, and haproxy
2016-01-06 16:11:16 -07:00
Cameron Sparr
c4a7711e02
0.3.0 unit tests: disque and elasticsearch
2016-01-05 23:48:59 -07:00
Cameron Sparr
2e20fc413c
0.3.0 unit tests: aerospike, apache, bcache
2016-01-05 23:48:59 -07:00
Cameron Sparr
498482d0f6
0.3.0 unit tests: system plugins
2016-01-05 23:48:59 -07:00
Cameron Sparr
4bd5b6a4d6
Fix httpjson panic for nil request body
2016-01-05 23:48:59 -07:00
Cameron Sparr
2e764cb22d
0.3.0 Removing internal parallelism: twemproxy and rabbitmq
2016-01-05 23:48:59 -07:00
Cameron Sparr
c8914679b7
0.3.0 Removing internal parallelism: procstat
2016-01-05 23:48:59 -07:00
Cameron Sparr
e25ac0d587
0.3.0 Removing internal parallelism: postgresql
2016-01-05 23:48:59 -07:00
Cameron Sparr
41374aabcb
0.3.0 Removing internal parallelism: httpjson and exec
2016-01-05 23:48:59 -07:00
Cameron Sparr
30d8ed411a
0.3.0: mongodb and jolokia
2016-01-05 23:48:59 -07:00
Cameron Sparr
64a832467e
0.3.0: postgresql and phpfpm
2016-01-05 23:48:59 -07:00
Cameron Sparr
9c5321c538
0.3.0 HAProxy rebase
2016-01-05 23:48:59 -07:00
Cameron Sparr
aba123dae0
0.3.0: rethinkdb
2016-01-05 23:48:59 -07:00
Cameron Sparr
5aca58ad2a
0.3.0: zookeeper and zfs
2016-01-05 23:48:59 -07:00
Cameron Sparr
5f4262921a
0.3.0: trig and twemproxy
2016-01-05 23:48:59 -07:00
Cameron Sparr
6fcd05b855
0.3.0 redis & rabbitmq
2016-01-05 23:48:59 -07:00
Cameron Sparr
7746a2b3cd
0.3.0: prometheus & puppetagent
2016-01-05 23:48:59 -07:00
Cameron Sparr
2749dcd128
0.3.0: procstat
2016-01-05 23:48:59 -07:00
Cameron Sparr
92343d91d6
0.3.0: ping, mysql, nginx
2016-01-05 23:48:59 -07:00
Cameron Sparr
ce7b48143a
0.3.0: mailchimp & memcached
2016-01-05 23:48:59 -07:00
Cameron Sparr
e30e98a496
0.3.0: leofs & lustre2
2016-01-05 23:48:59 -07:00
Cameron Sparr
4798bd9d33
0.3.0 httpjson
2016-01-05 23:48:59 -07:00
Cameron Sparr
38d6cb97ad
0.3.0: HAProxy
2016-01-05 23:48:59 -07:00
Cameron Sparr
3be111a160
Breakout JSON flattening into internal package, exec & elasticsearch aggregation
2016-01-05 23:48:59 -07:00
Cameron Sparr
97a66b73cf
Updating aerospike & apache plugins for 0.3.0
2016-01-05 23:48:59 -07:00
Cameron Sparr
50fc3ec974
Updating system plugins for 0.3.0
2016-01-05 23:48:59 -07:00
Cameron Sparr
f607074899
remove Name from influxdb unit test
2015-12-18 16:39:23 -07:00
Cameron Sparr
0571eecb0c
Remove 'Name' argument from influxdb plugin for 0.3.0 compatability
...
closes #449
2015-12-18 16:26:15 -07:00
Mark Rushakoff
4f3d6ddf17
Add influxdb plugin
...
This was primarily intended to consume InfluxDB-style expvars,
particularly InfluxDB's `/debug/vars` endpoint.
That endpoint follows a structure like
```json
{
"httpd::8086": {
"name": "httpd",
"tags": {
"bind": ":8086"
},
"values": {
"pointsWrittenOK": 33756,
"queryReq": 19,
"queryRespBytes": 26973,
"req": 428,
"writeReq": 205,
"writeReqBytes": 3939161
}
}
}
```
There are an arbitrary number of top-level keys in the JSON response at
the configured URLs, and this plugin will iterate through all of their
values looking for objects with keys "name", "tags", and "values"
indicating a metric to be consumed by telegraf.
Running this on current master of InfluxDB, I am able to record nearly
the same information that is normally stored in the `_internal`
database; the only measurement missing from `_internal` is `runtime`,
which is present under the "memstats" key but does not follow the format
and so is not consumed in this plugin.
```
$ influx -database=telegraf -execute 'SHOW FIELD KEYS FROM /influxdb/'
name: influxdb_influxdb_engine
----------------------------
fieldKey
blksWrite
blksWriteBytes
blksWriteBytesC
pointsWrite
pointsWriteDedupe
name: influxdb_influxdb_httpd
---------------------------
fieldKey
pingReq
pointsWrittenOK
queryReq
queryRespBytes
req
writeReq
writeReqBytes
name: influxdb_influxdb_shard
---------------------------
fieldKey
fieldsCreate
seriesCreate
writePointsOk
writeReq
name: influxdb_influxdb_subscriber
--------------------------------
fieldKey
pointsWritten
name: influxdb_influxdb_wal
-------------------------
fieldKey
autoFlush
flushDuration
idleFlush
memSize
metaFlush
pointsFlush
pointsWrite
pointsWriteReq
seriesFlush
name: influxdb_influxdb_write
---------------------------
fieldKey
pointReq
pointReqLocal
req
subWriteOk
writeOk
```
2015-12-18 15:41:16 -07:00
chrispeterson
34f0c593ad
add additional stats that were already being collected
...
and rearrange the order to match the index order from the CSV endpoint
add test coverage. add back wretr. remove check_status from recently added column
closes #445
2015-12-17 15:00:17 -07:00
jipperinbham
97ebcc2af1
close r.Body, remove network metrics, updated other sections as needed
...
closes #430
closes #452
2015-12-17 14:43:14 -07:00
Allen Petersen
c89ef84df7
Separate pool tag and stat collection.
...
closes #427
2015-12-11 10:59:11 -07:00
Allen Petersen
e3c8a1131a
Fix single dataset test.
...
The "two pool, one metic" test was only passing because of previous calls to Gather() had already populated the values.
2015-12-08 05:53:11 -08:00
Allen Petersen
eb78b9268f
Add zfs pool stats collection.
2015-12-08 05:11:41 -08:00
Cameron Sparr
03e66d5b87
Implement Glob matching for pass/drop filters
2015-12-07 16:58:31 -07:00
Cameron Sparr
c83f220fc4
Resolve gopsutil & unit test issues with net proto stats
2015-12-04 15:12:18 -07:00
Nathaniel Cook
0d0a8e9b68
Add network protocol stats to the network plugin
2015-12-04 14:06:18 -07:00
Cameron Sparr
bcafadb68a
Convert uptime to float64 for backwards compatability.
...
Fixes #390
2015-12-04 13:47:24 -07:00
Cameron Sparr
6c23fb3173
Mailchimp report plugin
2015-12-04 12:25:16 -07:00
Cameron Sparr
00a6dbbe97
cpu plugin: update LastStats before returning
...
fixes #388
2015-12-03 16:23:49 -07:00
Cameron Sparr
4cf47dcd0f
memcached plugin. Break out metric parsing into it's own func
...
And unit test it using a sample response string. This will make it
easier to see what other metrics are available to the plugin for adding
future metrics.
2015-12-03 13:53:37 -07:00
Cameron Sparr
03863bd84d
memcached plugin: support unix sockets
...
closes #415
2015-12-03 13:25:43 -07:00
Cameron Sparr
7a2eeb7439
Add optional auth credentials to Jolokia plugin
...
closes #414
2015-12-03 11:48:20 -07:00
Cameron Sparr
6fb7d2883d
io plugin, add an 'unknown' tag when the serial number can't be found
...
closes #405
2015-12-02 13:20:59 -07:00
Carlos J. Torres
a844c1ac74
redis_test.go with instantaneous input/output
2015-12-02 13:17:49 -07:00
Carlos J. Torres
a7b77d9658
add instantaneous input/output to redis plugin.
2015-12-02 13:17:49 -07:00
Mischa Gresser
3509713a23
Adding all memcached stats that return a single value
...
as described at
https://docs.oracle.com/cd/E17952_01/refman-5.0-en/ha-memcached-stats-general.html
closes #412
2015-12-02 13:14:12 -07:00
Regan Kuchan
4b3b41fea5
Create trig plugin
...
closes #404
2015-12-01 18:11:03 -07:00
Daniel Malon
5c051eb801
Parse statsd lines with multiple metric bits
...
closes #354
2015-11-30 15:25:35 -07:00
Tait Clarridge
b705608b04
Change aerospike plugin server tag to aerospike_host
...
This is to avoid a conflict with the standard "host" tag that is
used everywhere.
closes #399
2015-11-30 10:43:28 -07:00
Cameron Sparr
979e5f193a
Overhaul config <-> agent coupling. Put config in it's own package.
2015-11-25 19:07:04 -07:00
Tero Marttila
13ccf420d7
cmd/telegraf: -configdirectory only includes files ending in .conf
...
Closes #392
2015-11-25 19:05:51 -07:00
Eduard Carreras
d47740bd8d
Add a comment indicating pattern uses pgrep -f
2015-11-25 19:05:22 -07:00
Eduard Carreras
e2aa0e8a35
Use pgrep with a pattern
2015-11-25 19:05:22 -07:00
Cameron Sparr
317a352a65
Skip measurements with NaN fields
...
fixes #389
2015-11-23 16:03:11 -07:00
Cameron Sparr
970bfce997
Fix kafka plugin and rename to kafka_consumer
...
fixes #371
2015-11-19 13:41:58 -07:00
Daniel Malon
375045953f
FreeBSD compatibility
...
- Use gopsutils istead of gosigar
- Bump go-dockerclient
closes #372
2015-11-16 10:32:58 -07:00
Cameron Sparr
b975419bc7
Apache plugin unit tests and README
2015-11-13 13:01:00 -07:00