Daniel Nelson
e8d9add2d1
Expire metrics on query in addition to on add ( #6981 )
...
Ensures that expired metrics are removed even when no new data is sent
to the output.
2020-02-04 16:12:23 -07:00
Daniel Nelson
aabc7e7d4f
Replace colon chars in prometheus output labels with metric_version=1 ( #6781 )
2019-12-10 12:59:16 -08:00
Daniel Nelson
10db774db3
Add prometheus round trip unit tests ( #6720 )
2019-11-26 17:31:36 -08:00
Daniel Nelson
80c5edd48e
Add prometheus serializer and use it in prometheus output ( #6703 )
2019-11-26 15:46:31 -08:00
Daniel Nelson
5bd5cdc6d7
Build official packages with Go 1.13.1 ( #6462 )
2019-10-07 21:08:28 -07:00
Daniel Nelson
328a2bf16f
Remove advanced TLS conf from prometheus output sample config
2019-08-19 17:42:41 -07:00
Stanislav Putrya
149d221191
Add capability to limit TLS versions and cipher suites ( #6246 )
2019-08-19 16:01:01 -07:00
Robert Sullivan
e5215d74db
Allow colons in metric names in prometheus_client output ( #5680 )
2019-04-04 16:38:33 -07:00
Greg
d738892c0b
Remove tags that would create invalid label names in prometheus output ( #5663 )
2019-04-02 12:42:48 -07:00
Daniel Nelson
91cd17fd40
Use random available port in prometheus output tests ( #5555 )
2019-03-08 14:54:16 -08:00
Daniel Nelson
b5adaff07f
Sort metrics by timestamp in prometheus output ( #5534 )
2019-03-05 11:08:02 -08:00
Greg
30fcaf0987
Improve error handling in prometheus output ( #5512 )
2019-03-01 13:26:11 -08:00
Daniel Nelson
2c09010f72
Listen before returning from Connect in prometheus output ( #5509 )
2019-03-01 11:19:31 -08:00
Max Eshleman
b34ad9efc4
update sample config for prometheus output client
...
Signed-off-by: Robert Sullivan <rsullivan@pivotal.io>
2019-02-26 11:46:49 -07:00
Max Eshleman
a85833ae53
replace gomega with require in prometheus output client tests
...
Signed-off-by: Robert Sullivan <rsullivan@pivotal.io>
2019-02-26 11:34:50 -07:00
Robert Sullivan
05af32b191
Clean up TLS configuration in prometheus_client output plugin
...
Signed-off-by: Jesse Weaver <jeweaver@pivotal.io>
2019-02-22 15:26:32 -07:00
Jesse Weaver
c9fb1fcdca
Add mutual TLS support to prometheus_client output plugin
...
Signed-off-by: Robert Sullivan <rsullivan@pivotal.io>
2019-02-22 12:19:29 -07:00
Daniel Nelson
ab1a1b075d
Disable export_timestamp by default in prometheus output
2019-02-14 15:09:12 -08:00
Artem V. Navrotskiy
3380fdf69d
Add option to report input timestamp in prometheus output ( #5292 )
2019-01-17 10:51:18 -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
Daniel Nelson
80346b2e93
Update prometheus output sample config and README
2018-08-24 16:37:11 -07:00
dupondje
e1160c26bc
Add ip restriction for the prometheus_client output ( #4431 )
2018-08-01 16:43:34 -06:00
Daniel Nelson
7177e0473f
Fix conversion of unsigned ints in prometheus output ( #3978 )
2018-04-05 16:38:41 -07:00
S
53221d87eb
Add option to disable labels in prometheus output for string fields ( #3765 )
2018-02-16 14:07:26 -08:00
Philipp Weber
b7a68eef56
Remove userinfo from url tag in prometheus input ( #3743 )
2018-02-05 11:16:00 -08:00
Philipp Weber
a2635573a8
Add TLS and http basic_auth to prometheus_client output ( #3719 )
2018-02-01 11:12:16 -08:00
Daniel Nelson
8484de6c12
Fix separation of multiple prometheus_client outputs ( #3570 )
2017-12-11 18:00:19 -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
ec4efe5b03
Use labels in prometheus output for string fields ( #3350 )
2017-10-18 17:42:30 -07:00
Daniel Nelson
6e5915c59f
Fix prometheus passthrough for existing value types ( #3351 )
2017-10-18 14:51:08 -07:00
Paulo Cabido
decb09e760
Add configurable metrics endpoint to prometheus output ( #3245 )
2017-09-19 11:27:11 -07:00
Daniel Nelson
1e2d594af0
Converge to typed value in prometheus output ( #3104 )
2017-08-10 10:19:28 -07:00
Daniel Nelson
82ea04f188
Fix prometheus output cannot be reloaded ( #3053 )
2017-07-25 15:41:18 -07:00
Song Wenhao
0f850400f2
Display error message if prometheus output fails to listen ( #2984 )
2017-07-05 14:28:44 -07:00
Aleksey Shirokih
a8a637809e
Change default prometheus_client port ( #2973 )
2017-06-29 14:03:42 -07:00
Daniel Nelson
929ba0a637
Remove label value sanitization in prometheus output ( #2939 )
2017-06-21 12:36:29 -07:00
trastle
00b37a7c0d
Update README for Prometheus Client Output ( #2452 )
2017-06-19 11:04:08 -07:00
Daniel Nelson
949072e8dc
Ensure prometheus metrics have same set of labels ( #2857 )
2017-06-13 18:04:26 -07:00
Cameron Sparr
54c9a385d5
Fix prometheus_client reload behavior
...
fixes #2282
2017-02-16 21:57:13 +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
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
8d3285522c
Prometheus output: do not remake metrics map each write
...
closes #1775
2016-09-16 16:50:39 +01:00
Cameron Sparr
c3aa43a6bd
Fix prometheus output panic on reload
...
closes #1530
2016-09-12 10:46:37 +01:00
Cameron Sparr
03d8abccdd
Implement telegraf metric types
...
And use them in the prometheus output plugin.
Still need to test the prometheus output plugin.
Also need to actually create typed metrics in the system plugins.
closes #1683
2016-09-02 16:35:27 +01:00
Cameron Sparr
1c24665b29
Prometheus client & win_perf_counters char changes
...
1. in prometheus client, do not check for invalid characters anymore,
because we are already replacing all invalid characters with regex
anyways.
2. in win_perf_counters, sanitize field name _and_ measurement name.
Also add '%' to the list of sanitized characters, because this character
is invalid for most output plugins, and can also easily cause string
formatting issues throughout the stack.
3. All '%' will now be translated to 'Percent'
closes #1430
2016-07-21 16:24:19 +01:00
Cameron Sparr
b4a6d9c647
Change prometheus replacer to reverse regex replacer
...
closes #1474
2016-07-18 11:50:22 +01:00
Cameron Sparr
6efe91ea9c
prometheus_client, implement Collector interface
...
closes #1334
2016-07-13 06:52:18 -06:00
Cameron Sparr
f62c493c77
Recover from prometheus multiple handler panic
...
closes #1339
2016-06-23 14:29:35 +01:00