Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cut v2.11.0-rc.0 #5729

Merged
merged 1 commit into from Jul 4, 2019
Merged

Cut v2.11.0-rc.0 #5729

merged 1 commit into from Jul 4, 2019

Conversation

brancz
Copy link
Member

@brancz brancz commented Jul 2, 2019

Opening this already as the release is targeted for tomorrow.

@brian-brazil @beorn7 @gouthamve @juliusv @simonpasquier @krasi-georgiev @cstyan @codesome

Copy link
Contributor

@brian-brazil brian-brazil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TSDB changes should also be included, and there's at least one PR we still want to get in.

CHANGELOG.md Outdated
* [ENHANCEMENT] Sanitize HTML output. #5665
* [ENHANCEMENT] Remote-write allocation improvements. #5614
* [ENHANCEMENT] Query performance improvement: Efficient iteration and search in HashForLabels and HashWithoutLabels. #5707
* [ENHANCEMENT] Prometheus Monitoring Mixin for Prometheus itself. #4474
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not a feature in the binaries

CHANGELOG.md Outdated
* [ENHANCEMENT] Add storage warnings to LabelValues and LabelNames API results. #5673
* [ENHANCEMENT] Add 'code' label to HTTP metrics. #5640
* [ENHANCEMENT] Enable openbsd/arm build. #5696
* [ENHANCEMENT] Sanitize HTML output. #5665
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has no user-visible effect

CHANGELOG.md Outdated
* [FEATURE] Add $externalLabels for alert unit tests. #5608
* [FEATURE] Allows globs for rules when unit testing. #5595
* [FEATURE] Add option to use Alertmanager API v2. #5482
* [FEATURE] Added humanizePercentage formatting to templates. #5670
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

function

CHANGELOG.md Outdated
## v2.11.0-rc.0 / 2019-07-03

* [CHANGE] Remove max_retries from queue_config. #5649
* [FEATURE] Add $externalLabels for alert unit tests. #5608
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not quite, users can now provide external_labels

I think this and the next are enhancements, as they're building on existing features rather than being something brand new

* [ENHANCEMENT] Remote-write allocation improvements. #5614
* [ENHANCEMENT] Query performance improvement: Efficient iteration and search in HashForLabels and HashWithoutLabels. #5707
* [ENHANCEMENT] Prometheus Monitoring Mixin for Prometheus itself. #4474
* [ENHANCEMENT] Allow injection of arbitrary headers in promtool. #4389
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR title indicates this is intended for auth, and putting secrets on the commandline is not good practice.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want me to change anything here? (I agree with your statement, but this is still what was added factually no?)

CHANGELOG.md Outdated
@@ -1,3 +1,23 @@
## v2.11.0-rc.0 / 2019-07-03

* [CHANGE] Remove max_retries from queue_config. #5649
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it worth mentioning that it was removed because the value wasn't being used anymore? I guess giving the PR number is enough

@krasi-georgiev
Copy link
Contributor

TSDB changes should also be included, and there's at least one PR we still want to get in.

yeah I can do the tsdb update, but there is the snapshot bug that might need a bit more work.

@brancz
Copy link
Member Author

brancz commented Jul 3, 2019

Do we want to cut an RC knowing @krasi-georgiev's comment and prometheus-junkyard/tsdb#646 ?

@codesome
Copy link
Member

codesome commented Jul 3, 2019

There are some fixes in tsdb (like prometheus-junkyard/tsdb#623, prometheus-junkyard/tsdb#637) and some enhancements (not critical). I am not sure if this release should be blocked by them.

CHANGELOG.md Outdated
* [FEATURE] Add option to use Alertmanager API v2. #5482
* [FEATURE] Added humanizePercentage formatting to templates. #5670
* [FEATURE] Include InitContainers in Kubernetes Service Discovery. #5598
* [ENHANCEMENT] Reduce allocations in in PromQL aggregations. #5641
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/in in/in/

CHANGELOG.md Outdated
* [ENHANCEMENT] Prometheus Monitoring Mixin for Prometheus itself. #4474
* [ENHANCEMENT] Allow injection of arbitrary headers in promtool. #4389
* [BUGFIX] resolve race condition in maxGauge. #5647
* [BUGFIX] Fix zk connection leak. #5675
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/zk/ZooKeeper/

@brancz
Copy link
Member Author

brancz commented Jul 3, 2019

I'm hearing for 2.11 we're not doing a tsdb update, please confirm. I've addressed all other comments I believe.

@brian-brazil
Copy link
Contributor

We should always do a TSDB update.

@krasi-georgiev
Copy link
Contributor

krasi-georgiev commented Jul 3, 2019

The TSDB head snapshoting bugfix can be saliently improved, but decided it is not a blocker so it is already merged and @bwplotka is updating tsdb in #5733

this update will also add the optional WAL compression. see : prometheus-junkyard/tsdb#609 (comment)

@brancz
Copy link
Member Author

brancz commented Jul 3, 2019

Still waiting on #5592, but I think this is ready for re-review.

@brancz
Copy link
Member Author

brancz commented Jul 3, 2019

TSDB is updated.

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated

* [CHANGE] Remove `max_retries` from queue_config (it has been unused since rewriting remote-write to utilize the write-ahead-log). #5649
* [CHANGE] The meta file `BlockStats` no longer holds size information. This is now dynamically calculated and kept in memory. It also includes the meta file size which was not included before. tsdb#637
* [CHANGE] Create new clean segment when starting the WAL. tsdb#608
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not a breaking change, I'm not sure it's even worth mentioning - ENHANCEMENT a most.

CHANGELOG.md Outdated
* [ENHANCEMENT] Remote-write allocation improvements. #5614
* [ENHANCEMENT] Query performance improvement: Efficient iteration and search in HashForLabels and HashWithoutLabels. #5707
* [ENHANCEMENT] Allow injection of arbitrary headers in promtool. #4389
* [ENHANCEMENT] Allow specifying `$externalLabels` in alert unit tests. #5608
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was already possible, it's allowing setting external_labels which has changed.

@simonpasquier
Copy link
Member

LGTM albeit Brian's comments.

@brancz brancz force-pushed the cut-2.11.0-rc.0 branch 2 times, most recently from 75e76c6 to 00f1e3d Compare July 4, 2019 07:53
@brancz
Copy link
Member Author

brancz commented Jul 4, 2019

Updated the date to today's date, and I believe I've addressed all comments. Please re-review 🙂 .

CHANGELOG.md Outdated
@@ -1,3 +1,34 @@
## v2.11.0-rc.0 / 2019-07-04
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/v2.11.0-rc.0/2.11.0-rc.0/

CHANGELOG.md Outdated
* [ENHANCEMENT] Allow injection of arbitrary headers in promtool. #4389
* [ENHANCEMENT] Allow passing `external_labels` in alert unit tests groups. #5608
* [ENHANCEMENT] Allows globs for rules when unit testing. #5595
* [ENHANCEMENT] Improved atomicity of .tmp block replacement during compaction for usual case. tsdb#636
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sounds like a bugfix

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved to bugfix section.

CHANGELOG.md Outdated
* [ENHANCEMENT] Optimize queries using regexp for set lookups. tsdb#602
* [BUGFIX] resolve race condition in maxGauge. #5647
* [BUGFIX] Fix ZooKeeper connection leak. #5675
* [BUGFIX] Re-encode all head chunks at compaction that are open (being appended to) or outside the Maxt block range. This avoids writing out corrupt data. It happens when snapshotting with the head included. tsdb#641
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is duplicate with 4 down

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, removed.

Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
@brian-brazil
Copy link
Contributor

👍

@brancz brancz merged commit 5d84b76 into prometheus:master Jul 4, 2019
@brancz brancz deleted the cut-2.11.0-rc.0 branch July 4, 2019 11:28
@bwplotka
Copy link
Member

bwplotka commented Jul 4, 2019

Awesome!

@brancz
Copy link
Member Author

brancz commented Jul 4, 2019

/benchmark 2.10.0

@prombot
Copy link
Contributor

prombot commented Jul 4, 2019

@brancz: Welcome to Prometheus Benchmarking Tool.

The two prometheus versions that will be compared are pr-5729 and v2.10.0

The logs can be viewed at the links provided in the GitHub check blocks at the end of this conversation

After successfull deployment, the benchmarking metrics can be viewed at :

The Prometheus servers being benchmarked can be viewed at :

To stop the benchmark process comment /benchmark cancel .

In response to this:

/benchmark 2.10.0

If you have questions or suggestions related to my behavior, please file an issue against the prometheus/prombench repository.

@krasi-georgiev
Copy link
Contributor

/benchmark cancel

@prombot prombot removed the benchmark label Jul 8, 2019
@krasi-georgiev
Copy link
Contributor

/benchmark 2.10.0

running a new test with the updated builder to use golang 1.12.5

@prombot
Copy link
Contributor

prombot commented Jul 8, 2019

@krasi-georgiev: Welcome to Prometheus Benchmarking Tool.

The two prometheus versions that will be compared are pr-5729 and v2.10.0

The logs can be viewed at the links provided in the GitHub check blocks at the end of this conversation

After successfull deployment, the benchmarking metrics can be viewed at :

The Prometheus servers being benchmarked can be viewed at :

To stop the benchmark process comment /benchmark cancel .

In response to this:

/benchmark 2.10.0

running a new test with the updated builder to use golang 1.12.5

If you have questions or suggestions related to my behavior, please file an issue against the prometheus/prombench repository.

@brancz
Copy link
Member Author

brancz commented Jul 9, 2019

Benchmarks not showing any regression. No bugs reported, so moving forward with cutting final release of v2.11.0.

/benchmark cancel

@prombot prombot removed the benchmark label Jul 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants