Cameron Sparr
013804437a
Allow users to tell telegraf Agent not to include host tag
...
closes #848
2016-04-08 18:34:51 +02:00
Cameron Sparr
386d5a3ccf
Do not write metrics if there are 0 to write
...
closes #884
2016-04-08 18:34:50 +02:00
Cameron Sparr
c56e4d4217
TLS config: if only given ssl_ca, create tls config anyways
...
fixes #890
2016-04-08 18:34:50 +02:00
Cameron Sparr
d17f3a1eea
Value parser, for parsing a single value into a metric
...
closes #849
2016-04-08 18:34:50 +02:00
Eugene Dementiev
a7b875d99b
[amqp output] Allow external auth (cert-based tls auth)
...
closes #863
2016-04-08 18:34:49 +02:00
Cameron Sparr
17d45adcaa
Only log the overwritten metric warning on 1st overwrite per buffer
...
see #807
2016-04-08 18:34:48 +02:00
Pierre Fersing
4b5dac0cba
Reduce metric_buffer_limit to 1000
...
closes #780
2016-04-08 18:34:47 +02:00
Cameron Sparr
e7d3395edc
Remove naoina/toml dependency, use influxdata/toml
...
closes #745
2016-04-08 18:34:46 +02:00
Cameron Sparr
ee1a324590
Fix up config panic points for naoina/toml support
...
closes #736
2016-04-08 18:34:45 +02:00
Cameron Sparr
09905a5cfb
Change pass/drop to namepass/namedrop for outputs
...
closes #730
2016-04-08 18:34:45 +02:00
Thibault Cohen
1df49d77b4
Add metric pass/drop filter
2016-04-08 18:34:45 +02:00
Cameron Sparr
351506f318
Set running output quiet mode in agent connect func
...
closes #701
2016-04-08 18:34:45 +02:00
Cameron Sparr
09d8d6ef33
Update Makefile to 'go install' rather than 'go build'
2016-04-08 18:34:44 +02:00
Cameron Sparr
0dbb52f9d6
Seems to be a toml parse bug around triple pounds
2016-04-08 18:34:44 +02:00
Sergio Jimenez
a201b69e9e
fix(config): Made sample config consistent.
...
closes #682
2016-04-08 18:34:44 +02:00
Sergio Jimenez
5481299a67
List mesos in main README
...
And on the test configuration file
2016-04-08 18:34:43 +02:00
Cameron Sparr
cabea27adf
Write unit tests for RunningOutput
2016-04-08 18:34:43 +02:00
Cameron Sparr
716b375ab6
Start service plugins immediately, fix off-by-one bug
2016-04-08 18:34:43 +02:00
Cameron Sparr
eb5dddf0d6
Flush based on buffer size rather than time
...
this includes:
- Add Accumulator to the Start() function of service inputs
- For message consumer plugins, use the Accumulator to constantly add
metrics and make Gather a dummy function
- rework unit tests to match this new behavior.
- make "flush_buffer_when_full" a config option that defaults to true
closes #666
2016-04-08 18:34:43 +02:00
Cameron Sparr
a9b91c7daa
Add Serializer plugins, and 'file' output plugin
2016-04-08 18:34:42 +02:00
Cameron Sparr
28664fedb2
Support exec input plugin legacy behavior
2016-02-10 13:26:02 -07:00
Cameron Sparr
fc7fa4b6c5
Cleanup comments and indentation in config file
2016-02-09 11:01:50 -07:00
Cameron Sparr
e619493ece
Implementing generic parser plugins and documentation
...
This constitutes a large change in how we will parse different data
formats going forward (for the plugins that support it)
This is working off @henrypfhu's changes.
2016-02-08 21:08:44 -07:00
Henry Hu
1449c8b887
Add Graphite line protocol parsing to exec plugin
...
closes #637
2016-02-08 17:12:28 -07:00
Cameron Sparr
6b06a23102
Change [tags] to [global_tags] to deal with toml bug
...
closes #662
2016-02-08 16:20:47 -07:00
Cameron Sparr
bd9c5b6995
mqtt output: cleanup, implement TLS
...
Also normalize TLS config across all output plugins and normalize
comment strings as well.
2016-02-04 10:44:37 -07:00
Cameron Sparr
962325cc40
Warn when metrics are being overwritten
...
closes #601
2016-01-28 14:00:14 -07:00
Cameron Sparr
c549ab907a
Throughout telegraf, use telegraf.Metric rather than client.Point
...
closes #599
2016-01-27 23:47:32 -07:00
Cameron Sparr
9c0d14bb60
Create public models for telegraf metrics, accumlator, plugins
...
This will basically make the root directory a place for storing the
major telegraf interfaces, which will make telegraf's godoc looks quite
a bit nicer. And make it easier for contributors to lookup the few data
types that they actually care about.
closes #564
2016-01-27 15:42:50 -07:00
Cameron Sparr
6ebb6bc7ee
Fix SNMP unit tests on OSX, improve tag config doc
...
closes #592
2016-01-27 11:27:10 -07:00
Tim Raymond
40d0da404e
Change configuration package to influxdata/config
...
We are unifying the way that we handle configuration across the products
into the influxdata/config package. This provides the same API as
naoina/toml that was used previously, but provides some additional
features such as support for documenting generated TOML configs as well
as support for handling default options. This replaces all usage of
naoina/toml with influxdata/config.
2016-01-25 12:02:44 -07:00
Cameron Sparr
5349a3b6d1
Implement a per-output fixed size metric buffer
...
Also moved some objects out of config.go and put them in their own
package, internal/models
fixes #568
closes #285
2016-01-22 16:29:02 -07:00
Jack Zampolin
0cdf1b07e9
Fix issue 524
2016-01-20 10:57:35 -08:00
Cameron Sparr
d3a5cca1bc
Collection interval random jittering
...
closes #460
2016-01-19 13:22:54 -07:00
Cameron Sparr
f60c090e4c
Add a quiet mode to telegraf
...
closes #514
2016-01-15 13:31:04 -07: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
6496d185ab
add backwards-compatability for 'plugins', remove [inputs] and [outputs] headers
2016-01-08 12:49:50 -07:00
Cameron Sparr
9c5db1057d
renaming plugins -> inputs
2016-01-07 15:04:30 -07:00
Cameron Sparr
64b98a9b61
0.3.0 unit tests: agent and prometheus
2016-01-07 10:52:46 -07:00
Cameron Sparr
4fdcb136bc
0.3.0 unit tests: internal
2016-01-07 10:23:38 -07:00
Cameron Sparr
524fddedb4
0.3.0 unit tests: exec, httpjson, and haproxy
2016-01-06 16:11:16 -07:00
Cameron Sparr
a34418d724
backwards compatability for io->diskio change
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
50fc3ec974
Updating system plugins for 0.3.0
2016-01-05 23:48:59 -07:00
Cameron Sparr
03e66d5b87
Implement Glob matching for pass/drop filters
2015-12-07 16:58:31 -07:00
Tait Clarridge
22afc99f1e
Add support for pass/drop/tagpass/tagdrop for outputs
...
Reuses same logic as the plugins for filtering points, should be only
a marginal performance decrease to check all the points before writing
to the output.
Added examples to the README as well (for generic pass/drop as well as
output pass/drop/tagpass/tagdrop).
X-Github-Closes #398
closes #398
closes #401
2015-12-04 15:51:53 -07:00
Cameron Sparr
e6517d4140
Update gopsutil godep dependency. Dont use godep go build anymore
...
godep seems to have a problem when dependencies have `internal`
packages. So removing `godep go build` and `godep go test` from the
build process in favor of just checking out the correct revisions using
`godep restore` into the regular GOPATH.
This basically means that we are not actually using anything within the
Godeps directory except Godeps.json. I should probably make a separate
go dependency management system that does this.
2015-12-04 12:22:16 -07:00
Cameron Sparr
a5f2d5ff21
Put Agent Config into the config package
2015-11-30 10:31:31 -07:00
Cameron Sparr
979e5f193a
Overhaul config <-> agent coupling. Put config in it's own package.
2015-11-25 19:07:04 -07:00
Cameron Sparr
acf9c1141a
Change duration -> internal and implement private gopsutil methods
2015-11-11 15:38:22 -07:00