Pre-release

@gouthamve gouthamve released this Jan 18, 2019

Assets 27

This release adds experimental support for disk size based retention. To accomodate that we are deprecating the flag storage.tsdb.retention in favour of storage.tsdb.retention.time. We print a warning if the flag is in use, but it will function without breaking until Prometheus 3.0.

  • [FEATURE] Add subqueries to PromQL. #4831
  • [FEATURE] [EXPERIMENTAL] Add support for disk size based retention. Note that we don't consider the WAL size which could be significant and the time based retention policy also applies. #5109 prometheus/tsdb#343
  • [FEATURE] Add CORS origin flag. #5011
  • [ENHANCEMENT] Consul SD: Add tagged address to the discovery metadata. #5001
  • [ENHANCEMENT] Kubernetes SD: Add service external IP and external name to the discovery metadata. #4940
  • [ENHANCEMENT] Azure SD: Add support for Managed Identity authentication. #4590
  • [ENHANCEMENT] Azure SD: Add tenant and subscription IDs to the discovery metadata. #4969
  • [ENHANCEMENT] OpenStack SD: Add support for application credentials based authentication. #4968
  • [ENHANCEMENT] Add metric for number of rule groups loaded. #5090
  • [BUGFIX] Avoid duplicate tests for alert unit tests. #4964
  • [BUGFIX] Don't depend on given order when comparing samples in alert unit testing. #5049
  • [BUGFIX] Make sure the retention period doesn't overflow. #5112
  • [BUGFIX] Make sure the blocks don't get very large. #5112
  • [BUGFIX] Don't generate blocks with no samples. prometheus/tsdb#374
  • [BUGFIX] Reintroduce metric for WAL corruptions. prometheus/tsdb#473

@simonpasquier simonpasquier released this Jan 15, 2019 · 79 commits to master since this release

Assets 27
  • [BUGFIX] Azure SD: Fix discovery getting stuck sometimes. #5088
  • [BUGFIX] Marathon SD: Use Tasks.Ports when RequirePorts is false. #5026
  • [BUGFIX] Promtool: Fix "out-of-order sample" errors when testing rules. #5069

@simonpasquier simonpasquier released this Dec 17, 2018 · 84 commits to master since this release

Assets 27
  • [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
Pre-release

@simonpasquier simonpasquier released this Dec 14, 2018 · 86 commits to master since this release

Assets 27
  • [CHANGE] Azure SD: Revert #4908. #4980
  • [ENHANCEMENT] Remove default flags from the container's entrypoint. #4976
  • [BUGFIX] TSDB: Fix unclosed file readers on Windows systems. #4997
Pre-release

@simonpasquier simonpasquier released this Dec 5, 2018 · 91 commits to master since this release

Assets 27
  • [CHANGE] Include default flags to the container's entrypoint. #4796
  • [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: Add the machine's power state to the discovery metadata. #4908
  • [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] Web: Avoid proxy to connect to the local gRPC server. #4572

@brancz brancz released this Nov 6, 2018 · 219 commits to master since this release

Assets 27
  • [CHANGE] Group targets by scrape config instead of job name. #4806 #4526
  • [CHANGE] Marathon SD: Various changes to adapt to Marathon 1.5+. #4499
  • [CHANGE] Discovery: Split prometheus_sd_discovered_targets metric by scrape and notify (Alertmanager SD) as well as by section in the respective configuration. #4753
  • [FEATURE] Add OpenMetrics support for scraping (EXPERIMENTAL). #4700
  • [FEATURE] Add unit testing for rules. #4350
  • [FEATURE] Make maximum number of samples per query configurable via --query.max-samples flag. #4513
  • [FEATURE] Make maximum number of concurrent remote reads configurable via --storage.remote.read-concurrent-limit flag. #4656
  • [ENHANCEMENT] Support s390x platform for Linux. #4605
  • [ENHANCEMENT] API: Add prometheus_api_remote_read_queries metric tracking currently executed or waiting remote read API requests. #4699
  • [ENHANCEMENT] Remote Read: Add prometheus_remote_storage_remote_read_queries metric tracking currently in-flight remote read queries. #4677
  • [ENHANCEMENT] Remote Read: Reduced memory usage. #4655
  • [ENHANCEMENT] Discovery: Add prometheus_sd_discovered_targets, prometheus_sd_received_updates_total, prometheus_sd_updates_delayed_total, and prometheus_sd_updates_total metri
    cs for discovery subsystem. #4667
  • [ENHANCEMENT] Discovery: Improve performance of previously slow updates of changes of targets. #4526
  • [ENHANCEMENT] Kubernetes SD: Add extended metrics. #4458
  • [ENHANCEMENT] OpenStack SD: Support discovering instances from all projects. #4682
  • [ENHANCEMENT] OpenStack SD: Discover all interfaces. #4649
  • [ENHANCEMENT] OpenStack SD: Support tls_config for the used HTTP client. #4654
  • [ENHANCEMENT] Triton SD: Add ability to filter triton_sd targets by pre-defined groups. #4701
  • [ENHANCEMENT] Web UI: Avoid browser spell-checking in expression field. #4728
  • [ENHANCEMENT] Web UI: Add scrape duration and last evaluation time in targets and rules pages. #4722
  • [ENHANCEMENT] Web UI: Improve rule view by wrapping lines. #4702
  • [ENHANCEMENT] Rules: Error out at load time for invalid templates, rather than at evaluation time. #4537 * [ENHANCEMENT] TSDB: Add metrics for WAL operations. #4692
  • [BUGFIX] Change max/min over_time to handle NaNs properly. #4386
  • [BUGFIX] Check label name for count_values PromQL function. #4585
  • [BUGFIX] Ensure that vectors and matrices do not contain identical label-sets. #4589
Pre-release

@brancz brancz released this Oct 31, 2018 · 219 commits to master since this release

Assets 27
  • [CHANGE] Group targets by scrape config instead of job name. #4806 #4526
Pre-release

@brancz brancz released this Oct 30, 2018 · 219 commits to master since this release

Assets 27
  • [BUGFIX] Fix accidental breaking change in targets API exposition format. #4783
Pre-release

@brancz brancz released this Oct 24, 2018 · 219 commits to master since this release

Assets 27
  • [CHANGE] Marathon SD: Various changes to adapt to Marathon 1.5+. #4499
  • [CHANGE] Discovery: Split prometheus_sd_discovered_targets metric by scrape and notify (Alertmanager SD) as well as by section in the respective configuration. #4753
  • [FEATURE] Add OpenMetrics support for scraping (EXPERIMENTAL). #4700
  • [FEATURE] Add unit testing for rules. #4350
  • [FEATURE] Make maximum number of samples per query configurable via --query.max-samples flag. #4513
  • [FEATURE] Make maximum number of concurrent remote reads configurable via --storage.remote.read-concurrent-limit flag. #4656
  • [ENHANCEMENT] Support s390x platform for Linux. #4605
  • [ENHANCEMENT] API: Add prometheus_api_remote_read_queries metric tracking currently executed or waiting remote read API requests. #4699
  • [ENHANCEMENT] Remote Read: Add prometheus_remote_storage_remote_read_queries metric tracking currently in-flight remote read queries. #4677
  • [ENHANCEMENT] Remote Read: Reduced memory usage. #4655
  • [ENHANCEMENT] Discovery: Add prometheus_sd_discovered_targets, prometheus_sd_received_updates_total, prometheus_sd_updates_delayed_total, and prometheus_sd_updates_total metrics for discovery subsystem. #4667
  • [ENHANCEMENT] Discovery: Improve performance of previously slow updates of changes of targets. #4526
  • [ENHANCEMENT] Kubernetes SD: Add extended metrics. #4458
  • [ENHANCEMENT] OpenStack SD: Support discovering instances from all projects. #4682
  • [ENHANCEMENT] OpenStack SD: Discover all interfaces. #4649
  • [ENHANCEMENT] OpenStack SD: Support tls_config for the used HTTP client. #4654
  • [ENHANCEMENT] Triton SD: Add ability to filter triton_sd targets by pre-defined groups. #4701
  • [ENHANCEMENT] Web UI: Avoid browser spell-checking in expression field. #4728
  • [ENHANCEMENT] Web UI: Add scrape duration and last evaluation time in targets and rules pages. #4722
  • [ENHANCEMENT] Web UI: Improve rule view by wrapping lines. #4702
  • [ENHANCEMENT] Rules: Error out at load time for invalid templates, rather than at evaluation time. #4537
  • [ENHANCEMENT] TSDB: Add metrics for WAL operations. #4692
  • [BUGFIX] Change max/min over_time to handle NaNs properly. #4386
  • [BUGFIX] Check label name for count_values PromQL function. #4585
  • [BUGFIX] Ensure that vectors and matrices do not contain identical label-sets. #4589

@gouthamve gouthamve released this Oct 4, 2018 · 303 commits to master since this release

Assets 26
  • [BUGFIX] Fix panic when using custom EC2 API for SD #4672
  • [BUGFIX] Fix panic when Zookeeper SD cannot connect to servers #4669
  • [BUGFIX] Make the skip_head an optional parameter for snapshot API #4674