2020-01-10 17:01:22 +00:00
## 0.14.0 / 2020-01-10
2020-01-10 13:15:10 +00:00
2020-01-10 14:51:42 +00:00
* [CHANGE] Switch logging to go-kit ([#283](https://github.com/prometheus/statsd_exporter/pull/283))
* [CHANGE] Rename existing metric for mapping cache size ([#284](https://github.com/prometheus/statsd_exporter/pull/284))
2020-01-10 13:15:10 +00:00
* [ENHANCEMENT] Add metrics for mapping cache hits ([#280](https://github.com/prometheus/statsd_exporter/pull/280))
2020-01-10 14:51:42 +00:00
Logs are more structured now. The `fatal` log level no longer exists; use `--log.level=error` instead. The valid log formats are `logfmt` and `json` .
2020-01-10 13:15:10 +00:00
2020-01-10 14:32:16 +00:00
The metric `statsd_exporter_cache_length` is now called `statsd_metric_mapper_cache_length` .
2020-01-10 13:15:10 +00:00
2019-12-06 16:11:16 +00:00
## 0.13.0 / 2019-12-06
2019-09-13 07:32:37 +00:00
* [ENHANCEMENT] Support sampling factors for all statsd metric types ([#264](https://github.com/prometheus/statsd_exporter/issues/250))
2019-09-20 07:26:18 +00:00
* [ENHANCEMENT] Support Librato and InfluxDB labeling formats ([#267](https://github.com/prometheus/statsd_exporter/pull/267))
2019-09-13 07:32:37 +00:00
2019-12-06 16:11:16 +00:00
## 0.12.2 / 2019-07-25
2019-07-25 13:13:44 +00:00
* [BUGFIX] Fix Unix socket handler ([#252](https://github.com/prometheus/statsd_exporter/pull/252))
* [BUGFIX] Fix panic under high load ([#253](https://github.com/prometheus/statsd_exporter/pull/253))
Thank you to everyone who reported and helped debug these issues!
2019-12-06 16:11:16 +00:00
## 0.12.1 / 2019-07-08
2019-07-05 14:31:58 +00:00
2019-07-08 08:53:12 +00:00
* [BUGFIX] Renew TTL when a metric receives updates ([#246](https://github.com/prometheus/statsd_exporter/pull/246))
2019-07-05 14:31:58 +00:00
* [CHANGE] Reload on SIGHUP instead of watching the file ([#243](https://github.com/prometheus/statsd_exporter/pull/243))
2019-12-06 16:11:16 +00:00
## 0.11.2 / 2019-06-14
2019-06-14 13:32:48 +00:00
* [BUGFIX] Fix TCP handler ([#235](https://github.com/prometheus/statsd_exporter/pull/235))
2019-12-06 16:11:16 +00:00
## 0.11.1 / 2019-06-14
2019-06-12 09:23:09 +00:00
2019-06-13 08:42:18 +00:00
* [ENHANCEMENT] Batch event processing for improved ingestion performance ([#227](https://github.com/prometheus/statsd_exporter/pull/227))
2019-06-12 09:23:09 +00:00
* [ENHANCEMENT] Switch Prometheus client to promhttp, freeing the standard HTTP metrics ([#233](https://github.com/prometheus/statsd_exporter/pull/233))
With #233 , the exporter no longer exports metrics about its own HTTP status. These were not helpful since you could not get them when scraping fails. This allows mapping to metric names like `http_requests_total` that are useful as application metrics.
2019-12-06 16:11:16 +00:00
## 0.10.6 / 2019-06-07
2019-06-06 12:34:05 +00:00
* [BUGFIX] Fix mapping collision for metrics with different types, but the same name ([#229](https://github.com/prometheus/statsd_exporter/pull/229))
2019-12-06 16:11:16 +00:00
## 0.10.5 / 2019-05-27
2019-05-27 09:09:59 +00:00
* [BUGFIX] Fix "Error: inconsistent label cardinality: expected 0 label values but got N in prometheus.Labels" ([#224](https://github.com/prometheus/statsd_exporter/pull/224))
2019-12-06 16:11:16 +00:00
## 0.10.4 / 2019-05-20
2019-05-20 08:35:36 +00:00
* [BUGFIX] Revert #218 due to a race condition ([#221](https://github.com/prometheus/statsd_exporter/pull/221))
2019-12-06 16:11:16 +00:00
## 0.10.3 / 2019-05-17
2019-05-17 13:51:13 +00:00
* [ENHANCEMENT] Reduce allocations when escaping metric names ([#217](https://github.com/prometheus/statsd_exporter/pull/217))
* [ENHANCEMENT] Reduce allocations when handling packets ([#218](https://github.com/prometheus/statsd_exporter/pull/218))
* [ENHANCEMENT] Optimize label sorting ([#219](https://github.com/prometheus/statsd_exporter/pull/219))
This release is entirely powered by @claytono . Kudos!
2019-12-06 16:11:16 +00:00
## 0.10.2 / 2019-05-17
2019-03-13 13:08:31 +00:00
2019-04-17 15:25:44 +00:00
* [CHANGE] Do not run as root in the Docker container by default ([#202](https://github.com/prometheus/statsd_exporter/pull/202))
2019-04-16 13:17:11 +00:00
* [FEATURE] Add metric for count of events by action ([#193](https://github.com/prometheus/statsd_exporter/pull/193))
* [FEATURE] Add metric for count of distinct metric names ([#200](https://github.com/prometheus/statsd_exporter/pull/200))
2019-04-23 08:47:32 +00:00
* [FEATURE] Add UNIX socket listener support ([#199](https://github.com/prometheus/statsd_exporter/pull/199))
2019-05-14 16:24:10 +00:00
* [FEATURE] Accept Datadog [distributions ](https://docs.datadoghq.com/graphing/metrics/distributions/ ) ([#211](https://github.com/prometheus/statsd_exporter/pull/211))
2019-03-13 13:08:31 +00:00
* [ENHANCEMENT] Add a health check to the Docker container ([#182](https://github.com/prometheus/statsd_exporter/pull/182))
2019-04-09 12:15:10 +00:00
* [ENHANCEMENT] Allow inconsistent label sets ([#194](https://github.com/prometheus/statsd_exporter/pull/194))
2019-04-10 08:49:07 +00:00
* [ENHANCEMENT] Speed up sanitization of metric names ([#197](https://github.com/prometheus/statsd_exporter/pull/197))
2019-04-23 09:12:24 +00:00
* [ENHANCEMENT] Enable pprof endpoints ([#205](https://github.com/prometheus/statsd_exporter/pull/205))
2019-05-14 16:24:10 +00:00
* [ENHANCEMENT] DogStatsD tag parsing is faster ([#210](https://github.com/prometheus/statsd_exporter/pull/210))
2019-05-15 13:06:04 +00:00
* [ENHANCEMENT] Cache mapped metrics ([#198](https://github.com/prometheus/statsd_exporter/pull/198))
2019-03-26 12:11:17 +00:00
* [BUGFIX] Fix panic if a mapping resulted in an empty name ([#192](https://github.com/prometheus/statsd_exporter/pull/192))
2019-05-14 16:24:10 +00:00
* [BUGFIX] Ensure that there are always default quantiles if using summaries ([#212](https://github.com/prometheus/statsd_exporter/pull/212))
2019-05-15 11:22:17 +00:00
* [BUGFIX] Prevent ingesting conflicting metric types that would make scraping fail ([#213](https://github.com/prometheus/statsd_exporter/pull/213))
2019-03-26 12:11:17 +00:00
With #192 , the count of events rejected because of negative counter increments has moved into the `statsd_exporter_events_error_total` metric, instead of being lumped in with the different kinds of successful events.
2019-03-13 13:08:31 +00:00
2019-12-06 16:11:16 +00:00
## 0.9.0 / 2019-03-11
2018-12-17 19:47:16 +00:00
* [ENHANCEMENT] Update the Prometheus client library to 0.9.2 ([#171](https://github.com/prometheus/statsd_exporter/pull/171))
2018-12-20 16:49:50 +00:00
* [FEATURE] Metrics can now be expired with a per-mapping TTL ([#164](https://github.com/prometheus/statsd_exporter/pull/164))
2019-01-09 17:56:57 +00:00
* [CHANGE] Timers that mapped to a summary are scaled to seconds, just like histograms ([#178](https://github.com/prometheus/statsd_exporter/pull/178))
If you are using summaries, all your quantiles and `_total` will change by a factor of 1000.
Adjust your queries and dashboards, or consider switching to histograms altogether.
2018-12-17 19:47:16 +00:00
2019-12-06 16:11:16 +00:00
## 0.8.1 / 2018-12-05
2018-11-05 09:55:21 +00:00
* [BUGFIX] Expose the counter for unmapped matches ([#161](https://github.com/prometheus/statsd_exporter/pull/161))
2018-12-05 21:54:11 +00:00
* [BUGFIX] Unsuccessful backtracking does not clobber captures ([#169](https://github.com/prometheus/statsd_exporter/pull/169), fixes [#168 ](https://github.com/prometheus/statsd_exporter/issues/168 ))
2018-11-05 09:55:21 +00:00
2019-12-06 16:11:16 +00:00
## 0.8.0 / 2018-10-12
2018-10-10 22:03:04 +00:00
* [ENHANCEMENT] Speed up glob matching ([#157](https://github.com/prometheus/statsd_exporter/pull/157))
This release replaces the implementation of the glob matching mechanism,
speeding it up significantly. In certain sub-optimal configurations, a warning
is logged.
This major enhancement was contributed by [Wangchong Zhou ](https://github.com/fffonion ).
2019-12-06 16:11:16 +00:00
## 0.7.0 / 2018-08-22
2018-07-04 10:28:11 +00:00
2018-08-21 08:56:11 +00:00
This is a breaking release, but the migration is easy: command line flags now
require two dashes (`--help` instead of `-help` ). The previous flag library
already accepts this form, so if necessary you can migrate the flags first
before upgrading.
The deprecated `--statsd.listen-address` flag has been removed, use
`--statsd.listen-udp` instead.
2018-08-22 08:09:39 +00:00
* [CHANGE] Switch to Kingpin for flags, fixes setting log level ([#141](https://github.com/prometheus/statsd_exporter/pull/141))
2018-08-22 08:18:23 +00:00
* [ENHANCEMENT] Allow matching on specific metric types ([#136](https://github.com/prometheus/statsd_exporter/pulls/136))
* [ENHANCEMENT] Summary quantiles can be configured ([#135](https://github.com/prometheus/statsd_exporter/pulls/135))
2018-08-09 10:11:23 +00:00
* [BUGFIX] Fix panic if an invalid regular expression is supplied ([#126](https://github.com/prometheus/statsd_exporter/pulls/126))
2018-07-04 10:28:11 +00:00
2019-12-06 16:11:16 +00:00
## 0.6.0 / 2018-01-17
2018-01-08 18:36:31 +00:00
2018-08-22 08:18:23 +00:00
* [ENHANCEMENT] Add a drop action ([#115](https://github.com/prometheus/statsd_exporter/pulls/115))
* [ENHANCEMENT] Allow templating metric names ([#117](https://github.com/prometheus/statsd_exporter/pulls/117))
2018-01-08 18:36:31 +00:00
2019-12-06 16:11:16 +00:00
## 0.5.0 / 2017-11-16
2017-11-14 16:04:52 +00:00
NOTE: This release breaks backward compatibility. `statsd_exporter` now uses
a YAML configuration file. You must convert your mappings configuration to
2017-11-15 12:03:40 +00:00
the new format when you upgrade. For example, the configuration
2017-11-14 16:04:52 +00:00
2017-11-15 12:03:40 +00:00
```
test.dispatcher.*.*.*
name="dispatcher_events_total"
processor="$1"
action="$2"
outcome="$3"
job="test_dispatcher"
*.signup.*.*
name="signup_events_total"
provider="$2"
outcome="$3"
job="${1}_server"
```
now has the format
```yaml
mappings:
- match: test.dispatcher.*.*.*
help: "The total number of events handled by the dispatcher."
name: "dispatcher_events_total"
labels:
processor: "$1"
action: "$2"
outcome: "$3"
job: "test_dispatcher"
- match: *.signup.* .*
name: "signup_events_total"
help: "The total number of signup events."
labels:
provider: "$2"
outcome: "$3"
job: "${1}_server"
```
The help field is optional.
There is a [tool ](https://github.com/bakins/statsd-exporter-convert ) available to help with this conversion.
2018-08-09 10:11:23 +00:00
* [CHANGE] Replace the overloaded "packets" metric ([#106](https://github.com/prometheus/statsd_exporter/pulls/106))
* [CHANGE] Removed `-statsd.add-suffix` option flag [#99 ](https://github.com/prometheus/statsd_exporter/pulls/99 ). Users should remove
2017-11-16 13:18:16 +00:00
this flag when upgrading. Metrics will no longer automatically include the
suffixes `_timer` or `counter` . You may need to adjust any graphs that used
metrics with these suffixes.
2018-08-09 10:11:23 +00:00
* [CHANGE] Reduce log levels [#92 ](https://github.com/prometheus/statsd_exporter/pulls/92 ). Many log events have been changed from error
2017-11-16 13:18:16 +00:00
to debug log level.
2018-08-09 10:11:23 +00:00
* [CHANGE] Use YAML for configuration file [#66 ](https://github.com/prometheus/statsd_exporter/pulls/66 ). See note above about file format
2017-11-16 13:18:16 +00:00
conversion.
2018-08-22 08:18:23 +00:00
* [ENHANCEMENT] Allow help text to be customized [#87 ](https://github.com/prometheus/statsd_exporter/pulls/87 )
* [ENHANCEMENT] Add support for regex mappers [#85 ](https://github.com/prometheus/statsd_exporter/pulls/85 )
* [ENHANCEMENT] Add TCP listener support [#71 ](https://github.com/prometheus/statsd_exporter/pulls/71 )
* [ENHANCEMENT] Allow histograms for timer metrics [#66 ](https://github.com/prometheus/statsd_exporter/pulls/66 )
* [ENHANCEMENT] Added support for sampling factor on timing events [#28 ](https://github.com/prometheus/statsd_exporter/pulls/28 )
2017-11-15 12:03:40 +00:00
* [BUGFIX] Conflicting label sets no longer crash the exporter and will be
2018-08-09 10:11:23 +00:00
ignored. Restart to clear the remembered label set. [#72 ](https://github.com/prometheus/statsd_exporter/pulls/72 )
2017-11-14 16:04:52 +00:00
2019-12-06 16:11:16 +00:00
## 0.4.0 / 2017-05-12
2017-05-12 12:23:27 +00:00
2018-08-22 08:18:23 +00:00
* [ENHANCEMENT] Improve mapping configuration parser [#61 ](https://github.com/prometheus/statsd_exporter/pulls/61 )
* [ENHANCEMENT] Add increment/decrement support to Gauges [#65 ](https://github.com/prometheus/statsd_exporter/pulls/65 )
2018-08-09 10:11:23 +00:00
* [BUGFIX] Tolerate more forms of broken lines from StatsD [#48 ](https://github.com/prometheus/statsd_exporter/pulls/48 )
* [BUGFIX] Skip metrics with invalid utf8 [#50 ](https://github.com/prometheus/statsd_exporter/pulls/50 )
* [BUGFIX] ListenAndServe now fails on exit [#58 ](https://github.com/prometheus/statsd_exporter/pulls/58 )
2017-05-12 12:23:27 +00:00
2016-05-04 23:45:38 +00:00
## 0.3.0 / 2016-05-05
2018-08-09 10:11:23 +00:00
* [CHANGE] Drop `_count` suffix for `loaded_mappings` metric ([#41](https://github.com/prometheus/statsd_exporter/pulls/41))
2018-08-22 08:18:23 +00:00
* [ENHANCEMENT] Use common's log and version packages, and add -version flag ([#44](https://github.com/prometheus/statsd_exporter/pulls/44))
* [ENHANCEMENT] Add flag to disable metric type suffixes ([#37](https://github.com/prometheus/statsd_exporter/pulls/37))
2018-08-09 10:11:23 +00:00
* [BUGFIX] Increase receivable UDP datagram size to 65535 bytes ([#36](https://github.com/prometheus/statsd_exporter/pulls/36))
* [BUGFIX] Warn, not panic when negative number counter is submitted ([#33](https://github.com/prometheus/statsd_exporter/pulls/33))
2016-05-04 23:45:38 +00:00
2016-03-19 17:17:34 +00:00
## 0.2.0 / 2016-03-19
NOTE: This release renames `statsd_bridge` to `statsd_exporter`
2018-08-09 10:11:23 +00:00
* [CHANGE] New Dockerfile using alpine-golang-make-onbuild base image ([#17](https://github.com/prometheus/statsd_exporter/pulls/17))
2018-08-22 08:18:23 +00:00
* [ENHANCEMENT] Allow configuration of UDP read buffer ([#22](https://github.com/prometheus/statsd_exporter/pulls/22))
2018-08-09 10:11:23 +00:00
* [BUGFIX] allow metrics with dashes when mapping ([#24](https://github.com/prometheus/statsd_exporter/pulls/24))
2018-08-22 08:18:23 +00:00
* [ENHANCEMENT] add root endpoint with redirect ([#25](https://github.com/prometheus/statsd_exporter/pulls/25))
2018-08-09 10:11:23 +00:00
* [CHANGE] rename bridge to exporter ([#26](https://github.com/prometheus/statsd_exporter/pulls/26))
2016-03-19 17:17:34 +00:00
## 0.1.0 / 2015-04-17
* Initial release