Paweł Żak
257083dba8
chore: bump go to 1.20 for golangci-lint-action ( #12614 )
2023-02-03 14:35:29 -07:00
Sven Rebhan
e6de0cc9c2
chore(internal.gzip): cleanup CompressWithGzip ( #12587 )
2023-02-01 11:20:11 -07:00
Paweł Żak
e84df8983a
chore: Fix linter findings for errname ( #12253 )
2022-11-21 21:11:07 +01:00
Paweł Żak
08c1ce9cb6
chore: Resolve linter issues for ineffassign, nilerr, gosimple... ( #11966 )
2022-10-12 13:08:03 -06:00
Sven Rebhan
758f2cba7a
fix(parser.xpath): Handle floating-point times correctly ( #11875 )
2022-10-03 08:32:52 -06:00
Sebastian Spaink
a57434eb4e
feat: Migrate to urfave/cli ( #11700 )
2022-08-24 21:46:58 -05:00
Povilas Versockas
447e8a385e
fix: refactor telegraf version ( #11656 )
2022-08-17 13:08:31 -06:00
Howie
381dc22723
chore: typos across source code comments ( #10361 )
2022-01-05 08:20:10 -07:00
reimda
df6bf48f8d
feat: Implement deprecation infrastructure ( #10200 )
2021-12-01 12:38:43 -07:00
Sven Rebhan
908ad2f6ce
Generic SQL input ( #8735 )
2021-06-15 13:10:52 -06:00
Jess Ingrassellino
ad6d25aebc
Addresses issues in PR 4928 ( #9087 )
2021-06-01 17:05:49 -04:00
Sven Rebhan
9853bf6c54
Get rid of deprecated internal.{Duration,Size,Number} ( #8969 )
2021-04-09 13:15:04 -04: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
fd76c8bf21
Rework plugin tickers to prevent drift and spread write ticks ( #7390 )
2020-05-06 11:59:16 -07:00
陈方舟
fa2f0fff4e
Fix influxdb output serialization on connection closed ( #6621 )
2019-11-13 12:56:01 -08:00
Daniel Nelson
6dc61be6eb
Fix detection of layout timestamps ( #6390 )
2019-09-16 16:32:14 -07:00
Daniel Nelson
b578586d4a
Send TERM to exec processes before sending KILL signal ( #6302 )
2019-08-22 10:50:02 -07:00
Greg
10671d2641
Stop timer when command exits in WaitTimeout ( #6296 )
2019-08-21 11:13:38 -07:00
Greg
819bf8e99d
Add exec output plugin ( #6267 )
2019-08-20 17:07:24 -07:00
Pitxyoki
72c2ac9648
Support floats in statsd percentiles ( #5572 )
2019-07-09 16:50:20 -07:00
Daniel Nelson
aaaad4d217
Add health output plugin ( #5882 )
2019-05-29 18:31:06 -07:00
Daniel Nelson
e52f7056ba
Fix parse of unix timestamp with more than ns precision ( #5826 )
2019-05-14 11:29:44 -07:00
Daniel Nelson
4e3244c575
Fix aggregator window and shutdown of multiple aggregators ( #5644 )
2019-03-29 15:40:33 -07:00
Douglas Drinka
1886676e14
Support configuring a default timezone in JSON parser ( #5472 )
2019-02-25 11:30:33 -08:00
Greg
10ac030502
Unify time parsing in json/csv parsers ( #5382 )
2019-02-05 17:43:35 -08:00
emily
f42d9378ba
Add cloud_pubsub input plugin ( #5136 )
2019-01-03 16:20:07 -08:00
Daniel Nelson
6e5c2f8bb6
Remove outputs blocking inputs when output is slow ( #4938 )
2018-11-05 13:34:28 -08:00
Samuel-BF
589d0587f6
Add ability to specify bytes options as strings with units (KB, MiB, ...) ( #4852 )
2018-10-19 11:17:18 -07:00
Kevin Conaway
7bb219222a
Add internal function for telegraf version ( #4828 )
2018-10-09 13:45:07 -07:00
Mihai Todor
f3da717a88
Add entity-body compression to http output ( #4807 )
2018-10-05 15:06:41 -07:00
Lee Jaeyong
a086ea6989
Use time.AfterFunc to avoid need for goroutine in WaitTimeout ( #4702 )
2018-09-26 19:15:38 -07:00
maxunt
39206677f8
Add new measurement with results of pgrep lookup to procstat input ( #4307 )
2018-06-19 11:47:13 -07:00
Daniel Nelson
de355b76d6
Simplify testing with TLS ( #4095 )
2018-05-04 16:33:23 -07:00
Bob Shannon
0b4f4b089f
Add TLS support to socket_writer and socket_listener plugins ( #4021 )
2018-04-17 17:02:04 -07:00
Cameron Sparr
0ecbf9e349
Fix single quote parsing of TOML durations
...
closes #2023
2016-11-10 09:47:46 +00:00
Cameron Sparr
f729fa990d
Unit testing for internal.Duration Unmarshal
...
closes #1926
2016-10-25 13:11:32 +01:00
Alex Zorin
662db7a944
Fix panic in internal.Duration UnmarshalTOML
2016-10-25 18:30:01 +11: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
Mike Glazer
e3448153e1
Allow for TLS connections to ElasticSearch ( #1398 )
...
* Allow for TLS connections to ElasticSearch
Extremely similar implementation to the HTTP JSON module's
implementation of the same code.
* Changelog update
2016-06-22 16:23:49 +01:00
Cameron Sparr
cb3c54a1ae
logparser input plugin
...
closes #102
closes #328
2016-06-21 14:23:01 +01:00
Cameron Sparr
892abec025
Refactor collection_jitter and flush_jitter
...
use a common function between collection_jitter and flush_jitter. which
creates the same behavior between the two options.
going forward, both jitters will be random sleeps that get re-evaluated
at runtime for every interval (previously only collection_jitter did
this)
also fixes behavior so that both jitters will exit in the event of a
process exit.
closes #1296
2016-05-31 14:24:32 +01:00
Cameron Sparr
9bbdb2d562
Allow wildcard filtering of varnish stats
...
closes #1275
2016-05-26 10:42:34 +01:00
Cameron Sparr
c44ecf54a5
Utilize timeout in net_response plugin.
...
Also changing the net_response and http_response plugins to only accept
duration strings for their timeout parameters. This is a breaking config
file change.
closes #1214
2016-05-23 15:59:23 +01:00
Cameron Sparr
3f807a9432
Implement timeouts for all exec command runners
...
First is to write an internal CombinedOutput and Run function with a
timeout.
Second, the following instances of command runners need to have timeouts:
plugins/inputs/ping/ping.go
125: out, err := c.CombinedOutput()
plugins/inputs/exec/exec.go
91: if err := cmd.Run(); err != nil {
plugins/inputs/ipmi_sensor/command.go
31: err := cmd.Run()
plugins/inputs/sysstat/sysstat.go
194: out, err := cmd.CombinedOutput()
plugins/inputs/leofs/leofs.go
185: defer cmd.Wait()
plugins/inputs/sysstat/sysstat.go
282: if err := cmd.Wait(); err != nil {
closes #1067
2016-04-29 12:06:22 -06:00
Cameron Sparr
81d0a64d46
Adds support for removing/keeping tags from metrics
...
closes #706
2016-04-16 15:13:38 -06:00
Cameron Sparr
21ece2d76d
Convert ipmi stats/tags to underscore and lowercase
...
closes #888
2016-03-29 11:39:57 -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
Eugene Dementiev
530b4f3bee
[amqp output] Allow external auth (cert-based tls auth)
...
closes #863
2016-03-16 19:03:41 -06: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