-
Cameron Sparr authored
closes #1936
Cameron Sparr authoredcloses #1936
v1.1 [unreleased]
Release Notes
-
Telegraf now supports two new types of plugins: processors & aggregators.
-
On systemd Telegraf will no longer redirect it's stdout to /var/log/telegraf/telegraf.log. On most systems, the logs will be directed to the systemd journal and can be accessed by
journalctl -u telegraf.service
. Consult the systemd journal documentation for configuring journald. There is also alogfile
config option available in 1.1, which will allow users to easily configure telegraf to continue sending logs to /var/log/telegraf/telegraf.log.
Features
- #1726: Processor & Aggregator plugin support.
- #1861: adding the tags in the graylog output plugin
- #1732: Telegraf systemd service, log to journal.
- #1782: Allow numeric and non-string values for tag_keys.
- #1694: Adding Gauge and Counter metric types.
- #1606: Remove carraige returns from exec plugin output on Windows
- #1674: elasticsearch input: configurable timeout.
- #1607: Massage metric names in Instrumental output plugin
- #1572: mesos improvements.
- #1513: Add Ceph Cluster Performance Statistics
- #1650: Ability to configure response_timeout in httpjson input.
- #1685: Add additional redis metrics.
- #1539: Added capability to send metrics through Http API for OpenTSDB.
- #1471: iptables input plugin.
- #1542: Add filestack webhook plugin.
- #1599: Add server hostname for each docker measurements.
- #1697: Add NATS output plugin.
- #1407 & #1915: HTTP service listener input plugin.
- #1699: Add database blacklist option for Postgresql
- #1791: Add Docker container state metrics to Docker input plugin output
- #1755: Add support to SNMP for IP & MAC address conversion.
- #1729: Add support to SNMP for OID index suffixes.
- #1813: Change default arguments for SNMP plugin.
- #1686: Mesos input plugin: very high-cardinality mesos-task metrics removed.
- #1838: Logging overhaul to centralize the logger & log levels, & provide a logfile config option.
- #1700: HAProxy plugin socket glob matching.
- #1847: Add Kubernetes plugin for retrieving pod metrics.
Bugfixes
- #1955: Fix NATS plug-ins reconnection logic.
- #1936: Set required default values in udp_listener & tcp_listener.
- #1926: Fix toml unmarshal panic in Duration objects.
- #1746: Fix handling of non-string values for JSON keys listed in tag_keys.
- #1628: Fix mongodb input panic on version 2.2.
- #1733: Fix statsd scientific notation parsing
- #1716: Sensors plugin strconv.ParseFloat: parsing "": invalid syntax
- #1530: Fix prometheus_client reload panic
- #1764: Fix kafka consumer panic when nil error is returned down errs channel.
- #1768: Speed up statsd parsing.
- #1751: Fix powerdns integer parse error handling.
- #1752: Fix varnish plugin defaults not being used.
- #1517: Fix windows glob paths.
- #1137: Fix issue loading config directory on windows.
- #1772: Windows remote management interactive service fix.
- #1702: sqlserver, fix issue when case sensitive collation is activated.
- #1823: Fix huge allocations in http_listener when dealing with huge payloads.
- #1833: Fix translating SNMP fields not in MIB.
- #1835: Fix SNMP emitting empty fields.
- #1854: SQL Server waitstats truncation bug.
- #1810: Fix logparser common log format: numbers in ident.
- #1793: Fix JSON Serialization in OpenTSDB output.
- #1731: Fix Graphite template ordering, use most specific.
- #1836: Fix snmp table field initialization for non-automatic table.
- #1724: cgroups path being parsed as metric.
- #1886: Fix phpfpm fcgi client panic when URL does not exist.
- #1344: Fix config file parse error logging.
- #1771: Delete nil fields in the metric maker.
- #870: Fix MySQL special characters in DSN parsing.
- #1742: Ping input odd timeout behavior.
v1.0.1 [2016-09-26]
Bugfixes
- #1775: Prometheus output: Fix bug with multi-batch writes.
- #1738: Fix unmarshal of influxdb metrics with null tags.
- #1773: Add configurable timeout to influxdb input plugin.
- #1785: Fix statsd no default value panic.
v1.0 [2016-09-08]
Release Notes
Breaking Change The SNMP plugin is being deprecated in it's current form.
There is a new SNMP plugin
which fixes many of the issues and confusions
of its predecessor. For users wanting to continue to use the deprecated SNMP
plugin, you will need to change your config file from [[inputs.snmp]]
to
[[inputs.snmp_legacy]]
. The configuration of the new SNMP plugin is not
backwards-compatible.
Breaking Change: Aerospike main server node measurements have been renamed aerospike_node. Aerospike namespace measurements have been renamed to aerospike_namespace. They will also now be tagged with the node_name that they correspond to. This has been done to differentiate measurements that pertain to node vs. namespace statistics.
Breaking Change: users of github_webhooks must change to the new
[[inputs.webhooks]]
plugin.
This means that the default github_webhooks config:
# A Github Webhook Event collector
[[inputs.github_webhooks]]
## Address and port to host Webhook listener on
service_address = ":1618"
should now look like:
# A Webhooks Event collector
[[inputs.webhooks]]
## Address and port to host Webhook listener on
service_address = ":1618"
[inputs.webhooks.github]
path = "/"
-
Telegraf now supports being installed as an official windows service, which can be installed via
> C:\Program Files\Telegraf\telegraf.exe --service install
-
flush_jitter
behavior has been changed. The random jitter will now be evaluated at every flush interval, rather than once at startup. This makes it consistent with the behavior ofcollection_jitter
.
Features
- #1413: Separate container_version from container_image tag.
- #1525: Support setting per-device and total metrics for Docker network and blockio.
- #1466: MongoDB input plugin: adding per DB stats from db.stats()
- #1503: Add tls support for certs to RabbitMQ input plugin
- #1289: webhooks input plugin. Thanks @francois2metz and @cduez!
- #1247: rollbar webhook plugin.
- #1408: mandrill webhook plugin.
- #1402: docker-machine/boot2docker no longer required for unit tests.
- #1350: cgroup input plugin.
- #1369: Add input plugin for consuming metrics from NSQD.
- #1369: add ability to read redis from a socket.
-
#1387: Breaking Change - Redis
role
tag renamed toreplication_role
to avoid global_tags override - #1437: Fetching Galera status metrics in MySQL
- #1500: Aerospike plugin refactored to use official client lib.
- #1434: Add measurement name arg to logparser plugin.
- #1479: logparser: change resp_code from a field to a tag.
- #1411: Implement support for fetching hddtemp data
- #1340: statsd: do not log every dropped metric.
- #1368: Add precision rounding to all metrics on collection.
- #1390: Add support for Tengine
- #1320: Logparser input plugin for parsing grok-style log patterns.
- #1397: ElasticSearch: now supports connecting to ElasticSearch via SSL
- #1262: Add graylog input pluging.
- #1294: consul input plugin. Thanks @harnash
- #1164: conntrack input plugin. Thanks @robinpercy!
- #1165: vmstat input plugin. Thanks @jshim-xm!
- #1208: Standardized AWS credentials evaluation & wildcard CloudWatch dimensions. Thanks @johnrengelman!
- #1264: Add SSL config options to http_response plugin.
- #1272: graphite parser: add ability to specify multiple tag keys, for consistency with influxdb parser.
- #1265: Make dns lookups for chrony configurable. Thanks @zbindenren!
- #1275: Allow wildcard filtering of varnish stats.
- #1142: Support for glob patterns in exec plugin commands configuration.
- #1278: RabbitMQ input: made url parameter optional by using DefaultURL (http://localhost:15672) if not specified
- #1197: Limit AWS GetMetricStatistics requests to 10 per second.
- #1278 & #1288 & #1295: RabbitMQ/Apache/InfluxDB inputs: made url(s) parameter optional by using reasonable input defaults if not specified
- #1296: Refactor of flush_jitter argument.
- #1213: Add inactive & active memory to mem plugin.
- #1543: Official Windows service.
- #1414: Forking sensors command to remove C package dependency.
- #1389: Add a new SNMP plugin.
Bugfixes
-
#1619: Fix
make windows
build target - #1519: Fix error race conditions and partial failures.
- #1477: nstat: fix inaccurate config panic.
- #1481: jolokia: fix handling multiple multi-dimensional attributes.
- #1430: Fix prometheus character sanitizing. Sanitize more win_perf_counters characters.
- #1534: Add diskio io_time to FreeBSD & report timing metrics as ms (as linux does).
- #1379: Fix covering Amazon Linux for post remove flow.
- #1584: procstat missing fields: read/write bytes & count
- #1472: diskio input plugin: set 'skip_serial_number = true' by default to avoid high cardinality.
- #1426: nil metrics panic fix.
- #1384: Fix datarace in apache input plugin.
-
#1399: Add
read_repairs
statistics to riak plugin. - #1405: Fix memory/connection leak in prometheus input plugin.
- #1378: Trim BOM from config file for Windows support.
- #1339: Prometheus client output panic on service reload.
- #1461: Prometheus parser, protobuf format header fix.
- #1334: Prometheus output, metric refresh and caching fixes.
- #1432: Panic fix for multiple graphite outputs under very high load.
- #1412: Instrumental output has better reconnect behavior
- #1460: Remove PID from procstat plugin to fix cardinality issues.
- #1427: Cassandra input: version 2.x "column family" fix.
- #1463: Shared WaitGroup in Exec plugin
- #1436: logparser: honor modifiers in "pattern" config.
- #1418: logparser: error and exit on file permissions/missing errors.
- #1499: Make the user able to specify full path for HAproxy stats
- #1521: Fix Redis url, an extra "tcp://" was added.
- #1330: Fix exec plugin panic when using single binary.
- #1336: Fixed incorrect prometheus metrics source selection.
- #1112: Set default Zookeeper chroot to empty string.
- #1335: Fix overall ping timeout to be calculated based on per-ping timeout.
- #1374: Change "default" retention policy to "".
- #1377: Graphite output mangling '%' character.
- #1396: Prometheus input plugin now supports x509 certs authentication
- #1252 & #1279: Fix systemd service. Thanks @zbindenren & @PierreF!
- #1221: Fix influxdb n_shards counter.
- #1258: Fix potential kernel plugin integer parse error.
- #1268: Fix potential influxdb input type assertion panic.
- #1283: Still send processes metrics if a process exited during metric collection.
- #1297: disk plugin panic when usage grab fails.
- #1316: Removed leaked "database" tag on redis metrics. Thanks @PierreF!
- #1323: Processes plugin: fix potential error with /proc/net/stat directory.
- #1322: Fix rare RHEL 5.2 panic in gopsutil diskio gathering function.
- #1586: Remove IF NOT EXISTS from influxdb output database creation.
- #1600: Fix quoting with text values in postgresql_extensible plugin.
- #1425: Fix win_perf_counter "index out of range" panic.
- #1634: Fix ntpq panic when field is missing.
- #1637: Sanitize graphite output field names.
- #1695: Fix MySQL plugin not sending 0 value fields.
v0.13.1 [2016-05-24]
Release Notes
- net_response and http_response plugins timeouts will now accept duration strings, ie, "2s" or "500ms".
- Input plugin Gathers will no longer be logged by default, but a Gather for each plugin will be logged in Debug mode.
- Debug mode will no longer print every point added to the accumulator. This
functionality can be duplicated using the
file
output plugin and printing to "stdout".
Features
- #1173: varnish input plugin. Thanks @sfox-xmatters!
- #1138: nstat input plugin. Thanks @Maksadbek!
- #1139: instrumental output plugin. Thanks @jasonroelofs!
- #1172: Ceph storage stats. Thanks @robinpercy!
- #1233: Updated golint gopsutil dependency.
- #1238: chrony input plugin. Thanks @zbindenren!
- #479: per-plugin execution time added to debug output.
- #1249: influxdb output: added write_consistency argument.
Bugfixes
- #1195: Docker panic on timeout. Thanks @zstyblik!
- #1211: mongodb input. Fix possible panic. Thanks @kols!
- #1215: Fix for possible gopsutil-dependent plugin hangs.
- #1228: Fix service plugin host tag overwrite.
- #1198: http_response: override request Host header properly
- #1230: Fix Telegraf process hangup due to a single plugin hanging.
- #1214: Use TCP timeout argument in net_response plugin.
- #1243: Logfile not created on systemd.
v0.13 [2016-05-11]
Release Notes
-
Breaking change in jolokia plugin. See https://github.com/influxdata/telegraf/blob/master/plugins/inputs/jolokia/README.md for updated configuration. The plugin will now support proxy mode and will make POST requests.
-
New [agent] configuration option:
metric_batch_size
. This option tells telegraf the maximum batch size to allow to accumulate before sending a flush to the configured outputs.metric_buffer_limit
now refers to the absolute maximum number of metrics that will accumulate before metrics are dropped. -
There is no longer an option to
flush_buffer_when_full
, this is now the default and only behavior of telegraf. -
Breaking Change: docker plugin tags. The cont_id tag no longer exists, it will now be a field, and be called container_id. Additionally, cont_image and cont_name are being renamed to container_image and container_name.
-
Breaking Change: docker plugin measurements. The
docker_cpu
,docker_mem
,docker_blkio
anddocker_net
measurements are being renamed todocker_container_cpu
,docker_container_mem
,docker_container_blkio
anddocker_container_net
. Why? Because these metrics are specifically tracking per-container stats. The problem with per-container stats, in some use-cases, is that if containers are short-lived AND names are not kept consistent, then the series cardinality will balloon very quickly. So adding "container" to each metric will: (1) make it more clear that these metrics are per-container, and (2) allow users to easily drop per-container metrics if cardinality is an issue (namedrop = ["docker_container_*"]
) -
tagexclude
andtaginclude
are now available, which can be used to remove tags from measurements on inputs and outputs. See the configuration doc for more details. -
Measurement filtering: All measurement filters now match based on glob only. Previously there was an undocumented behavior where filters would match based on prefix in addition to globs. This means that a filter like
fielddrop = ["time_"]
will need to be changed tofielddrop = ["time_*"]
-
datadog: measurement and field names will no longer have
_
replaced by.
-
The following plugins have changed their tags to not overwrite the host tag:
- cassandra:
host -> cassandra_host
- disque:
host -> disque_host
- rethinkdb:
host -> rethinkdb_host
- cassandra:
-
Breaking Change: The
win_perf_counters
input has been changed to sanitize field names, replacing/Sec
and/sec
with_persec
, as well as spaces with underscores. This is needed because Graphite doesn't like slashes and spaces, and was failing to accept metrics that had them. The/[sS]ec
->_persec
is just to make things clearer and uniform. -
Breaking Change: snmp plugin. The
host
tag of the snmp plugin has been changed to thesnmp_host
tag. -
The
disk
input plugin can now be configured with theHOST_MOUNT_PREFIX
environment variable. This value is prepended to any mountpaths discovered before retrieving stats. It is not included on the report path. This is necessary for reporting host disk stats when running from within a container.
Features
- #1031: Jolokia plugin proxy mode. Thanks @saiello!
- #1017: taginclude and tagexclude arguments.
- #1015: Docker plugin schema refactor.
- #889: Improved MySQL plugin. Thanks @maksadbek!
- #1060: TTL metrics added to MongoDB input plugin
- #1056: Don't allow inputs to overwrite host tags.
-
#1035: Add
user
,exe
,pidfile
tags to procstat plugin. -
#1041: Add
n_cpus
field to the system plugin. - #1072: New Input Plugin: filestat.
- #1066: Replication lag metrics for MongoDB input plugin
- #1086: Ability to specify AWS keys in config file. Thanks @johnrengleman!
- #1096: Performance refactor of running output buffers.
- #967: Buffer logging improvements.
- #1107: Support lustre2 job stats. Thanks @hanleyja!
- #1122: Support setting config path through env variable and default paths.
- #1128: MongoDB jumbo chunks metric for MongoDB input plugin
- #1146: HAProxy socket support. Thanks weshmashian!
Bugfixes
- #1050: jolokia plugin - do not overwrite host tag. Thanks @saiello!
- #921: mqtt_consumer stops gathering metrics. Thanks @chaton78!
- #1013: Close dead riemann output connections. Thanks @echupriyanov!
- #1012: Set default tags in test accumulator.
-
#1024: Don't replace
.
with_
in datadog output. - #1058: Fix possible leaky TCP connections in influxdb output.
- #1044: Fix SNMP OID possible collisions. Thanks @relip
- #1022: Dont error deb/rpm install on systemd errors.
- #1078: Use default AWS credential chain.
- #1070: SQL Server input. Fix datatype conversion.
- #1089: Fix leaky TCP connections in phpfpm plugin.
- #914: Telegraf can drop metrics on full buffers.
- #1098: Sanitize invalid OpenTSDB characters.
- #1110: Sanitize * to - in graphite serializer. Thanks @goodeggs!
-
#1118: Sanitize Counter names for
win_perf_counters
input. - #1125: Wrap all exec command runners with a timeout, so hung os processes don't halt Telegraf.
- #1113: Set MaxRetry and RequiredAcks defaults in Kafka output.
- #1090: [agent] and [global_tags] config sometimes not getting applied.
- #1133: Use a timeout for docker list & stat cmds.
- #1052: Docker panic fix when decode fails.
- #1136: "DELAYED" Inserts were deprecated in MySQL 5.6.6. Thanks @PierreF
v0.12.1 [2016-04-14]
Release Notes
- Breaking change in the dovecot input plugin. See Features section below.
- Graphite output templates are now supported. See https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md#graphite
- Possible breaking change for the librato and graphite outputs. Telegraf will
no longer insert field names when the field is simply named
value
. This is because thevalue
field is redundant in the graphite/librato context.
Features
- #1009: Cassandra input plugin. Thanks @subhachandrachandra!
- #976: Reduce allocations in the UDP and statsd inputs.
- #979: Reduce allocations in the TCP listener.
- #992: Refactor allocations in TCP/UDP listeners.
- #935: AWS Cloudwatch input plugin. Thanks @joshhardy & @ljosa!
- #943: http_response input plugin. Thanks @Lswith!
- #939: sysstat input plugin. Thanks @zbindenren!
- #998: breaking change enabled global, user and ip queries in dovecot plugin. Thanks @mikif70!
- #1001: Graphite serializer templates.
- #1008: Adding memstats metrics to the influxdb plugin.
Bugfixes
- #968: Processes plugin gets unknown state when spaces are in (command name)
- #969: ipmi_sensors: allow : in password. Thanks @awaw!
- #972: dovecot: remove extra newline in dovecot command. Thanks @mrannanj!
- #645: docker plugin i/o error on closed pipe. Thanks @tripledes!
v0.12.0 [2016-04-05]
Features
- #951: Parse environment variables in the config file.
- #948: Cleanup config file and make default package version include all plugins (but commented).
- #927: Adds parsing of tags to the statsd input when using DataDog's dogstatsd extension
- #863: AMQP output: allow external auth. Thanks @ekini!
- #707: Improved prometheus plugin. Thanks @titilambert!
- #878: Added json serializer. Thanks @ch3lo!
- #880: Add the ability to specify the bearer token to the prometheus plugin. Thanks @jchauncey!
- #882: Fixed SQL Server Plugin issues
- #849: Adding ability to parse single values as an input data type.
- #844: postgres_extensible plugin added. Thanks @menardorama!
- #866: couchbase input plugin. Thanks @ljosa!
-
#789: Support multiple field specification and
field*
in graphite templates. Thanks @chrusty! - #762: Nagios parser for the exec plugin. Thanks @titilambert!
- #848: Provide option to omit host tag from telegraf agent.
- #928: Deprecating the statsd "convert_names" options, expose separator config.
- #919: ipmi_sensor input plugin. Thanks @ebookbug!
- #945: KAFKA output: codec, acks, and retry configuration. Thanks @framiere!
Bugfixes
- #890: Create TLS config even if only ssl_ca is provided.
- #884: Do not call write method if there are 0 metrics to write.
- #898: Put database name in quotes, fixes special characters in the database name.
-
#656: No longer run
lsof
on linux to get netstat data, fixes permissions issue. - #907: Fix prometheus invalid label/measurement name key.
- #841: Fix memcached unix socket panic.
- #873: Fix SNMP plugin sometimes not returning metrics. Thanks @titiliambert!
- #934: phpfpm: Fix fcgi uri path. Thanks @rudenkovk!
- #805: Kafka consumer stops gathering after i/o timeout.
- #959: reduce mongodb & prometheus collection timeouts. Thanks @PierreF!