From 30e343a43db85b5c6fcf5d70d804df06d2e01a53eccfebf63573dac396e245bb Mon Sep 17 00:00:00 2001 From: Jordi Massaguer Date: Wed, 18 Apr 2018 17:02:51 +0000 Subject: [PATCH] Accepting request 597837 from home:mschnitzer - Release 1.6.0 * Release Notes - The mysql input plugin has been updated fix a number of type convertion issues. This may cause a field type error when inserting into InfluxDB due the change of types. - To address this we have introduced a new metric_version option to control enabling the new format. For in depth recommendations on upgrading please reference the mysql plugin documentation. - It is encouraged to migrate to the new model when possible as the old version is deprecated and will be removed in a future version. - The postgresql plugins now defaults to using a persistent connection to the database. In environments where TCP connections are terminated the max_lifetime setting should be set less than the collection interval to prevent errors. - The sqlserver input plugin has a new query and data model that can be enabled by setting query_version = 2. It is encouraged to migrate to the new model when possible as the old version is deprecated and will be removed in a future version. - An option has been added to the openldap input plugin that reverses metric name to improve grouping. This change is enabled when reverse_metric_names = true is set. It is encouraged to enable this option when possible as the old ordering is deprecated. - The new http input configured with data_format = "json" can perform the same task as the, now deprecated, httpjson input. * New Inputs http - Thanks to @grange74 ipset - Thanks to @sajoupa nats - Thanks to @mjs & @levex * New Processors override - Thanks to @KarstenSchnitter * New Parsers dropwizard - Thanks to @atzoum * Features #3551: Add health status mapping from string to int in elasticsearch input. #3580: Add control over which stats to gather in basicstats aggregator. #3596: Add messages_delivered_get to rabbitmq input. #3632: Add wired field to mem input. #3619: Add support for gathering exchange metrics to the rabbitmq input. #3565: Add support for additional metrics on Linux in zfs input. #3524: Add available_entropy field to kernel input plugin. OBS-URL: https://build.opensuse.org/request/show/597837 OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/telegraf?expand=0&rev=4 --- feature_passive_amqp_exchange.patch | 12 ++-- telegraf-1.5.3.tar.gz | 3 - telegraf-1.6.0.tar.gz | 3 + telegraf-deps.tar.bz2 | 4 +- telegraf.changes | 99 +++++++++++++++++++++++++++++ telegraf.spec | 2 +- 6 files changed, 111 insertions(+), 12 deletions(-) delete mode 100644 telegraf-1.5.3.tar.gz create mode 100644 telegraf-1.6.0.tar.gz diff --git a/feature_passive_amqp_exchange.patch b/feature_passive_amqp_exchange.patch index 88cf315..53ffd0c 100644 --- a/feature_passive_amqp_exchange.patch +++ b/feature_passive_amqp_exchange.patch @@ -1,7 +1,7 @@ -Index: telegraf-1.5.3/plugins/inputs/amqp_consumer/amqp_consumer.go +Index: telegraf-1.6.0/plugins/inputs/amqp_consumer/amqp_consumer.go =================================================================== ---- telegraf-1.5.3/plugins/inputs/amqp_consumer/amqp_consumer.go.original 2018-02-12 11:44:32.583888582 +0100 -+++ telegraf-1.5.3/plugins/inputs/amqp_consumer/amqp_consumer.go 2018-02-12 11:53:42.111013874 +0100 +--- telegraf-1.6.0/plugins/inputs/amqp_consumer/amqp_consumer.go.original 2018-02-12 11:44:32.583888582 +0100 ++++ telegraf-1.6.0/plugins/inputs/amqp_consumer/amqp_consumer.go 2018-02-12 11:53:42.111013874 +0100 @@ -20,6 +20,7 @@ URL string // AMQP exchange @@ -55,10 +55,10 @@ Index: telegraf-1.5.3/plugins/inputs/amqp_consumer/amqp_consumer.go if err != nil { return nil, fmt.Errorf("Failed to declare an exchange: %s", err) } -Index: telegraf-1.5.3/etc/telegraf.conf +Index: telegraf-1.6.0/etc/telegraf.conf =================================================================== ---- telegraf-1.5.3/etc/telegraf.conf.original 2018-02-12 14:06:03.304072548 +0100 -+++ telegraf-1.5.3/etc/telegraf.conf 2018-02-12 14:06:27.544041814 +0100 +--- telegraf-1.6.0/etc/telegraf.conf.original 2018-02-12 14:06:03.304072548 +0100 ++++ telegraf-1.6.0/etc/telegraf.conf 2018-02-12 14:06:27.544041814 +0100 @@ -2747,6 +2747,7 @@ # url = "amqp://localhost:5672/influxdb" # ## AMQP exchange diff --git a/telegraf-1.5.3.tar.gz b/telegraf-1.5.3.tar.gz deleted file mode 100644 index 093e9c7..0000000 --- a/telegraf-1.5.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0f2cedbed05a82938fefac14258390839a61aa82dd87a4350a608b70196e292b -size 911976 diff --git a/telegraf-1.6.0.tar.gz b/telegraf-1.6.0.tar.gz new file mode 100644 index 0000000..72ff3ff --- /dev/null +++ b/telegraf-1.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb4087823d0bbc83c04eebfe4a3c0ad595de457afec5f4adaa1b796b25af614d +size 969158 diff --git a/telegraf-deps.tar.bz2 b/telegraf-deps.tar.bz2 index b005a4d..68e71ed 100644 --- a/telegraf-deps.tar.bz2 +++ b/telegraf-deps.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:42ff3e8df62a20fc2b2c27da0186fd1767d42d93bb8869c705dd314de6fc279b -size 34194837 +oid sha256:e931a8f3b8da78029e3d9e997098aed6db39b463c65edff32ad5e3b14c47fc9b +size 46399302 diff --git a/telegraf.changes b/telegraf.changes index 990c17b..12615b5 100644 --- a/telegraf.changes +++ b/telegraf.changes @@ -1,3 +1,102 @@ +------------------------------------------------------------------- +Wed Apr 18 16:17:05 UTC 2018 - mschnitzer@suse.com + +- Release 1.6.0 + + * Release Notes + + - The mysql input plugin has been updated fix a number of type convertion issues. This may cause a field type error when inserting + into InfluxDB due the change of types. + + - To address this we have introduced a new metric_version option to control enabling the new format. For in depth recommendations on + upgrading please reference the mysql plugin documentation. + + - It is encouraged to migrate to the new model when possible as the old version is deprecated and will be removed in a future version. + + - The postgresql plugins now defaults to using a persistent connection to the database. In environments where TCP connections are + terminated the max_lifetime setting should be set less than the collection interval to prevent errors. + + - The sqlserver input plugin has a new query and data model that can be enabled by setting query_version = 2. It is encouraged to + migrate to the new model when possible as the old version is deprecated and will be removed in a future version. + + - An option has been added to the openldap input plugin that reverses metric name to improve grouping. This change is enabled + when reverse_metric_names = true is set. It is encouraged to enable this option when possible as the old ordering is deprecated. + + - The new http input configured with data_format = "json" can perform the same task as the, now deprecated, httpjson input. + + * New Inputs + http - Thanks to @grange74 + ipset - Thanks to @sajoupa + nats - Thanks to @mjs & @levex + + * New Processors + override - Thanks to @KarstenSchnitter + + * New Parsers + dropwizard - Thanks to @atzoum + + * Features + #3551: Add health status mapping from string to int in elasticsearch input. + #3580: Add control over which stats to gather in basicstats aggregator. + #3596: Add messages_delivered_get to rabbitmq input. + #3632: Add wired field to mem input. + #3619: Add support for gathering exchange metrics to the rabbitmq input. + #3565: Add support for additional metrics on Linux in zfs input. + #3524: Add available_entropy field to kernel input plugin. + #3643: Add user privilege level setting to IPMI sensors. + #2701: Use persistent connection to postgresql database. + #2846: Add support for dropwizard input format. + #3666: Add container health metrics to docker input. + #3687: Add support for using globs in devices list of diskio input plugin. + #2754: Allow running as console application on Windows. + #3703: Add listener counts and node running status to rabbitmq input. + #3674: Add NATS Monitoring Input Plugin. + #3702: Add ability to select which queues will be gathered in rabbitmq input. + #3726: Add support for setting bsd source address to the ping input. + #3346: Add Ipset input plugin. + #3719: Add TLS and HTTP basic auth to prometheus_client output. + #3618: Add new sqlserver output data model. + #3559: Add native Go method for finding pids to procstat. + #3722: Add additional metrics and reverse metric names option to openldap. + #3769: Add TLS support to the mesos input plugin. + #3546: Add http input plugin. + #3781: Add keep alive support to the TCP mode of statsd. + #3783: Support deadline in ping plugin. + #3765: Add option to disable labels in prometheus output for string fields. + #3808: Add shard server stats to the mongodb input plugin. + #3713: Add server option to unbound plugin. + #3804: Convert boolean metric values to float in datadog output. + #3799: Add Solr 3 compatibility. + #3797: Add sum stat to basicstats aggregator. + #3626: Add ability to override proxy from environment in http response. + #3853: Add host to ping timeout log message. + #3773: Add override processor. + #3814: Add status_code and result tags and result_type field to http_response input. + #3880: Added config flag to skip collection of network protocol metrics. + #3927: Add TLS support to kapacitor input. + #3496: Add HTTP basic auth support to the http_listener input. + #3452: Tags in output InfluxDB Line Protocol are now sorted. + #3631: InfluxDB Line Protocol parser now accepts DOS line endings. + #2496: An option has been added to skip database creation in the InfluxDB output. + #3366: Add support for connecting to InfluxDB over a unix domain socket. + #3946: Add optional unsigned integer support to the influx data format. + #3811: Add TLS support to zookeeper input. + #2737: Add filters for container state to docker input. + + * Bugfixes + #1896: Fix various mysql data type conversions. + #3810: Fix metric buffer limit in internal plugin after reload. + #3801: Fix panic in http_response on invalid regex. + #3973: Fix socket_listener setting ReadBufferSize on tcp sockets. + #1575: Add tag for target url to phpfpm input. + #3868: Fix cannot unmarshal object error in DC/OS input. + #3648: Fix InfluxDB output not able to reconnect when server address changes. + #3957: Fix parsing of dos line endings in the smart input. + #3754: Fix precision truncation when no timestamp included. + #3655: Fix SNMPv3 connection with Cisco ASA 5515 in snmp input. + #3981: Export all vars defined in /etc/default/telegraf. + #4004: Allow grok pattern to contain newlines. + ------------------------------------------------------------------- Fri Mar 23 07:37:12 UTC 2018 - mschnitzer@suse.com diff --git a/telegraf.spec b/telegraf.spec index 28d7643..28d4527 100644 --- a/telegraf.spec +++ b/telegraf.spec @@ -16,7 +16,7 @@ # Name: telegraf -Version: 1.5.3 +Version: 1.6.0 Release: 0 License: MIT Summary: The plugin-driven server agent for collecting & reporting metrics