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
Sven Rebhan
8e7da355b3
Linter fixes (unhandled errors) -- Part 1 ( #8992 )
2021-04-08 11:43:39 -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
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
Dmitry Senin
0ccb134ae4
Add a parser plugin for prometheus ( #7778 )
2020-12-02 12:48:44 -07:00
Paweł Żak
c8e69aca3c
Fixed almost all bugs found by LGTM analysis platform ( #8240 )
2020-10-08 11:20:35 -04:00
Anthony Arnaud
8c99dc7b5e
Use the same timestamp per call if no time is provided ( #7063 )
2020-02-25 12:19:28 -08:00
Daniel Nelson
0710cc7488
Parse NaN values from summary types in prometheus input ( #6997 )
2020-02-10 14:18:29 -08:00
Vishwanath
12ecdaba5b
Add prometheus metric_version = 2 and url tag configurable ( #5767 )
2019-11-20 20:53:57 -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
6e5915c59f
Fix prometheus passthrough for existing value types ( #3351 )
2017-10-18 14:51:08 -07:00
Daniel Nelson
daee48c861
Update prometheus input documentation
2017-09-18 16:21:45 -07: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
e1c3800cd9
Prometheus parser fix, parse headers properly
...
closes #1458
2016-07-09 22:34:59 +02: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
Tobias Schoknecht
75e6cb9064
Fixed incorrect prometheus metrics source selection ( #1337 )
...
Metrics type summary should retrieve values via GetSummary
while histogram should retrieve values via GetHistogram for
both count and sum
2016-06-09 22:50:00 +01:00
Thibault Cohen
bac1c223de
Improve prometheus plugin
...
closes #707
2016-03-16 19:00:06 -06:00