Cameron Sparr
f543dbb42f
Allow users to tell telegraf Agent not to include host tag
...
closes #848
2016-03-21 15:51:10 -06:00
Cameron Sparr
77dcbe95c0
Do not write metrics if there are 0 to write
...
closes #884
2016-03-18 10:54:51 -06:00
Cameron Sparr
061b749041
TLS config: if only given ssl_ca, create tls config anyways
...
fixes #890
2016-03-18 10:53:55 -06:00
Cameron Sparr
5c1b635229
Value parser, for parsing a single value into a metric
...
closes #849
2016-03-17 20:08:21 -06:00
Eugene Dementiev
530b4f3bee
[amqp output] Allow external auth (cert-based tls auth)
...
closes #863
2016-03-16 19:03:41 -06:00
Cameron Sparr
845abcdd77
Only log the overwritten metric warning on 1st overwrite per buffer
...
see #807
2016-03-09 14:44:32 +01:00
Pierre Fersing
29d1cbb673
Reduce metric_buffer_limit to 1000
...
closes #780
2016-03-03 15:32:44 +00:00
Cameron Sparr
9af8d6912a
Remove naoina/toml dependency, use influxdata/toml
...
closes #745
2016-03-01 10:17:02 +00:00
Cameron Sparr
2a6ff16819
Fix up config panic points for naoina/toml support
...
closes #736
2016-02-22 14:44:33 -07:00
Cameron Sparr
5aef725c13
Change pass/drop to namepass/namedrop for outputs
...
closes #730
2016-02-22 13:35:06 -07:00
Thibault Cohen
d00550c45f
Add metric pass/drop filter
2016-02-22 12:11:33 -07:00
Cameron Sparr
9ce8d78835
Set running output quiet mode in agent connect func
...
closes #701
2016-02-22 11:42:02 -07:00
Cameron Sparr
187d1b853d
Update Makefile to 'go install' rather than 'go build'
2016-02-18 16:48:59 -07:00
Cameron Sparr
8d2e5f0bda
Seems to be a toml parse bug around triple pounds
2016-02-18 14:36:03 -07:00
Sergio Jimenez
963c51f473
fix(config): Made sample config consistent.
...
closes #682
2016-02-18 10:01:03 -07:00
Sergio Jimenez
38ac9d2ecf
List mesos in main README
...
And on the test configuration file
2016-02-18 09:00:27 +01:00
Cameron Sparr
88c83277c6
Write unit tests for RunningOutput
2016-02-17 17:06:34 -07:00
Cameron Sparr
d0734b105b
Start service plugins immediately, fix off-by-one bug
2016-02-17 15:10:32 -07:00
Cameron Sparr
ee468be696
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-02-16 22:25:22 -07:00
Cameron Sparr
a9c135488e
Add Serializer plugins, and 'file' output plugin
2016-02-12 14:13:49 -07: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