Prometheus v0.15.0 Release Notes

Release Date: 2015-07-21 // almost 9 years ago
  • ๐Ÿ’ฅ BREAKING CHANGES:

    • Relative paths for rule files are now evaluated relative to the config file.
    • ๐ŸŒ External reachability flags (-web.*) consolidated.
    • 0๏ธโƒฃ The default storage directory has been changed from /tmp/metrics to data in the local directory.
    • The rule_checker tool has been replaced by promtool with different flags and more functionality.
    • ๐Ÿšš Empty labels are now removed upon ingestion into the storage. Matching empty labels is now equivalent to matching unset labels (mymetric{label=""} now matches series that don't have label set at all).
    • The special __meta_consul_tags label in Consul service discovery now starts and ends with tag separators to enable easier regex matching.
    • 0๏ธโƒฃ The default scrape interval has been changed back from 1 minute to 10 seconds.

    All changes:

    • 0๏ธโƒฃ [CHANGE] Change default storage directory to data in the current working directory.
    • ๐ŸŒ [CHANGE] Consolidate external reachability flags (-web.*)into one.
    • ๐Ÿ—„ [CHANGE] Deprecate keeping_extra modifier keyword, rename it to keep_common.
    • ๐ŸŽ [CHANGE] Improve label matching performance and treat unset labels like empty labels in label matchers.
    • ๐Ÿšš [CHANGE] Remove rule_checker tool and add generic promtool CLI tool which allows checking rules and configuration files.
    • [CHANGE] Resolve rule files relative to config file.
    • โช [CHANGE] Restore default ScrapeInterval of 1 minute instead of 10 seconds.
    • [CHANGE] Surround __meta_consul_tags value with tag separators.
    • โšก๏ธ [CHANGE] Update node disk console for new filesystem labels.
    • [FEATURE] Add Consul's ServiceAddress, Address, and ServicePort as meta labels to enable setting a custom scrape address if needed.
    • [FEATURE] Add hashmod relabel action to allow for horizontal sharding of Prometheus servers.
    • ๐Ÿ”ง [FEATURE] Add honor_labels scrape configuration option to not overwrite any labels exposed by the target.
    • ๐Ÿ‘ [FEATURE] Add basic federation support on /federate.
    • [FEATURE] Add optional RUNBOOK field to alert statements.
    • [FEATURE] Add pre-relabel target labels to status page.
    • [FEATURE] Add version information endpoint under /version.
    • [FEATURE] Added initial stable API version 1 under /api/v1, including ability to delete series and query more metadata.
    • ๐Ÿ”ง [FEATURE] Allow configuring query parameters when scraping metrics endpoints.
    • [FEATURE] Allow deleting time series via the new v1 API.
    • [FEATURE] Allow individual ingested metrics to be relabeled.
    • [FEATURE] Allow loading rule files from an entire directory.
    • [FEATURE] Allow scalar expressions in range queries, improve error messages.
    • ๐Ÿ‘ [FEATURE] Support Zookeeper Serversets as a service discovery mechanism.
    • ๐Ÿ— [ENHANCEMENT] Add circleci yaml for Dockerfile test build.
    • [ENHANCEMENT] Always show selected graph range, regardless of available data.
    • [ENHANCEMENT] Change expression input field to multi-line textarea.
    • [ENHANCEMENT] Enforce strict monotonicity of time stamps within a series.
    • ๐Ÿ— [ENHANCEMENT] Export build information as metric.
    • ๐Ÿ’ป [ENHANCEMENT] Improve UI of /alerts page.
    • [ENHANCEMENT] Improve display of target labels on status page.
    • ๐ŸŒ [ENHANCEMENT] Improve initialization and routing functionality of web service.
    • [ENHANCEMENT] Improve target URL handling and display.
    • ๐Ÿณ [ENHANCEMENT] New dockerfile using alpine-glibc base image and make.
    • ๐Ÿ›  [ENHANCEMENT] Other minor fixes.
    • [ENHANCEMENT] Preserve alert state across reloads.
    • [ENHANCEMENT] Prettify flag help output even more.
    • โšก๏ธ [ENHANCEMENT] README.md updates.
    • ๐Ÿšฉ [ENHANCEMENT] Raise error on unknown config parameters.
    • [ENHANCEMENT] Refine v1 HTTP API output.
    • ๐Ÿ”ง [ENHANCEMENT] Show original configuration file contents on status page instead of serialized YAML.
    • ๐Ÿšฆ [ENHANCEMENT] Start HUP signal handler earlier to not exit upon HUP during startup.
    • โšก๏ธ [ENHANCEMENT] Updated vendored dependencies.
    • ๐Ÿ›  [BUGFIX] Do not panic in StringToDuration() on wrong duration unit.
    • ๐Ÿ›  [BUGFIX] Exit on invalid rule files on startup.
    • ๐Ÿ›  [BUGFIX] Fix a regression in the .Path console template variable.
    • ๐Ÿ›  [BUGFIX] Fix chunk descriptor loading.
    • ๐Ÿ›  [BUGFIX] Fix consoles "Prometheus" link to point to /
    • ๐Ÿ›  [BUGFIX] Fix empty configuration file cases
    • ๐Ÿ›  [BUGFIX] Fix float to int conversions in chunk encoding, which were broken for some architectures.
    • ๐Ÿ›  [BUGFIX] Fix overflow detection for serverset config.
    • ๐Ÿ›  [BUGFIX] Fix race conditions in retrieval layer.
    • ๐Ÿ›  [BUGFIX] Fix shutdown deadlock in Consul SD code.
    • ๐Ÿ›  [BUGFIX] Fix the race condition targets in the Makefile.
    • ๐Ÿ›  [BUGFIX] Fix value display error in web console.
    • ๐Ÿ›  [BUGFIX] Hide authentication credentials in config String() output.
    • ๐Ÿ›  [BUGFIX] Increment dirty counter metric in storage only if setDirty(true) is called.
    • ๐Ÿ›  [BUGFIX] Periodically refresh services in Consul to recover from missing events.
    • ๐Ÿ›  [BUGFIX] Prevent overwrite of default global config when loading a configuration.
    • ๐Ÿ›  [BUGFIX] Properly lex \r as whitespace in expression language.
    • ๐Ÿ›  [BUGFIX] Validate label names in JSON target groups.
    • ๐Ÿ›  [BUGFIX] Validate presence of regex field in relabeling configurations.
    • [CLEANUP] Clean up initialization of remote storage queues.
    • ๐Ÿ‘• [CLEANUP] Fix go vet and golint violations.
    • [CLEANUP] General cleanup of rules and query language code.
    • ๐Ÿ— [CLEANUP] Improve and simplify Dockerfile build steps.
    • ๐Ÿ— [CLEANUP] Improve and simplify build infrastructure, use go-bindata for web assets. Allow building without git.
    • ๐Ÿ“ฆ [CLEANUP] Move all utility packages into common util subdirectory.
    • ๐Ÿ”จ [CLEANUP] Refactor main, flag handling, and web package.
    • ๐Ÿšš [CLEANUP] Remove unused methods from Rule interface.
    • 0๏ธโƒฃ [CLEANUP] Simplify default config handling.
    • ๐Ÿ’ป [CLEANUP] Switch human-readable times on web UI to UTC.
    • [CLEANUP] Use templates.TemplateExpander for all page templates.
    • [CLEANUP] Use new v1 HTTP API for querying and graphing.