Prometheus v2.0.0 Release Notes

Release Date: 2017-11-08 // over 6 years ago
  • ๐Ÿš€ This release includes a completely rewritten storage, huge performance ๐Ÿ‘Œ improvements, but also many backwards incompatible changes. For more information, read the announcement blog post and migration guide.

    https://prometheus.io/blog/2017/11/08/announcing-prometheus-2-0/ ๐Ÿ“„ https://prometheus.io/docs/prometheus/2.0/migration/

    • [CHANGE] Completely rewritten storage layer, with WAL. This is not backwards compatible with 1.x storage, and many flags have changed/disappeared.
    • [CHANGE] New staleness behavior. Series now marked stale after target scrapes no longer return them, and soon after targets disappear from service discovery.
    • [CHANGE] Rules files use YAML syntax now. Conversion tool added to promtool.
    • [CHANGE] Removed count_scalar, drop_common_labels functions and keep_common modifier from PromQL.
    • ๐ŸŽ [CHANGE] Rewritten exposition format parser with much higher performance. The Protobuf exposition format is no longer supported.
    • โšก๏ธ [CHANGE] Example console templates updated for new storage and metrics names. Examples other than node exporter and Prometheus removed.
    • 0๏ธโƒฃ [CHANGE] Admin and lifecycle APIs now disabled by default, can be re-enabled via flags
    • [CHANGE] Flags switched to using Kingpin, all flags are now --flagname rather than -flagname.
    • ๐Ÿ”ง [FEATURE/CHANGE] Remote read can be configured to not read data which is available locally. This is enabled by default.
    • [FEATURE] Rules can be grouped now. Rules within a rule group are executed sequentially.
    • [FEATURE] Added experimental GRPC apis
    • [FEATURE] Add timestamp() function to PromQL.
    • ๐Ÿ”ง [ENHANCEMENT] Remove remote read from the query path if no remote storage is configured.
    • โฑ [ENHANCEMENT] Bump Consul HTTP client timeout to not match the Consul SD watch timeout.
    • [ENHANCEMENT] Go-conntrack added to provide HTTP connection metrics.
    • ๐Ÿ›  [BUGFIX] Fix connection leak in Consul SD.