Prometheus v2.6.0stable Released Dec 17, 2018
Impact Score: 5/10

Prometheus: 2.6.0 / 2018-12-17

Source available - automated, not human-reviewed

Component: prometheus · Channel: stable. Automated analysis, not a compatibility certification. How this works.

Compatibility not verified - check source notes
📄 .MD
⚡ Executive Summary (TL;DR)

Prometheus v2.6.0. Source highlight: [CHANGE] Remove default flags from the container's entrypoint, run Prometheus from `/etc/prometheus` and symlink the storage directory to `/etc/prometheus/data`. #4976

Who Does This Impact? (Role-Based Analysis)

💻 Software Engineers & Devs

Check the source notes against the package and APIs you use before upgrading.

📊 Product & Engineering Leads

Use the documented changes to assess relevance to your product; release frequency alone is not a quality measure.

⚙️ DevOps & Security

Verify the target version, runtime requirements and rollback procedure in the official documentation.

✨ New Features & Capabilities (6)

  • [FEATURE] Add JSON log format via the `--log.format` flag. #4876
  • [FEATURE] API: Add /api/v1/labels endpoint to get all label names. #4835
  • [FEATURE] Web: Allow setting the page's title via the `--web.ui-title` flag. #4841
  • [ENHANCEMENT] Add `prometheus_tsdb_lowest_timestamp_seconds`, `prometheus_tsdb_head_min_time_seconds` and `prometheus_tsdb_head_max_time_seconds` metrics. #4888
  • [ENHANCEMENT] Add `rule_group_last_evaluation_timestamp_seconds` metric. #4852
  • [ENHANCEMENT] Add `prometheus_template_text_expansion_failures_total` and `prometheus_template_text_expansions_total` metrics. #4747

⚡ Performance & Enhancements (6)

  • [ENHANCEMENT] Set consistent User-Agent header in outgoing requests. #4891
  • [ENHANCEMENT] Azure SD: Error out at load time when authentication parameters are missing. #4907
  • [ENHANCEMENT] Kubernetes SD: Log Kubernetes messages. #4931
  • [ENHANCEMENT] Promtool: Collect CPU and trace profiles. #4897
  • [ENHANCEMENT] Promtool: Support writing output as JSON. #4848
  • [ENHANCEMENT] Remote Read: Return available data if remote read fails partially. #4832

🔧 Bug Fixes & Patches (6)

  • [BUGFIX] Deduplicate handler labels for HTTP metrics. #4732
  • [BUGFIX] Fix leaked queriers causing shutdowns to hang. #4922
  • [BUGFIX] Fix configuration loading panics on nil pointer slice elements. #4942
  • [BUGFIX] API: Correctly skip mismatching targets on /api/v1/targets/metadata. #4905
  • [BUGFIX] API: Better rounding for incoming query timestamps. #4941
  • [BUGFIX] Azure SD: Fix panic. #4867
📄 View Raw Release Notes (Original Developer Log)
* [CHANGE] Remove default flags from the container's entrypoint, run Prometheus from `/etc/prometheus` and symlink the storage directory to `/etc/prometheus/data`. #4976 * [CHANGE] Promtool: Remove the `update` command. #3839 * [FEATURE] Add JSON log format via the `--log.format` flag. #4876 * [FEATURE] API: Add /api/v1/labels endpoint to get all label names. #4835 * [FEATURE] Web: Allow setting the page's title via the `--web.ui-title` flag. #4841 * [ENHANCEMENT] Add `prometheus_tsdb_lowest_timestamp_seconds`, `prometheus_tsdb_head_min_time_seconds` and `prometheus_tsdb_head_max_time_seconds` metrics. #4888 * [ENHANCEMENT] Add `rule_group_last_evaluation_timestamp_seconds` metric. #4852 * [ENHANCEMENT] Add `prometheus_template_text_expansion_failures_total` and `prometheus_template_text_expansions_total` metrics. #4747 * [ENHANCEMENT] Set consistent User-Agent header in outgoing requests. #4891 * [ENHANCEMENT] Azure SD: Error out at load time when authentication parameters are missing. #4907 * [ENHANCEMENT] EC2 SD: Add the machine's private DNS name to the discovery metadata. #4693 * [ENHANCEMENT] EC2 SD: Add the operating system's platform to the discovery metadata. #4663 * [ENHANCEMENT] Kubernetes SD: Add the pod's phase to the discovery metadata. #4824 * [ENHANCEMENT] Kubernetes SD: Log Kubernetes messages. #4931 * [ENHANCEMENT] Promtool: Collect CPU and trace profiles. #4897 * [ENHANCEMENT] Promtool: Support writing output as JSON. #4848 * [ENHANCEMENT] Remote Read: Return available data if remote read fails partially. #4832 * [ENHANCEMENT] Remote Write: Improve queue performance. #4772 * [ENHANCEMENT] Remote Write: Add min_shards parameter to set the minimum number of shards. #4924 * [ENHANCEMENT] TSDB: Improve WAL reading. #4953 * [ENHANCEMENT] TSDB: Memory improvements. #4953 * [ENHANCEMENT] Web: Log stack traces on panic. #4221 * [ENHANCEMENT] Web UI: Add copy to clipboard button for configuration. #4410 * [ENHANCEMENT] Web UI: Support console queries at specific times. #4764 * [ENHANCEMENT] Web UI: group targets by job then instance. #4898 #4806 * [BUGFIX] Deduplicate handler labels for HTTP metrics. #4732 * [BUGFIX] Fix leaked queriers causing shutdowns to hang. #4922 * [BUGFIX] Fix configuration loading panics on nil pointer slice elements. #4942 * [BUGFIX] API: Correctly skip mismatching targets on /api/v1/targets/metadata. #4905 * [BUGFIX] API: Better rounding for incoming query timestamps. #4941 * [BUGFIX] Azure SD: Fix panic. #4867 * [BUGFIX] Console templates: Fix hover when the metric has a null value. #4906 * [BUGFIX] Discovery: Remove all targets when the scrape configuration gets empty. #4819 * [BUGFIX] Marathon SD: Fix leaked connections. #4915 * [BUGFIX] Marathon SD: Use 'hostPort' member of portMapping to construct target endpoints. #4887 * [BUGFIX] PromQL: Fix a goroutine leak in the lexer/parser. #4858 * [BUGFIX] Scrape: Pass through content-type for non-compressed output. #4912 * [BUGFIX] Scrape: Fix deadlock in the scrape's manager. #4894 * [BUGFIX] Scrape: Scrape targets at fixed intervals even after Prometheus restarts. #4926 * [BUGFIX] TSDB: Support restored snapshots including the head properly. #4953 * [BUGFIX] TSDB: Repair WAL when the last record in a segment is torn. #4953 * [BUGFIX] TSDB: Fix unclosed file readers on Windows systems. #4997 * [BUGFIX] Web: Avoid proxy to connect to the local gRPC server. #4572