Maximilien Richer
c569863119
Fix typos in comments ( #3415 )
2017-10-31 17:00:06 -07:00
Aditya C S
78df21d6a2
Add support for SSL settings to ElasticSearch output plugin ( #3406 )
2017-10-30 13:52:40 -07:00
Jeremy Doupe
43d69d805d
Add history and summary types to telegraf and prometheus plugins ( #3337 )
2017-10-24 16:28:52 -07:00
Daniel Nelson
7ef88c4bf9
Use labels in prometheus output for string fields ( #3350 )
2017-10-18 17:42:30 -07:00
Daniel Nelson
01cfe1d505
Fix prometheus passthrough for existing value types ( #3351 )
2017-10-18 14:51:08 -07:00
Daniel Nelson
fc1309c8fb
Remove timing sensitive riemann test
2017-10-13 11:30:30 -07:00
Adam Johnson
52a1f98695
Fix cloudwatch output requires unneeded permissions ( #3335 )
2017-10-13 11:04:40 -07:00
Daniel Nelson
bb448d5af7
Use chunked transfer encoding in InfluxDB output ( #3307 )
2017-10-05 16:14:21 -07:00
Pierre Tessier
ea11fae57b
Added newline to each metric line in wavefront output ( #3290 )
2017-10-02 17:42:21 -07:00
Pierre Tessier
8355f941f9
Add Wavefront output plugin ( #3160 )
2017-09-29 16:13:08 -07:00
Daniel Nelson
d0f6b4d6b2
Use underscore as default opentsdb seperator
...
Preserves backwards compatibility
2017-09-27 11:36:41 -07:00
owlet123
f634414935
Add configurable separator for metrics and fields in opentsdb output ( #3106 )
2017-09-27 11:29:40 -07:00
Paulo Cabido
43e2400612
Add configurable metrics endpoint to prometheus output ( #3245 )
2017-09-19 11:27:11 -07:00
Daniel Nelson
8f9ede301d
Whitelist allowed char classes for opentsdb output. ( #3227 )
2017-09-13 17:30:52 -07:00
Dimitris Rozakis
9cb7b2c249
Respect path prefix in influx output uri ( #3224 )
2017-09-13 17:27:01 -07:00
Daniel Nelson
5920cc9571
Add support for standard proxy env vars in outputs. ( #3212 )
2017-09-08 15:35:20 -07:00
Daniel Nelson
359302a742
Fix typo
2017-09-06 14:19:42 -07:00
Pavel Gurkov
843e6ac044
Add Kafka output plugin topic_suffix option ( #3196 )
2017-09-06 14:18:26 -07:00
Daniel Nelson
cd40999225
Use ip address for default InfluxDB ip in config
...
Helps with initial setup if localhost cannot be resolved due to the pure
go resolver.
2017-09-05 12:55:21 -07:00
Jeff Nickoloff
6c6dd69b74
Added CloudWatch metric constraint validation ( #3183 )
2017-08-28 16:56:03 -07:00
Nevins
77c6089634
Add support for sharding based on metric name ( #3170 )
2017-08-28 16:24:38 -07:00
Dylan Meissner
701b34dc55
HTTP headers can be added to InfluxDB output ( #3182 )
2017-08-28 16:08:50 -07:00
Daniel Nelson
5520f662ba
Don't retry points beyond retention policy ( #3155 )
2017-08-22 16:52:26 -07:00
Bob Shannon
67fe167b79
Add gzip content-encoding support to influxdb output ( #2978 )
2017-08-14 14:50:15 -07:00
Daniel Nelson
294b7322b4
Converge to typed value in prometheus output ( #3104 )
2017-08-10 10:19:28 -07:00
Daniel Nelson
a5c0dac37f
Fix prometheus output cannot be reloaded ( #3053 )
2017-07-25 15:41:18 -07:00
Song Wenhao
89c5fab917
Display error message if prometheus output fails to listen ( #2984 )
2017-07-05 14:28:44 -07:00
Aleksey Shirokih
45c1fd1950
Change default prometheus_client port ( #2973 )
2017-06-29 14:03:42 -07:00
Daniel Nelson
995be3847a
Remove label value sanitization in prometheus output ( #2939 )
2017-06-21 12:36:29 -07:00
trastle
0dcede784b
Update README for Prometheus Client Output ( #2452 )
2017-06-19 11:04:08 -07:00
Simone Rotondo
b68c2d48ef
Add HTTP Proxy support to influxdb output ( #2929 )
2017-06-16 12:05:08 -07:00
Daniel Nelson
6ebeeef452
Ensure prometheus metrics have same set of labels ( #2857 )
2017-06-13 18:04:26 -07:00
Dheeraj Dwivedi
a27b074588
Add secure connection support to graphite output ( #2602 )
2017-06-13 13:42:11 -07:00
Daniel Nelson
c1da0002c0
Fix udp metric splitting ( #2880 )
2017-06-05 12:44:29 -07:00
Daniel Nelson
25d3f06756
Fix length calculation of split metric buffer ( #2869 )
2017-05-30 17:38:32 -07:00
Daniel Nelson
f3321bc194
Fix influxdb output database quoting ( #2851 )
2017-05-25 13:25:52 -07:00
Daniel Nelson
dd0c04b6e2
Only split metrics if there is an udp output ( #2799 )
2017-05-12 15:34:05 -07:00
Sebastian Borza
a871b64ac3
split metrics based on UDPPayload size ( #2795 )
2017-05-12 14:45:50 -07:00
Patrick Hemmer
74dd3be3a5
fix close on closed socket_writer ( #2748 )
2017-05-02 11:06:49 -07:00
Daniel Nelson
ec6ed1303d
Don't log error creating database on connect ( #2740 )
...
closes #2739
2017-04-28 15:58:46 -07:00
Daniel Nelson
3d0df7a056
Clarify retention policy option for influxdb output
...
closes #2696
2017-04-28 13:46:23 -07:00
Daniel Nelson
d840bbafbb
Clarify retention policy option for influxdb output
...
closes #2696
2017-04-28 13:40:58 -07:00
Daniel Nelson
b60c8f1899
Fix grammar
2017-04-27 14:59:18 -07:00
Seuf
b23596c232
Added SASL options for ouput kafka plugin ( #2721 )
2017-04-27 11:50:25 -07:00
Daniel Nelson
dcd6936483
Fix amqp output block on write if disconnected ( #2727 )
...
fixes #2603
2017-04-27 11:10:30 -07:00
Damien Krotkine
ce3dc1f82b
it's -> its ( #2728 )
2017-04-27 11:10:00 -07:00
Damien Krotkine
05a1af700d
it's -> its ( #2729 )
2017-04-27 11:06:40 -07:00
Nevins
0514b3cfa7
add option to randomize Kinesis partition key ( #2705 )
2017-04-26 10:54:24 -07:00
Daniel Nelson
6ff98da985
Don't close stdout on config reload. ( #2707 )
...
fixes #2528
2017-04-24 16:18:58 -07:00
Patrick Hemmer
b1a2f896a2
add keep-alive support to socket_listener & socket_writer ( #2697 )
...
closes #2635
2017-04-24 13:14:42 -07:00
Chris Goffinet
1e95e53375
Fixed content-type header in output plugin OpenTSDB ( #2663 )
2017-04-12 17:40:10 -07:00
Patrick Hemmer
d9ad9cfdeb
socket_listener: clean up unix socket file on start & stop ( #2618 )
2017-04-03 18:06:51 -07:00
Daniel Nelson
d4011169df
Remove wait loop in riemann tests
...
This testcase still has a race condition but I believe it is when the
test does not complete quickly enough.
2017-03-28 13:05:10 -07:00
Daniel Nelson
29ea9be71e
Add write timeout to Riemann output ( #2576 )
2017-03-27 15:49:45 -07:00
Daniel Nelson
a855718cd9
Skip elasticsearch output integration test in short mode
2017-03-27 15:05:06 -07:00
Daniel Nelson
d2afe424f5
Clarify influxdb output url format
...
closes #2568
2017-03-24 16:04:18 -07:00
Patrick Hemmer
c65cfb6a6e
remove sleep from tests ( #2555 )
2017-03-24 12:03:36 -07:00
Leandro Piccilli
a7e8bc1c02
Add Elasticsearch 5.x output ( #2332 )
2017-03-20 17:47:57 -07:00
Jack Zampolin
2fe161356b
AMQP Consumer plugin ( #1678 )
2017-03-03 10:24:50 -08:00
Cameron Sparr
ed43e1010b
Remove sleep from riemann test
2017-02-28 12:46:27 +00:00
Carlos
7f24cb1edd
Added default config to file output pugin's README ( #2426 )
2017-02-20 11:50:39 +01:00
Cameron Sparr
a29c02f09f
socket_writer output plugin README
2017-02-16 23:13:14 +00:00
Cameron Sparr
dfddcc5146
Fix prometheus_client reload behavior
...
fixes #2282
2017-02-16 21:57:13 +00:00
François de Metz
c1f825c705
Fix setting the username and the password to the influxdb output. ( #2401 )
2017-02-13 15:30:30 +00:00
Patrick Hemmer
510b750da4
add socket listener & writer ( #2094 )
...
closes #1516
closes #1711
closes #1721
closes #1526
2017-02-02 16:24:03 +00:00
Cameron Sparr
7bd6dc3d7f
Godeps update
...
closes #2356
2017-02-02 09:52:06 +00:00
Cameron Sparr
c88f2ba3a6
Fix riemann output unit tests
2017-01-27 15:08:21 -08:00
Fabio Berchtold
fc76f47e43
Rewriting Riemann output plugin ( #1900 )
...
* rename to riemann_legacy
Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
* initial draft for Riemann output plugin rewrite
Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
* add unit tests
Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
* add option to send string metrics as states
Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
* add integration tests
Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
* add plugin README.md
Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
* bump riemann library
* clarify settings description
Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
* update Readme.md with updated description
Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
* add Riemann event examples
Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
* use full URL for Riemann server address
Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
closes #1878
2017-01-27 14:54:59 -08:00
Cameron Sparr
a36fd375de
Revert using fasthttp library to net/http
2017-01-25 16:42:23 -08:00
Cameron Sparr
f5d892d7d3
Improve the InfluxDB through-put performance
...
This changes the current use of the InfluxDB client to instead use a
baked-in client that uses the fasthttp library.
This allows for significantly smaller allocations, the re-use of http
body buffers, and the re-use of the actual bytes of the line-protocol
metric representations.
2017-01-25 11:54:16 -08:00
Will Pearson
e1faf06974
Fix problem with graphite talking to closed connections ( #2171 )
...
We were having problems with telegraf talking to
carbon-relay-ng using the graphite output. When
the carbon-relay-ng server restarted the connection
the telegraf side would go into CLOSE_WAIT but telegraf
would continue to send statistics through the connection.
Reading around it seems you need to a read from the connection
and see a EOF error. We've implemented this and added a test
that replicates roughly the error we were having.
Pair: @whpearson @joshmyers
2017-01-24 12:50:29 -08:00
Cameron Sparr
819813ad72
influxdb output: treat field type conflicts as a successful write
...
If we write a batch of points and get a "field type conflict" error
message in return, we should drop the entire batch of points because
this indicates that one or more points have a type that doesnt match the
database.
These errors will never go away on their own, and InfluxDB will
successfully write the points that dont have a conflict.
closes #2245
2017-01-23 16:41:29 -08:00
Cameron Sparr
a852e8106e
opentsdb: add tcp:// prefix if not present
...
closes #2299
2017-01-23 13:45:16 -08:00
Cameron Sparr
c3d1da6b6b
Direct people to downloads page for installation
2017-01-13 17:02:10 +00:00
Cameron Sparr
9b0e1e9c49
OpenTSDB filter types for HTTP AND telnet
2017-01-13 11:44:28 +00:00
Kurt Mackey
6735d4e62c
Fix for broken librato output ( #2225 )
...
* Fix for broken librato output
These errors are delightful, but I'd rather avoid them:
```
Error parsing /etc/telegraf/telegraf.conf, line 2: field corresponding to `api_user' is not defined in `*librato.Librato'
```
* Fixed bad format from last commit
2017-01-09 14:48:32 +00:00
Mark Wolfe
829c190b8c
Moved to using the inbuilt serializer. ( #1942 )
...
* Moved to using the inbuilt serializer.
* Remove Atomic variable as it is not required.
* Adjusted metric type in line with latest changes.
2016-12-20 18:49:28 +00:00
Pieter Slabbert
182f282fd2
Enable setting a clientID for MQTT Output
...
closes #2079
closes #1910
2016-12-13 20:03:09 +00:00
Cameron Sparr
c4c13c4e90
Graylog output should set short_message field
...
closes #2045
2016-12-13 16:10:59 +00:00
Anthony Arnaud
a61148904d
Output openTSDB HTTPS with basic auth ( #1913 )
2016-12-13 14:15:51 +00:00
Cameron Sparr
a093ec1eaa
Kafka output fixup
2016-12-06 15:38:59 +00:00
Cameron Sparr
504f4e69db
file output plugin fixup
2016-12-02 11:36:22 +00:00
Cameron Sparr
e5c7a71d8e
Fix unit tests for new metric implementation
2016-12-01 18:17:02 +00:00
Cameron Sparr
db7a4b24b6
Implement telegraf's own full metric type
...
main reasons behind this:
- make adding/removing tags cheap
- make adding/removing fields cheap
- make parsing cheaper
- make parse -> decorate -> write out bytes metric flow much faster
Refactor serializer to use byte buffer
2016-12-01 18:17:02 +00:00
Cameron Sparr
f862c6585d
amqp precision is not used anymore
2016-11-24 10:17:24 +00:00
Cameron Sparr
9db30250c3
'discard' output plugin
2016-11-23 14:03:30 +00:00
Mike Ragalie
ff67a4b96c
Cache and expire metrics for prometheus output ( #2016 )
...
* Cache and expire metrics for prometheus output
* Fix test
* Use interval.Duration
* Default prometheus expiration interval to 60s
* Update changelog
2016-11-15 11:33:39 +00:00
John Engelman
b349800f7a
Fix up AWS plugin docs so they don't use single quotes. ( #1991 )
...
Also don't use named returns in fetchNamespaceMetrics since it's
non-standard for the rest of the codebase.
2016-11-04 13:16:41 +00:00
Paulo Pires
522658bd07
Fix NATS plug-ins reconnection logic ( #1955 )
...
* NATS output plug-in now retries to reconnect forever after a lost connection.
* NATS input plug-in now retries to reconnect forever after a lost connection.
* Fixes #1953
2016-10-26 15:45:33 +01:00
Cameron Sparr
1ff721ad84
Add riemann output plugin deprecation message
2016-10-11 12:28:20 +01:00
Eric
3e3b094270
Only log warning on type when in debug mode.
...
closes #1793
2016-10-11 11:35:43 +01:00
Eric
1f7a8fceef
Fixed json serialization to make sure only value type supported by OpenTSDB are sent and made sure we send numbers un-quoted event though OpenTSDB API accepts them as this is not clean json.
2016-10-11 11:32:24 +01:00
Edie Zhang
4f06f6b3d8
adding the tags in the graylog output plugin
...
closes #1861
2016-10-07 12:24:21 +01:00
Cameron Sparr
c7834209d2
Major Logging Overhaul
...
in this commit:
- centralize logging output handler.
- set global Info/Debug/Error log levels based on config file or flags.
- remove per-plugin debug arg handling.
- add a I!, D!, or E! to every log message.
- add configuration option to specify where to send logs.
closes #1786
2016-10-03 17:13:03 +01:00
Cameron Sparr
8d3285522c
Prometheus output: do not remake metrics map each write
...
closes #1775
2016-09-16 16:50:39 +01:00
Cameron Sparr
c3aa43a6bd
Fix prometheus output panic on reload
...
closes #1530
2016-09-12 10:46:37 +01:00
Cameron Sparr
8dd2a8527a
Refactor NATS ssl config
2016-09-06 13:52:29 +01:00
Paulo Pires
6b1cc67664
Add NATS output plugin.
...
Added NATS server container needed for tests.
Added NATS output plug-in. Fixes #1487
NATS output plug-in use internal.GetTLSConfig to instrument TLS configuration.
Added NATS output plug-in to changelog.
closes #1487
closes #1697
2016-09-06 11:39:57 +01:00
Cameron Sparr
03d8abccdd
Implement telegraf metric types
...
And use them in the prometheus output plugin.
Still need to test the prometheus output plugin.
Also need to actually create typed metrics in the system plugins.
closes #1683
2016-09-02 16:35:27 +01:00
Eric
6e33a6d62f
OpenTSDB HTTP output
...
closes #1539
First version of http put working
Refactored code to separate http handling from opentsdb module. Added batching support.
Fixed tag cleaning in http output and refactored telnet output.
Removed useless struct.
Fixed current unittest and added a new one.
Added benchmark test to test json serialization. Made sure http client would reuse connection.
Ran go fmt on opentsdb sources.
Updated README file
Removed useHttp in favor of parsing host string to determine the right API to use for sending metrics. Also renamed BatchSize to HttpBatchSize to better convey that it is only used when using Http API.
Updated changelog
Fixed format issues.
Removed TagSet type to make it more explicit.
Fixed unittest after removing TagSet type.
Revert "Updated changelog"
This reverts commit 24dba5520008d876b5a8d266c34a53e8805cc5f5.
Added PR under 1.1 release.
add missing redis metrics
This makes sure that all redis metrics are present without having to use a hard-coded list of what metrics to pull in.
2016-08-31 10:27:08 +01:00