Paweł Żak
960a1f7b14
chore: Fix linter findings for prealloc (part3) ( #12246 )
2022-11-21 21:53:55 +01:00
Sven Rebhan
bc56233e1b
feat(outputs.graylog): implement optional connection retries ( #11950 )
2022-11-17 07:03:04 -07:00
Paweł Żak
6816aefcd5
chore: fix linter findings for unparam and revive.unused-parameter ( #12150 )
2022-11-08 12:04:12 -07:00
Paweł Żak
9d9eb403a6
chore: Review of //nolint comments ( #12088 )
2022-10-26 12:06:08 +02:00
Paweł Żak
b1fc5254e5
chore(deps): bump testcontainers-go from 0.13.0 to 0.14.0 and address breaking change ( #12039 )
2022-10-18 10:18:52 -06:00
Paweł Żak
5878278fca
chore: resolve linter issues for unhandled-error ( #11969 )
2022-10-12 14:23:53 -06:00
Paweł Żak
85b7590ff9
chore: resolve linter issues for confusing-naming and confusing-results ( #11956 )
2022-10-12 13:19:47 -06:00
Sebastian Spaink
4913392b85
chore: Remove deprecated build tags ( #11867 )
2022-09-22 13:25:31 -05:00
Joshua Powers
8c49ddccc3
chore: update to go1.19.1 ( #11776 )
2022-09-08 12:49:36 -06:00
Sven Rebhan
75d766b715
feat(processors.starlark): Add starlark benchmark for tag-concatenation ( #11306 )
2022-08-04 18:30:03 +02:00
Sven Rebhan
9f57f9408c
chore(inputs.ntpq): Cleanup existing plugin ( #11575 )
2022-08-01 22:09:44 +02:00
dependabot[bot]
8c98d6092e
chore(deps): Bump github.com/testcontainers/testcontainers-go from 0.12.0 to 0.13.0 ( #11412 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Spaink <sspaink@influxdata.com>
2022-07-29 13:13:55 -05:00
Joshua Powers
58e01f72b2
test: add circle ci integration testing on PRs ( #11246 )
2022-06-03 10:33:28 -06:00
Joshua Powers
9daefaba11
test: harden running of testcontainer integration tests ( #11245 )
2022-06-03 10:29:08 -06:00
Joshua Powers
0147257358
test: enable logging with testcontainers ( #11211 )
2022-06-01 07:42:46 -06:00
Joshua Powers
1200f3c87e
test: refactor testcontainer port lookup ( #11198 )
2022-05-27 10:24:31 -06:00
Joshua Powers
912e3362d2
test: migrate openldap tests to test-containers ( #11169 )
2022-05-24 10:58:50 -06:00
Joshua Powers
5857966df1
test: migrate nsq to test containers ( #11173 )
2022-05-24 10:31:49 -06:00
Joshua Powers
94ad7f1bfa
test: migrate crate to test-containers code ( #11165 )
2022-05-24 09:28:40 -06:00
Joshua Powers
db3beab38b
test: add generic test-container code for re-use, migrate mysql ( #11157 )
2022-05-23 11:08:53 -06:00
Joshua Powers
deb0c6e207
test: update mongodb output to use test containers ( #11137 )
2022-05-19 14:14:02 -06:00
Eng Zer Jun
c3d176029d
test: use `T.TempDir` to create temporary test directory ( #10988 )
2022-04-18 13:27:59 -06:00
Paweł Żak
77390b6495
fix: linter fixes for "import-shadowing: The name '...' shadows an import name" ( #10689 )
2022-02-22 08:11:30 -07:00
bustedware
7d6672c53a
feat: add mongodb output plugin ( #9923 )
2021-10-28 14:42:49 -06:00
Eng Zer Jun
6a3b27126a
refactor: move from io/ioutil to io and os package ( #9811 )
2021-09-28 15:16:32 -06:00
Mya Longmire
da7f2c7a93
Bugfix outputs influxdb endless retires ( #9296 )
2021-06-10 16:05:43 -05: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
099ccda3f9
Linter fixes - gosimple ( #9046 )
2021-03-25 13:57:01 -04:00
Paweł Żak
74a1acd814
Linter fixes - revive:unused-parameter, unparam, varcheck and unused ( #8984 )
...
* Linter fixes - revive:unused-parameter and unparam
* Linter fixes - revive:unused-parameter and unparam
* Linter fixes - revive:unused-parameter and unparam
* "nolint"'s removed
* Fixes for "varcheck" and "unused" added.
* Fixes for "varcheck" and "unused" added.
* Fixes for "varcheck" and "unused" added.
* Fixes for "varcheck" and "unused" added.
* Fixes for "varcheck" and "unused" added.
* Fixes for "varcheck" and "unused" added.
* Fixes for "varcheck" and "unused" added.
Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-22 12:21:36 -05: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
reimda
431d06acc0
Add XML parser using XPath queries ( #8931 )
2021-03-03 13:26:09 -07:00
Andrés Álvarez
786dca2d5e
[plugins/input/docker] Make perdevice affect also cpu and add class granularity through perdevice_include/total_include ( #7312 )
2021-03-03 14:02:04 -05:00
Helen Weller
04e62e3d23
changed TestThreadStats acc to wait for 2 and added warning comment ( #8592 )
2020-12-17 19:32:49 -05:00
Steven Soroka
827b2d4df5
fix flakey tests
2020-10-09 16:10:17 -04:00
Steven Soroka
b2eb774049
http_listener_v2: make http header tags case insensitive ( #7986 )
2020-08-14 13:43:31 -04:00
Daniel Nelson
bf9c9bfe4d
Fix test race in kafka_consumer ( #7797 )
2020-07-07 14:04:55 -07:00
Steven Soroka
d75ca67e47
Execd processor ( #7640 )
2020-06-26 18:18:19 -04:00
Steven Soroka
5c8666d1af
clean up tests
2020-06-26 17:29:39 -04:00
Daniel Nelson
c73ed8ca6c
Export internal/tls package for use in execd plugins ( #7697 )
2020-06-25 11:44:22 -07:00
Steven Soroka
88b09cf18c
fix race
2020-06-24 13:29:44 -04:00
Josh Soref
2c56d6de81
Fix spelling errors in comments and documentation ( #7492 )
2020-05-14 00:41:58 -07:00
Daniel Nelson
38bc81e746
Fix atomic usage in tests ( #6964 )
2020-01-31 14:14:44 -08:00
Chris Goller
03a6910689
perf(inputs/influxdb_listener): benchmark serving writes ( #6673 )
...
* perf(inputs/influxdb_listener): benchmark serving writes
* chore(inputs/influxdb_listener): remove stray comment
2019-12-02 11:49:04 -07:00
Daniel Nelson
10db774db3
Add prometheus round trip unit tests ( #6720 )
2019-11-26 17:31:36 -08:00
Vishwanath
12ecdaba5b
Add prometheus metric_version = 2 and url tag configurable ( #5767 )
2019-11-20 20:53:57 -08:00
Daniel Nelson
8d96dd71c7
Allow graphite parser to create Inf and NaN values ( #6420 )
2019-09-19 20:03:10 -07:00
Greg
5c8d0e3ac9
Add ability to label inputs for logging ( #6207 )
2019-08-21 16:49:07 -07:00
Stanislav Putrya
149d221191
Add capability to limit TLS versions and cipher suites ( #6246 )
2019-08-19 16:01:01 -07:00
Daniel Nelson
a231b3e79d
Fix parsing of remote tcp address in statsd input ( #6031 )
2019-06-25 12:04:39 -07:00
Daniel Nelson
a0c739eec7
Follow up work on docker_log input ( #6008 )
2019-06-20 11:54:12 -07:00
Daniel Nelson
0ca8ea1724
Don't overwrite forecast points ( #5930 )
2019-05-31 16:22:37 -07:00
Sebastien Leger
484122b7d4
Add open_weather_map input plugin ( #5125 )
2019-05-30 15:17:04 -07:00
Daniel Nelson
a724bf487f
Add final aggregator ( #5820 )
2019-05-15 14:46:28 -07:00
Daniel Nelson
3c57dafece
Support Minecraft server 1.13 and newer ( #5733 )
2019-04-23 11:14:35 -07:00
Daniel Nelson
4e3244c575
Fix aggregator window and shutdown of multiple aggregators ( #5644 )
2019-03-29 15:40:33 -07:00
Daniel Nelson
843d842d02
Add stackdriver input plugin ( #5406 )
2019-02-20 13:23:59 -08:00
Grace Do
15c65b08e5
Check fields in testutil AssertDoesNotContainsTaggedFields ( #5365 )
2019-02-01 16:20:24 -08:00
Daniel Nelson
da80276802
Use lifo order in metric buffer ( #5287 )
2019-01-15 11:48:52 -08:00
Grace Do
625a1ca8fa
Use fieldsCopy in testutil.Accumulator AddFields ( #4970 )
2018-11-09 10:59:33 -08:00
Daniel Nelson
6e5c2f8bb6
Remove outputs blocking inputs when output is slow ( #4938 )
2018-11-05 13:34:28 -08:00
Trevor Pounds
ee056278f5
Enable gofmt code simplification ( #4887 )
2018-10-19 13:32:54 -07:00
Gunnar
f70d6519e7
Add Azure Monitor output plugin ( #4089 )
2018-09-05 14:50:32 -07:00
Chris Goller
0a4f827f9b
Provide function to test metric equality ( #4464 )
2018-07-24 19:29:00 -07:00
Daniel Nelson
1a407ceaf9
Add aurora input plugin ( #4158 )
2018-05-21 11:59:39 -07:00
Daniel Nelson
de355b76d6
Simplify testing with TLS ( #4095 )
2018-05-04 16:33:23 -07:00
Daniel Nelson
9f4752ba12
Add docker input server version ( #4035 )
2018-04-23 15:09:04 -07:00
Daniel Nelson
822cfbc8e8
Add support for using globs in devices list of diskio input plugin ( #3687 )
2018-01-17 15:12:05 -08:00
Jeremy Doupe
a6797a44d5
Add history and summary types to telegraf and prometheus plugins ( #3337 )
2017-10-24 16:28:52 -07:00
Daniel Nelson
761544f56d
Add HasPoint method to testutil.Accumulator
2017-10-09 15:02:57 -07:00
James
837e6b1a32
Add additional numeric type handling tests for postgresql_extensible ( #3066 )
2017-09-25 10:58:10 -07:00
Yann Cézard
681d20083a
Only report cpu usage for online cpus in docker input ( #3035 )
2017-07-21 14:25:17 -07:00
Frederick Roth
ac5ac3161f
Fixed inconsistency between HasIntField and IntField ( #2813 )
2017-05-16 15:25:30 -07:00
Daniel Nelson
1931aac284
Fix http_response input creation of transport on every gather
2017-05-09 16:23:38 -07:00
Ross McDonald
a3feacbd2f
Kapacitor input plugin ( #2031 )
2017-04-27 11:47:22 -07:00
Patrick Hemmer
06baf7cf78
use AddError everywhere ( #2372 )
2017-04-24 11:13:26 -07:00
Patrick Hemmer
03ee6022f3
fix race in testutil Accumulator.Wait() ( #2598 )
2017-03-29 17:03:06 -07:00
djjorjinho
cc5b2f68b6
fix timestamp parsing on prometheus plugin ( #2596 )
2017-03-29 15:04:29 -07:00
Patrick Hemmer
1402c158b7
remove sleep from tests ( #2555 )
2017-03-24 12:03:36 -07:00
Daniel Nelson
a962e958eb
Refactor procstat input ( #2540 )
...
fixes #1636
fixes #2315
2017-03-17 16:49:11 -07:00
Patrick Hemmer
b3537ef2a8
add socket listener & writer ( #2094 )
...
closes #1516
closes #1711
closes #1721
closes #1526
2017-02-02 16:24:03 +00:00
James
b9ae3d6a57
fix postgresql 'name', and 'oid' data types by switching to a driver ( #1750 )
...
that handles them properly
2017-01-24 12:36:36 -08:00
Cameron Sparr
d71a42cd1b
Implement telegraf collecting stats on itself
...
closes #1348
2016-12-05 18:56:54 +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
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
Cameron Sparr
ef885eda62
Change minmax aggregator to store float64
2016-10-12 14:50:19 +01:00
Cameron Sparr
b18d375d6c
Implement AddGauge & AddCounter functions
...
and utilize them in the in the 'system' input plugins.
2016-09-02 16:51:26 +01:00
Cameron Sparr
6dbbe65897
Remove Add() function from accumulator
2016-09-02 16:35:27 +01:00
Cameron Sparr
c991b579d2
tcp/udp listeners, remove locks & improve test coverage
2016-07-28 13:42:34 +01:00
Patrick Hemmer
e68f251df7
add AddError method to accumulator ( #1536 )
2016-07-25 13:09:49 +01:00
Cameron Sparr
d7efb7a71d
Add precision rounding to accumulator
...
Adding precision rounding to the accumulator. This means that now every
input metric will get rounded at collection, rather than at write (and
only for the influxdb output).
This feature is disabled for service inputs, because service inputs
should be in control of their own timestamps & precisions.
2016-06-14 00:36:39 +01:00
Cameron Sparr
918c3fb260
httpjson test real response from issue #729
2016-02-23 09:34:01 -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
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
9ada89d51a
0.3.0 unit tests: jolokia, kafka_consumer, leofs, lustre2
2016-01-06 16:55:28 -07:00
Cameron Sparr
524fddedb4
0.3.0 unit tests: exec, httpjson, and haproxy
2016-01-06 16:11:16 -07:00
Cameron Sparr
2e20fc413c
0.3.0 unit tests: aerospike, apache, bcache
2016-01-05 23:48:59 -07:00
Cameron Sparr
498482d0f6
0.3.0 unit tests: system plugins
2016-01-05 23:48:59 -07:00
Cameron Sparr
b975419bc7
Apache plugin unit tests and README
2015-11-13 13:01:00 -07:00