Prometheus v2.21.0-rc.1 Release Notes

Release Date: 2020-09-08 // over 3 years ago
  • ๐Ÿš€ This release is built with Go 1.15, which deprecates X.509
    CommonName
    in TLS certificates
    validation.

    In the unlikely case that you use the gRPC API v2 (which is limited to TSDB
    ๐Ÿšš admin commands), please note that we will remove this experimental API in the
    ๐Ÿš€ next minor release 2.22.

    • [CHANGE] Disable HTTP2 because of concerns with the Go HTTP/2 client. #7588 #7701
    • ๐ŸŒฒ [CHANGE] PromQL: query_log_file path is now relative to the config file. #7701
    • ๐Ÿ’ป [CHANGE] Promtool: Replace the tsdb command line tool by a promtool tsdb subcommand. #6088
    • [CHANGE] Rules: Label rule_group_iterations metric with group name. #7823
    • [FEATURE] Eureka SD: New service discovery. #3369
    • [FEATURE] Hetzner SD: New service discovery. #7822
    • ๐Ÿ‘ [FEATURE] Kubernetes SD: Support Kubernetes EndpointSlices. #6838
    • [FEATURE] Scrape: Add per scrape-config targets limit. #7554
    • ๐Ÿ’ป [ENHANCEMENT] Support composite durations in PromQL, config and UI, e.g. 1h30m. #7713 #7833
    • [ENHANCEMENT] DNS SD: Add SRV record target and port meta labels. #7678
    • ๐Ÿณ [ENHANCEMENT] Docker Swarm SD: Support tasks and service without published ports. #7686
    • [ENHANCEMENT] PromQL: Reduce the amount of data queried by remote read when a subquery has an offset. #7667
    • [ENHANCEMENT] Promtool: Add --time option to query instant command. #7829
    • ๐Ÿ’ป [ENHANCEMENT] UI: Respect the --web.page-title parameter in the React UI. #7607
    • ๐Ÿ’ป [ENHANCEMENT] UI: Add duration, labels, annotations to alerts page in the React UI. #7605
    • ๐Ÿ’ป [ENHANCEMENT] UI: Add duration on the React UI rules page, hide annotation and labels if empty. #7606
    • ๐Ÿ›  [BUGFIX] API: Deduplicate series in /api/v1/series. #7862
    • ๐Ÿ›  [BUGFIX] PromQL: Drop metric name in bool comparison between two instant vectors. #7819
    • ๐Ÿ›  [BUGFIX] PromQL: Exit with an error when time parameters can't be parsed. #7505
    • ๐Ÿ›  [BUGFIX] Rules: Detect extra fields in rule files. #7767
    • ๐Ÿ›  [BUGFIX] Rules: Disallow overwriting the metric name in the labels section of recording rules. #7787
    • ๐Ÿ›  [BUGFIX] Rules: Keep evaluation timestamp across reloads. #7775
    • ๐Ÿ›  [BUGFIX] Scrape: Do not stop scrapes in progress during reload. #7752
    • ๐Ÿ›  [BUGFIX] TSDB: Fix chunks.HeadReadWriter: maxt of the files are not set error. #7856
    • ๐Ÿ›  [BUGFIX] TSDB: Delete blocks atomically to prevent corruption when there is a panic/crash during deletion. #7772
    • [BUGFIX] Triton SD: Fix a panic when triton_sd_config is nil. #7671
    • ๐Ÿ›  [BUGFIX] UI: Fix react UI bug with series going on and off. #7804
    • ๐Ÿ›  [BUGFIX] Web: Stop CMUX and GRPC servers even with stale connections, preventing the server to stop on SIGTERM. #7810