Paweł Żak
2e246d0270
chore(linter): Address findings for `staticcheck->QF1001` - Apply De Morgan’s law ( #16881 )
2025-04-30 17:43:13 +01:00
Paweł Żak
9415d8e7e9
chore(linters): Enable `import-alias-naming` and `redundant-import-alias` rules for revive ( #15836 )
2024-10-01 13:49:53 -05:00
Morian Sonnet
42401a3175
fix(outputs.graphite): Handle local address without port correctly ( #15224 )
2024-04-25 13:25:34 -05:00
Sven Rebhan
f235fcc640
feat(outputs.graphite): Allow to set the local address to bind ( #14628 )
2024-02-05 10:23:34 -07:00
Sven Rebhan
533ede7a32
fix(outputs.graphite): Rework connection handling ( #13527 )
2023-07-05 21:15:58 +02:00
Sven Rebhan
bbe30f769d
chore(serializers.graphite): Migrate to new-style framework ( #13321 )
2023-05-24 08:49:41 -06:00
Max
cf7ec5072d
fix(outputs.graphite): Fix logic to reconnect with servers that were not up on agent startup ( #13228 ) ( #13239 )
2023-05-04 19:20:20 +02:00
Joshua Powers
3c8277d502
fix(outputs.graphite): Add custom regex to outputs ( #12908 )
2023-03-22 13:32:41 +01:00
Joshua Powers
7284c126ce
fix(serializers.graphite): Allow for specifying regex to sanitize ( #12835 )
2023-03-14 11:46:44 +01:00
Paweł Żak
39d6b1d5cb
chore: Fix linter findings for errorlint (part3) ( #12704 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-22 13:38:16 +01:00
Paweł Żak
17c77df228
chore: Bump golangci-lint from v1.50.1 to v1.51.0 ( #12605 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-03 10:27:47 +01:00
Paweł Żak
8e9a513157
chore: Wrap long lines in plugins/outputs ( #12179 )
2022-11-08 16:05:55 +01:00
Sebastian Spaink
d67f75e557
docs: Remove warning not to remove go:embed ( #11797 )
...
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2022-09-13 12:47:58 -05:00
Joshua Powers
8c49ddccc3
chore: update to go1.19.1 ( #11776 )
2022-09-08 12:49:36 -06:00
Sebastian Spaink
beb18d9389
feat(outputs.graphite): Retry connecting to servers with failed send attempts ( #11439 )
2022-07-25 13:06:30 -06:00
Joshua Powers
2fc19fa308
chore: correctly spell embed ( #11200 )
2022-05-27 07:13:47 -06:00
Sven Rebhan
d9a6d8b774
chore: embed sample configurations into README for outputs ( #11182 )
2022-05-25 08:48:59 -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
Greg Linton
df47b41668
Allow more characters in graphite tags ( #9249 )
2021-05-18 12:29:30 -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
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
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
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