Sven Rebhan
d9a6d8b774
chore: embed sample configurations into README for outputs ( #11182 )
2022-05-25 08:48:59 -06:00
Sebastian Spaink
256caede89
chore(outputs): migrate sample configs into separate files ( #11131 )
2022-05-18 11:30:06 -05:00
Joshua Powers
0d18847f59
fix: check net.Listen() error in tests ( #11093 )
2022-05-16 13:37:53 -06:00
reimda
6ba3b1e91e
chore: Fix readme linter errors for output plugins ( #10951 )
2022-04-21 09:45:47 -06:00
Sebastian Spaink
a7df6c6aa6
feat: migrate output plugins to new sample config format ( #10910 )
2022-04-07 15:55:03 -06:00
Paweł Żak
020b77b239
fix: Linter fixes for plugins/outputs/[g-m]* ( #10127 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-24 12:40:25 -07:00
Joshua Powers
0d8d118319
chore: clean up all markdown lint errors in output plugins ( #10159 )
2021-11-24 11:47:33 -07:00
Greg Linton
df47b41668
Allow more characters in graphite tags ( #9249 )
2021-05-18 12:29:30 -04:00
David Bennett
842a788022
Remove error return type from metric.New method ( #9116 )
...
* Remove error return type from metric.New method.
* Formatting changes for linter + gofmt
* Additional linter fixes.
* More linter fixes.
* Linter fix.
* address comments
2021-04-13 14:40:03 -04:00
Paweł Żak
38c61c07ef
Revive fixes - part 4: ( #8981 )
...
empty-lines
Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-12 14:21:51 -06:00
Paweł Żak
ba66d4facb
Revive fixes - part 1 ( #8797 )
...
* Revive fixes regarding following set of rules:
[rule.blank-imports]
[rule.context-as-argument]
[rule.context-keys-type]
[rule.dot-imports]
[rule.error-return]
[rule.error-strings]
[rule.indent-error-flow]
[rule.errorf]
2021-02-08 11:18:40 -05:00
Steven Soroka
9814d3d84d
fix some annoying tests due to ports in use
2021-01-08 17:30:43 -05:00
Daniel Nelson
c73ed8ca6c
Export internal/tls package for use in execd plugins ( #7697 )
2020-06-25 11:44:22 -07:00
ihard
94c75b51a8
Add configurable separator graphite serializer and output ( #7545 )
2020-05-20 17:15:18 -07:00
Ilya Antipov
0cad343de7
Support multiple templates for graphite serializers ( #7136 )
2020-03-31 11:30:21 -07:00
Trevor Pounds
17360f079c
Fix spelling mistakes ( #4888 )
2018-10-19 11:12:01 -07:00
Daniel Nelson
6a21e23bcc
Update graphite output dataf format docs
2018-05-21 16:39:33 -07:00
Pavel Boev
7660315e45
Add support for Graphite 1.1.x tags ( #4165 )
2018-05-21 15:59:56 -07:00
Daniel Nelson
de355b76d6
Simplify testing with TLS ( #4095 )
2018-05-04 16:33:23 -07:00
Piotr Popieluch
f374a295d9
Reconnect before sending graphite metrics if disconnected ( #3680 )
2018-01-17 15:27:24 -08:00
Maximilien Richer
5f215c22fe
Fix typos in comments ( #3415 )
2017-10-31 17:00:06 -07:00
Dheeraj Dwivedi
f0cbfe4d67
Add secure connection support to graphite output ( #2602 )
2017-06-13 13:42:11 -07:00
Patrick Hemmer
1402c158b7
remove sleep from tests ( #2555 )
2017-03-24 12:03:36 -07:00
Will Pearson
d7a8bb2214
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
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
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
69ab8a645c
graphite output: set write deadline on TCP connection
2016-07-14 09:16:29 -06:00
Kostas Botsas
7b550c11cb
Documentation for load balancing on graphite output servers ( #1469 )
...
* Added documentation for load balancing on graphite output servers
* clarifications
* updates1
* updates2
* updates3
2016-07-14 09:06:00 -06:00
Cameron Sparr
1f10639222
Fix Graphite output mangling '%' character.
...
closes #1377
2016-06-21 11:52:49 +01:00
Cameron Sparr
f5878eafb9
Create a template system for the graphite serializer
...
closes #925
closes #879
2016-04-11 16:30:18 -06:00
Cameron Sparr
8d2e5f0bda
Seems to be a toml parse bug around triple pounds
2016-02-18 14:36:03 -07:00
Cameron Sparr
a9c135488e
Add Serializer plugins, and 'file' output plugin
2016-02-12 14:13:49 -07:00
Cameron Sparr
fb75db2f1f
re-arrange and cleanup graphite output test
2016-02-09 11:01:13 -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
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
9d4b55be19
Include all tag values in graphite output
...
closes #595
2016-01-28 10:58:35 -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
Jack Zampolin
0cdf1b07e9
Fix issue 524
2016-01-20 10:57:35 -08: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