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
Codeb Fan
20fbfc7006
Twemproxy go fmt and bug fixups, CHANGELOG, README
...
closes #365
2015-11-13 09:43:48 -07:00
Codeb Fan
e167b72b16
Add plugin for Twemproxy
...
This plugin collects data from Twemproxy's stats interface
2015-11-13 09:40:29 -07:00
鲁晓敏
019585f0db
phpfpm: add socket fcgi support
2015-11-12 10:44:51 -07:00
Cameron Sparr
3012928452
Fix config file tab indentation
2015-11-12 09:52:35 -07:00
Cameron Sparr
acf9c1141a
Change duration -> internal and implement private gopsutil methods
2015-11-11 15:38:22 -07:00
Cameron Sparr
00ee2529bc
Revert "redis: support IPv6 addresses with no port"
...
This reverts commit 2af97cdbcb
.
2015-11-11 15:33:58 -07:00
Nicholas Katsaros
2af97cdbcb
redis: support IPv6 addresses with no port
...
closes #356
2015-11-10 10:02:42 -07:00
Roman Statsevich
1a05899be0
removed "panic" from zfs plugin
...
also added zfs plugin to README.md
closes #341
2015-11-09 10:38:33 -07:00
Roman Statsevich
d54f6be639
add ZFS plugin
2015-11-09 10:37:36 -07:00
Subhachandra Chandra
00614026b3
Added parameters "Devices" and "SkipSerialNumber to DiskIO plugin.
...
"Devices" can be used to specify storage devices on which stats
should be reported. "SkipSerialNumber" can be used to omit
the device serial number.
Added tests to verify the new parameters.
closes #344
2015-11-06 17:11:57 -07:00
saiello
acf1da4d30
Added jolokia README.md
...
closes #337
2015-11-06 14:08:07 -07:00
saiello
921ffb7bdb
Test for jolokia plugin
2015-11-06 14:07:02 -07:00
saiello
55c598f9ff
Create a JolokiaClient. allowing to inject a stub implementation
2015-11-06 14:07:02 -07:00
saiello
eabc0875de
Fixed sampleconfig
2015-11-06 14:07:02 -07:00
saiello
62270a3697
go fmt run over jolokia.go
2015-11-06 14:07:02 -07:00
saiello
40d8aeecb0
Use url.Parse to validate configuration params
2015-11-06 14:07:02 -07:00
saiello
2daa9ff260
Added Tags as toml field
2015-11-06 14:07:02 -07:00
Simone Aiello
25fd4297a8
Jolokia plugin first commit
2015-11-06 14:07:02 -07:00
cornerot
f05d89ed72
removed "panic" from bcache plugin
...
closes #343
2015-11-06 14:05:09 -07:00
Cameron Sparr
e2854232d0
Change HAProxy plugin tag from host to server
...
fixes #342
2015-11-03 11:21:58 -07:00
Cameron Sparr
befc906167
Improve the HTTP JSON plugin README with more examples.
2015-11-03 10:16:59 -07:00
Cameron Sparr
0398dc1226
Dont overwrite 'host' tag in redis plugin
...
fixes #331
2015-11-02 11:30:49 -07:00
Eugene Dementiev
5592738603
[rabbitmq plugin] Add support for per-queue metrics
...
Also metrics now are gathered concurrently across servers. Fixes #185
fixes #185
closes #334
2015-11-02 11:13:24 -07:00
JP
4ac1c819e0
add elasticsearch README
...
closes #327
2015-11-02 11:04:43 -07:00
JP
cb8499c264
optinally gather cluster and index health stats
2015-11-02 11:03:41 -07:00
Tait Clarridge
4449f7f2fb
Add prometheus_client service output module, update prometheus client
...
- Adds a client implementation using the prometheus go_client library
that exposes metrics.
- Adds a new type of output "ServiceOutput" which follows inline with
the "ServicePlugin", adding a Stop and Start method for the service
This change also requires the newer prometheus/client_golang code, so
the prometheus plugin needed to be changed.
Added the following to Godep:
- bitbucket.org/ww/goautoneg (in github.com/common/expfmt/encode.go)
- prometheus/common/expfmt (in plugins/prometheus.go)
- github.com/prometheus/common/model (in plugins/prometheus.go)
- github.com/prometheus/procfs (in github.com/client_golang/prometheus)
- github.com/beorn7/perks/quantile (in github.com/client_golang/prometheus)
X-Github-Meta: closes #306
2015-10-28 15:28:39 -06:00
JP
7cc60dfb8f
update mongostat from github.com/mongodb/mongo-tools
...
closes #323
2015-10-28 15:26:04 -06:00
Cameron Sparr
fa9555c430
Execute "long" unit tests using docker containers
...
fixes #293
2015-10-28 11:45:04 -06:00
Cameron Sparr
48d11f0a5c
Mongostat diff bug, less equal to less
2015-10-28 10:44:09 -06:00
Tait Clarridge
ccbfb038ee
Change aerospike default config to localhost
...
The default config was in a non-runnable state if one were to
attempt to use it with the docker-machine setup. Changed to localhost.
closes #321
2015-10-26 10:57:10 -06:00
palkan
cb951ebd28
Add httpjson readme
...
closes #275
2015-10-23 18:34:27 -06:00
palkan
d35c78e933
Rename Tags to TagKeys
2015-10-23 18:33:04 -06:00
palkan
e9356c893b
[ Fix #190 ] Add httpjson tags support
2015-10-23 18:33:04 -06:00
palkan
df96958fb8
Use specific mysql version with docker
...
closes #315
2015-10-23 17:35:49 -06:00
palkan
bf1cf4557e
Update kafka reamde; improve intergration tests
...
closes #313
2015-10-23 17:33:23 -06:00
Cameron Sparr
86d20496ea
Fix MySQL DSN -> tags parsing
...
Closes #297
2015-10-22 17:16:19 -06:00
Cameron Sparr
eb0a19062e
When MongoDB freezes or restarts, do not report negative diffs
...
Fixes #253
2015-10-22 10:55:26 -06:00
Tait Clarridge
c5f200917a
Add aerospike plugin support
...
- Does not use the aerospike client, but sends the stats command
using the aerospike required format
- Queries available namespaces and gets stats for all of them
closes #300
2015-10-21 18:04:45 -06:00
Roman Statsevich
499b5befd6
add bcache plugin
...
Closes #286
2015-10-20 14:17:09 -06:00
Cameron Sparr
c26ce9c4fe
Utilizing new client and overhauling Accumulator interface
...
Fixes #280
Fixes #281
Fixes #289
2015-10-20 13:53:58 -06:00
Tyler Nisonoff
6869362f43
added keyspace hitrate measurement
...
Closes #283
2015-10-18 18:00:34 -06:00
Tyler Nisonoff
7600cc87d8
added connections measurement with user tag
...
Closes #284
2015-10-18 17:43:36 -06:00
Jonathan Cross
3192c78d96
fixed test to check actual value
...
Closes #273
caught a typo :D using it
2015-10-18 17:39:53 -06:00
Jonathan Cross
c3dad00c1b
PuppetAgent Plugin
...
Added PuppetAgent Plugin reads last_run_summary file
2015-10-18 17:37:11 -06:00
Cameron Sparr
73f1ed4f25
Use Unix() int64 time for comparing timestamps in kafka consumer
2015-10-16 16:58:52 -06:00
Cameron Sparr
b28b4bd71e
Fix ApplyTemplate change in graphite parser
2015-10-16 16:43:31 -06:00
Cameron Sparr
97d4f9e0ff
Run go fmt in CI
2015-10-16 13:08:32 -06:00
Cameron Sparr
0986caf0ad
Fix Go vet issue, test accumulator should be passed by reference with lock
...
Closes #276
2015-10-16 11:21:44 -06:00
Cameron Sparr
4e5ed9d3b9
Change config file indentation to 2 spaces
2015-10-15 15:53:29 -06:00
Cameron Sparr
6977119f1e
Statsd plugin, tags and timings
...
Closes #237
Closes #39
2015-10-15 12:07:36 -06:00
Cameron Sparr
2dd3eee58e
Use graphite parser for templating, godep update to head
2015-10-14 17:54:00 -06:00
Cameron Sparr
d40351286a
Refactoring gauges to support floats, unit tests
2015-10-14 17:54:00 -06:00
Cameron Sparr
d84a258b0a
Statsd: unit tests for gauges, sets, counters
2015-10-14 17:54:00 -06:00
Cameron Sparr
eb2a4dc724
Statsd listener plugin
...
implement gauges, sets, counters
2015-10-14 17:54:00 -06:00
Jonathan Cross
88ff269370
added measurement prefix
2015-10-14 17:48:21 -06:00
Jonathan Cross
7121e1a3b0
fixes based on comments
2015-10-14 17:48:21 -06:00
Jonathan Cross
8fd06b96d7
Zookeeper plugin
...
Created a zookeeper plugin that fetches from the ‘mntr’ command will
output measurements that are int and string based
2015-10-14 17:48:21 -06:00
Eugene Dementiev
ccfa913186
Fix crash if login/password is incorrect in rabbitmq plugin. Closes #260
...
Closes #260
2015-10-13 17:54:29 -06:00
Eugene Dementiev
2a9f31bfea
Add sample for exec plugin. Fixes #245
...
Closes #258
2015-10-13 17:53:18 -06:00
Vinh
0bc76f094a
Add PHPFPM stat
...
- HTTP status or Socket status
- Collect those metric:
accepted conn:
listen queue:
max listen queue:
listen queue len:
idle processes:
active processes:
total processes:
max active processes:
max children reached:
slow requests:
- Tag metric with: `host` and `pool` name
Closes #255
2015-10-12 15:40:42 -06:00
Shirou WAKAYAMA
d394003739
add UDP socket counts and rename to 'netstat'.
...
Closes #244
2015-10-12 00:08:35 -06:00
Shirou WAKAYAMA
17dd058308
add REAME about TCP Connection plugin.
2015-10-12 00:05:10 -06:00
Shirou WAKAYAMA
99b1a3071d
add NetConnections to the mockPS.
2015-10-12 00:05:10 -06:00
Shirou WAKAYAMA
dc38e448bd
add tcp connections stat plugin.
2015-10-12 00:05:10 -06:00
subhachandrachandra
cf1dcfe37c
Dropped SkipInodeUsage option as "drop" achieves the same results.
...
Fixed a bug in restricting Disk reporting to specific mountpoints
Added tests for the Disk.Mountpoints option
Fixed minor bug in usage of assert for the cpu tests where expected and actual values were swapped.
2015-10-08 14:17:04 -07:00
subhachandrachandra
4f6526e1a5
Merge remote-tracking branch 'upstream/master'
2015-10-07 14:49:47 -07:00
subhachandrachandra
e6ea09f482
Added Mountpoints and SkipInodeUsage options to the Disk plugin to control
...
which mountpoint stats get reported for and to skip inode stats.
2015-10-07 14:42:11 -07:00
Cameron Sparr
d620651ef6
procstat plugin, consolidate PID-getting
2015-10-07 14:13:33 -06:00
Cameron Sparr
9221f93be9
Allow procstat plugin to handle multiple PIDs from pgrep
...
Closes #248
2015-10-07 13:48:55 -06:00
Cameron Sparr
795ea49093
Add pid tag to procstat plugin, dont exit on error, only log
2015-10-07 11:42:50 -06:00
Ranjib Dey
6827459b9f
fix typo in sample config and README
...
Closes #240
2015-10-07 11:19:55 -06:00
Ranjib Dey
e424d47ce6
fix plugin registration name
2015-10-07 11:11:47 -06:00
Ranjib Dey
ca0e732331
fix toml struct string
2015-10-07 11:11:47 -06:00
Ranjib Dey
8e52905ea9
add readme for procstat plugin
2015-10-07 11:11:12 -06:00
Cameron Sparr
5cc26bb640
godep update for procstat
2015-10-07 11:11:12 -06:00
Ranjib Dey
fdf00c1be6
Monitor process by pidfile or exe name
2015-10-07 11:11:12 -06:00
cornerot
5112d077d5
add tabs in the apache sampleConfig var
...
Closes #246
2015-10-06 10:34:03 -06:00
Cameron Sparr
f5d1aaf7d9
Memory plugin: re-add cached and buffered to memory plugin
2015-09-28 17:05:42 -07:00
Josh Palay
24527859e6
Fix printf format issue
...
Closes #227
2015-09-23 15:44:25 -07:00
Josh Palay
0c6c5718fe
Adds command intervals to exec plugin
2015-09-23 15:42:48 -07:00
Ruslan Islamgaliev
c4bbc18cb6
Make nginx_test check port in nginx module tags
...
Closes #223
2015-09-23 15:41:46 -07:00
Ruslan Islamgaliev
6e76759225
Add port tag to nginx plugin
2015-09-23 15:40:43 -07:00
Cameron Sparr
12420db4b9
docker plugin: Add docker labels as tags in
...
Closes #90
2015-09-23 14:20:15 -07:00
Cameron Sparr
b12b804f0a
Make redis password config more clear.
...
Also make certain that the 'host' tag does not include the password for
security reasons
Closes #225
2015-09-23 13:28:36 -07:00
Cameron Sparr
f8d64a7378
Redis: include per-db keyspace info
...
Closes #205
2015-09-22 19:46:50 -07:00
Cameron Sparr
b92a0d5126
Redis plugin, add key metrics and simplify parsing
2015-09-22 16:27:22 -07:00
Ruslan Islamgaliev
72edc3c4fe
Select default apache port depending on url scheme
2015-09-22 10:53:53 -07:00
Ruslan Islamgaliev
5657e8d1da
Add port tag to apache plugin
2015-09-22 10:52:45 -07:00
Cameron Sparr
1cd2db9f8c
Memory plugin: use 'available' instead of 'actual_'
...
Closes #214
2015-09-21 17:39:39 -07:00
Cameron Sparr
10d411c4f7
Update new memory unit tests, documentation
2015-09-21 17:22:24 -07:00
Cameron Sparr
74da03d9fa
Refactor memory stats, remove some, add 'actual_' stats
2015-09-21 17:22:23 -07:00
Cameron Sparr
b8a58dad65
Fix CPU unit tests for time_ prefix
2015-09-21 17:08:50 -07:00
Cameron Sparr
b012713cf2
Adding time_ prefix to all CPU time measurements
2015-09-21 10:23:46 -07:00
Cameron Sparr
10b0438201
Remove cpu_usage_busy, this is simply 100-cpu_usage_idle
2015-09-17 17:46:35 -07:00
Cameron Sparr
0270ace3d4
Add a CPU collection plugin README
2015-09-17 17:46:34 -07:00
Cameron Sparr
df15e7b379
Remove non-existent 'stolen' cpu stat, fix measurement names
2015-09-17 17:46:34 -07:00
Cameron Sparr
dd7a3b37b0
Delete 'vendored' gopsutil directory
2015-09-17 17:46:34 -07:00
Tim Allen
94a623c00e
Check if file exists before running disk usage on it. Not all mounts are normal files.
...
Closes #208
2015-09-17 17:45:58 -07:00
Cameron Sparr
733ba07312
Changing AddValues to AddFields and temp disabling adding w time
...
Currently adding with time is broken, because InfluxDB does not support
using precision for timestamp truncation both with and without
timestamps. This will be re-enabled once we fix InfluxDB to use the
precision argument for truncation in all cases, and a "unit" argument
in the line-protocol for adding points with non-nanosecond stamps
Fixes #175
2015-09-16 16:59:48 -07:00
Cameron Sparr
66ed4f7328
mysql plugin: don't emit blank tags
...
closes #201
2015-09-16 14:24:38 -07:00
Oliver Buschjost
211065565f
Add HTTP 5xx stats to HAProxy plugin. Closes #194
2015-09-16 14:10:09 -07:00
Cameron Sparr
2e68d3cb3c
Merge pull request #198 from mced/fix_mem_used_perc
...
[fix] mem_used_perc returns percentage of used mem
2015-09-15 15:24:48 -07:00
Cédric Menassa
4d6f11b61f
[fix] mem_used_perc returns percentage of used mem
2015-09-15 12:58:51 +02:00
Kevin Bouwkamp
aac9ba6c1e
add bugfix in CHANGELOG and some notes in pg README
...
Closes #192
2015-09-14 18:48:01 -07:00
Kevin Bouwkamp
d926a3b5da
no longer duplicate ignored columns here
2015-09-14 18:47:07 -07:00
Kevin Bouwkamp
fa5753c579
Makes the test also work across pg versions
2015-09-14 18:47:07 -07:00
Kevin Bouwkamp
3fa3b2d836
add some comments
2015-09-14 18:47:07 -07:00
Kevin Bouwkamp
76041e84e8
fix some more indentation...
2015-09-14 18:47:07 -07:00
Kevin Bouwkamp
19c6572926
Add a few notes about the connection strings
2015-09-14 18:47:07 -07:00
Kevin Bouwkamp
2217fb8c58
uncomment to skip test in short mode
2015-09-14 18:47:07 -07:00
Kevin Bouwkamp
50fcb3914d
Generating metric information dynamically. Makes compatible with postgresql versions < 9.2
2015-09-14 18:47:06 -07:00
mced
6d6158ff08
[fix] mem_used_perc returns percentage of used mem
...
Closes #189
2015-09-14 12:18:31 -07:00
Cameron Sparr
11126cf4ae
Add a server name tag to the RabbitMQ server list
...
Fixes #183
2015-09-11 16:46:49 -07:00
Ruslan Islamgaliev
bd00f46d8b
Fix docker stats to make it work on centos 7.
...
issue #58
issue #84
2015-09-11 16:26:08 -07:00
Cameron Sparr
d8482cc286
darwin net plugin fix, really need to godep vendor gopsutil
2015-09-10 13:57:57 -06:00
Cameron Sparr
f7a4317990
Fix multiple redis server bug, do not cache the TCP connections
...
Fixes #178
2015-09-10 11:51:15 -06:00
Cameron Sparr
68e41f130c
Ping plugin
...
Closes #167
2015-09-04 11:20:49 -06:00
nickscript0
0143a4227e
add additional metrics to mysql plugin tests
...
Closes #165
2015-09-02 11:49:16 -06:00
nickscript0
3f63bcde12
add additional MySQL metrics
2015-09-02 11:48:38 -06:00
Cameron Sparr
4d19fc0860
Fixup for g->r change, io.reader was already using 'r'
2015-08-31 16:15:38 -06:00
Cameron Sparr
9c57c30e57
Redis plugin internal names consistency fix, g -> r
2015-08-31 15:57:52 -06:00
Cameron Sparr
9969c4e810
Add system uptime metric, string formatted AND in float64
...
closes #150
2015-08-31 14:43:34 -06:00
Alexander Oleinik
e2bc5d80c9
Apache Plugin
...
Closes #158
Fixes #132
2015-08-31 10:17:18 -06:00
Cameron Sparr
ff2de0c715
Only build the docker plugin on linux
2015-08-27 17:09:18 -06:00
Cameron Sparr
434267898b
Indent the toml config for readability
2015-08-26 09:22:03 -06:00
subhachandrachandra
8d034f544c
Fixed memory reporting for Linux systems
...
/proc/meminfo reports memory in KiloBytes and so needs a multiplier of 1024 instead of 1000.
The kernel reports in terms of pages and the proc filesystem is left shifting by 2 for 4KB pages to get KB. Since this is a binary shift, Bytes will need to shift by 10 and so get multiplied by 1024.
From the kernel code. PAGE_SHIFT = 12 for 4KB pages
"MemTotal: %8lu kB\n", K(i.totalram)
Closes #131
2015-08-25 14:18:14 -06:00
subhachandrachandra
ca1d2c7000
Fixed total memory reporting for Darwin systems. hw.memsize is reported as bytes instead of pages.
2015-08-25 14:16:18 -06:00
Bruno Bigras
0acf15c025
Typo: prec -> perc
...
Closes #140
2015-08-25 14:15:12 -06:00
Cameron Sparr
94eed9b43c
Add MySQL server address tag to all measurements
...
Closes #138
2015-08-25 13:58:55 -06:00
Bruno Bigras
8a6665c03f
memcached: fix when a value contains a space
...
Fixes #137
Closes #139
2015-08-25 13:14:40 -06:00
Cameron Sparr
bd85a36cb1
Fixes #130 , document mysql plugin better, README
2015-08-24 15:08:16 -06:00
Cameron Sparr
8273679634
0.1.6, update changelog, readme, plugins list
2015-08-20 14:45:04 -06:00
Cameron Sparr
532d953b5a
fix for #126 , nginx plugin not catching net.SplitHostPort error
2015-08-20 11:26:49 -06:00
Simon Fraser
601b444a60
fix segv on error
2015-08-20 07:49:46 -06:00
Josh Palay
7d9efd7cff
Modifications to httpjson plugin
2015-08-19 13:25:21 -06:00
Alvaro Morales
06ef2a72c5
Add httpjson plugin
2015-08-19 13:24:07 -06:00
Cameron Sparr
03c7d564d9
Merge pull request #118 from srfraser/diskusage_windows_fix
...
Get disk usage stats working on windows
2015-08-18 15:58:13 -06:00
Simon Fraser
7273e2e6f2
Get disk usage stats working on windows
2015-08-18 21:31:33 +01:00
Josh Palay
55fb249f6b
exec plugin doesn't crash when given null JSON values
2015-08-14 17:06:14 -06:00
Cameron Sparr
0e65d8e64e
Rebase and fixups for PR #111 , fixes issue #33
2015-08-13 14:47:51 -06:00
Josh Palay
1e742aec04
Adds cpu busy time and percentages
2015-08-13 14:30:32 -06:00
Cameron Sparr
04963f12a3
Allow a PerCPU configuration variable, issue #108
2015-08-13 13:30:11 -06:00
Simon Fraser
d280b968d7
Ensure tests pass now that we're passing fstype around
...
go fmt checks
Rework the example configuration snippets
2015-08-10 19:20:49 -06:00
Simon Fraser
1d8c7a74d6
to filter by filesystem type, we need to pass that up the chain
2015-08-10 19:19:36 -06:00
mocchira
24eb7d6bc9
Add LeoFS plugin
2015-08-07 08:58:24 +00:00
Cameron Sparr
96014f8e94
Merge pull request #92 from Asana/exec
...
Add exec plugin
2015-08-06 13:21:12 -06:00
Alvaro Morales
ad2e0bc4e3
Remove simplejson dependency in exec plugin
2015-08-06 12:01:42 -07:00
Cameron Sparr
85c61fb684
Fix for issue #93 , just use github path instead of gopkg.in
2015-08-06 11:59:07 -06:00
Alvaro Morales
32cbbdbf73
Add exec plugin
2015-08-05 17:51:44 -07:00
Cameron Sparr
ab28707d71
Marking disque tests 'short', circleci container doesnt appear to support tcp?
2015-08-05 17:00:04 -06:00
Cameron Sparr
42a7203b1e
Skip per-cpu unit test when in a circle ci container
2015-08-05 16:49:40 -06:00
Cameron Sparr
5259c50612
Mark more unit tests as 'integration' tests when they rely on external services/docker
2015-08-05 16:49:40 -06:00
Cameron Sparr
06a84def5f
Merge pull request #71 from kureikain/haproxy_plugin
...
HAProxy plugin
2015-08-05 15:47:59 -06:00
Codeb Fan
d7bda01ccb
Add Nginx plugin (ngx_http_stub_status_module)
...
Add plugin to collect Nginx basic status information (ngx_http_stub_status_module).
http://nginx.org/en/docs/http/ngx_http_stub_status_module.html
2015-08-05 15:33:28 -06:00
Cameron Sparr
df9e1669cf
Merge pull request #76 from kotopes/redis-port-tag
...
add tag "port" to every redis metric
2015-08-05 15:01:36 -06:00
Cameron Sparr
c698dc9784
Build & unit test fixup
2015-08-05 14:47:12 -06:00
Cameron Sparr
77dd1e3d45
Adding Kafka docker container and utilizing it in unit tests
2015-08-05 14:46:31 -06:00
Cameron Sparr
260fc43281
go fmt fixes
2015-08-05 14:46:31 -06:00
Simon Fraser
816313de30
Fix 'go vet' error, +build comment must be followed by a blank line
2015-08-05 14:46:30 -06:00
Cameron Sparr
bb7bdffada
Creating circleci job to just lint and vet code
2015-08-05 14:46:30 -06:00
Simon Fraser
8255945ea7
Tests for the lustre plugin, initial commit
2015-08-05 14:46:30 -06:00
Simon Fraser
e442d754d0
Lustre filesystem plugin ( http://lustre.org/ )
...
The configuration allows users to override the /proc/ files
scanned for data, since that has been known to change with lustre
versions.
2015-08-05 14:46:30 -06:00
Simon Fraser
6b510652ed
Add Lustre 2 plugin
2015-08-05 14:46:30 -06:00
Graham Floyd
c0fa6af51b
Add disque plugin
2015-07-31 14:46:46 -05:00
Todd Persen
a4d0c47fc6
Merge pull request #49 from marcosnils/container_services
...
Container services
2015-07-30 16:29:44 -07:00
Vinh
5bf00e87cc
Add haproxy plugin
2015-07-22 17:14:31 -07:00
Evgeny Kulev
014ddd76f4
add tag "port" to every redis metric
...
see issue https://github.com/influxdb/telegraf/issues/74
2015-07-23 00:55:03 +03:00
Evan Phoenix
6eb4bdcf0e
Merge pull request #53 from alvaromorales/rethinkdb-fix
...
Add rethinkdb plugin to all.go
2015-07-21 13:37:55 -07:00
Evan Phoenix
b4e032d9c9
Merge pull request #54 from jipperinbham/mongodb-plugin
...
add MongoDB plugin
2015-07-21 13:37:44 -07:00
Evan Phoenix
4ca39dfd1e
Merge pull request #55 from brocaar/elasticsearch_plugin
...
Implement Elasticsearch plugin
2015-07-21 13:34:31 -07:00
Evan Phoenix
ad6dcb478d
Merge pull request #63 from bewiwi/master
...
Fix redis : change ending call with "\r\n"
2015-07-21 13:31:51 -07:00
Evan Phoenix
e484d4bbf4
Merge pull request #72 from vadimtk/master
...
Add TokuDB metrics to MySQL plugin
2015-07-21 13:27:13 -07:00
Ian Unruh
fad63b28d1
Add simple RabbitMQ plugin
2015-07-21 11:48:49 -07:00
Vadim Tkachenko
7a075e091d
Add TokuDB metrics to MySQL plugin
2015-07-19 13:01:45 -07:00
Loïc
d5b4e4ba60
Fix redis : change ending call with "\r\n"
2015-07-13 18:21:16 +02:00
Orne Brocaar
22d4d1fb42
Fix typo (tranport > transport).
2015-07-10 09:00:28 +02:00
JP
98b0543b26
fix merge conflicts
2015-07-09 15:09:43 -05:00
JP
c0512e720c
add SSL support, change tag to hostname
2015-07-09 15:06:18 -05:00
Orne Brocaar
0f6664b260
Remove that it only reads indices stats.
2015-07-09 21:02:19 +02:00
Orne Brocaar
f76f99e789
Merge remote-tracking branch 'upstream/master' into elasticsearch_plugin
2015-07-09 21:01:06 +02:00
Orne Brocaar
e2d48f42cc
Cleanup repeated logic.
2015-07-09 20:58:54 +02:00
Orne Brocaar
ec138cae62
Remove indices filter.
2015-07-09 20:53:54 +02:00
Orne Brocaar
986b89f5ed
Cleanup tests.
2015-07-09 20:46:42 +02:00
Orne Brocaar
d799011039
Implement breakers stats.
2015-07-09 20:43:52 +02:00
Orne Brocaar
0faa1c886a
Implement http stats.
2015-07-09 20:38:51 +02:00
Orne Brocaar
cb839d0fe8
Implement transport stats.
2015-07-09 20:36:22 +02:00
Orne Brocaar
ec4079733e
Implement fs stats.
2015-07-09 20:32:56 +02:00
Orne Brocaar
4743c9ab16
Implement network stats.
2015-07-09 20:23:04 +02:00
Orne Brocaar
ac54b7cdd1
Implement thread-pool stats.
2015-07-09 20:18:24 +02:00
Orne Brocaar
10c4ec74cc
Implement JVM stats.
2015-07-09 20:11:46 +02:00
Orne Brocaar
d90026646f
Implement process stats.
2015-07-09 20:06:30 +02:00
Orne Brocaar
9cd1344740
Implement os stats.
2015-07-09 20:01:59 +02:00
Orne Brocaar
c6a9335bf2
Refactor parsing "indices" stats.
2015-07-09 19:51:51 +02:00
Orne Brocaar
6c87148cd4
Add node-id and node attributes to tags.
2015-07-09 18:41:16 +02:00
Orne Brocaar
3f6c46e1ec
Add node_name to tags.
2015-07-08 23:07:10 +02:00
Emil Stolarsky
b3c13b7aef
Adds README for Kafka consumer plugin
2015-07-08 15:45:02 -04:00
Orne Brocaar
55cfd5c904
Check that API reponse is 200.
2015-07-08 21:28:25 +02:00
Orne Brocaar
d38f2223a5
Implement Elasticsearch plugin (indices stats).
2015-07-08 21:14:51 +02:00
JP
86145d5eb5
add MongoDB plugin
2015-07-07 11:25:34 -05:00
Marcos Lilljedahl
d2810ddc95
Add DOCKER_HOST support for tests
...
This allows to run tests in environments where DOCKER_HOST is used. This
is extremely helpful when using boot2docker to run docker
2015-07-06 22:18:31 -03:00
Alvaro Morales
037c43cd25
Add rethinkdb plugin to all.go.
2015-07-06 17:27:09 -07:00
Marcos Lilljedahl
4471e2bdbb
Use postgres default configuration
2015-07-06 03:46:53 -03:00
Marcos Lilljedahl
ae385b336d
Remove unnecessary circleci configuration as we're using default
...
provided services
Update test users to use circleci default services
2015-07-06 02:20:25 -03:00
Marcos Lilljedahl
d545b197ea
Add docker containers to test services.
...
This commit initializes the needed services which are not mocked
so tests can be executed in any environment with docker.
Some default modifications (i.e: connection strings) were also made to
current tests to accomodate them for this setup.
A docker-compose.yml file is provided with all the necessary parameters
for this services to be initialized. Future services can be added
easily by extending this configuration file
In addition a makefile has been introduced to simplify command execution
2015-07-06 01:46:43 -03:00
Todd Persen
1d8e6473c6
Merge pull request #45 from jhofeditz/patch-1
...
skip disk tags with no value
2015-07-05 16:51:58 -07:00
Todd Persen
494704b479
Merge pull request #28 from brian-brazil/prometheus-plugin-only
...
Add support for Prometheus (plugin only)
2015-07-05 16:49:36 -07:00
Todd Persen
d634b08969
Merge pull request #47 from jipperinbham/rethinkdb-plugin
...
add RethinkDB plugin
2015-07-05 16:47:20 -07:00
JP
1943d89147
add RethinkDB plugin
2015-07-04 15:09:33 -05:00
Joe Hofeditz
073b1084b7
skip disk tags with no value
...
Influxdb 0.9.1 now rejects writes with empty tag values. This patch skips tags with no values. A disk serial number does not exist for many devices including md raid arrays and VMs. Other plugins may also want to check for empty tags.
2015-07-03 08:11:52 -06:00
Marcos Lilljedahl
5cbe15b676
Return error when can't execute stats query
2015-07-03 09:25:18 -03:00
Marcos Lilljedahl
e2cff9febe
Fix mysql plugin due to test accumulator refactor
2015-07-03 09:17:53 -03:00
Emil Stolarsky
0692b4be61
Add Kafka Consumer Plugin
...
The Kafka consumer plugin polls a specified Kafka topic and adds messages to
InfluxDB. The plugin assumes messages follow the line protocol. Consumer Group
is used to talk to the Kafka cluster so multiple instances of telegraf can read
from the same topic in parallel.
2015-07-02 15:40:13 -04:00
Brian Brazil
5390a8ea71
Add Prometheus plugin.
...
This allows pulling Prometheus metrics from
any client library or exporter over HTTP.
2015-06-24 22:15:58 +01:00
Brian Brazil
e34c52402f
Improve test infrastructure
2015-06-24 22:15:58 +01:00
Evan Phoenix
86a6f337f6
Cleanup the URL when one isn't specified
2015-06-23 14:51:55 -07:00
Evan Phoenix
a1f7d5549b
Fix type error using URL as a string
2015-06-23 14:51:38 -07:00
Evan Phoenix
5fbd07b146
Add memcached to the all plugins package
2015-06-23 14:51:32 -07:00
Evan Phoenix
b8f3c68b89
Merge pull request #21 from fromYukki/memcached
...
Memcached plugin
2015-06-23 14:44:52 -07:00
Evan Phoenix
043b171028
Merge pull request #16 from jipperinbham/redis_auth
...
convert Redis to use URI, support Redis AUTH
2015-06-23 14:37:08 -07:00
Maksim Naumov
b86d789abe
Explore "limit_maxbytes" and "bytes" individually
2015-06-23 09:44:39 +02:00
JP
e1c7dc80ae
redis plugin accepts URI or string, support Redis AUTH
2015-06-22 20:49:11 -05:00
Sherif Zain
e2dac56a40
Added: server to tags
2015-06-22 10:40:30 +02:00
Maksim Naumov
039fc80ed7
Memcached plugin
2015-06-22 04:27:46 +02:00
Sherif Zain
2ccd828e81
Fixed: differentiate stats gathered from multiple redis servers/instances
2015-06-21 23:38:42 +02:00
gunnaraasen
c492f8e7eb
Update plugin registry from name -> measurement
2015-05-29 13:31:27 -07:00
Evan Phoenix
2bd58ee4df
A set of fixes to fix the tests
2015-05-26 22:15:05 -07:00
Evan Phoenix
2667183bfb
Add 'AddValuesWithTime' function to accumulator
2015-05-26 22:15:05 -07:00
Evan Phoenix
1653330421
Tivan is dead, long live Telegraf. Fixes #3
2015-05-22 16:45:14 -07:00
Evan Phoenix
ead52e807e
Improve sample config
2015-05-22 16:26:32 -07:00
Evan Phoenix
40cc034acb
Add rule about 'localhost'
2015-05-18 16:08:22 -07:00
Evan Phoenix
5e6d33a57f
Breakup the system plugin
2015-05-18 16:01:42 -07:00
Evan Phoenix
4146f5f6df
Add ability to restrict which network interfaces are sampled
2015-05-18 15:50:09 -07:00
Evan Phoenix
13e6018eb0
Minor usability fixes to config
2015-05-18 15:22:04 -07:00