Skip to content

Conversation

gouthamve
Copy link
Contributor

Signed-off-by: Goutham Veeramachaneni [email protected]

What this PR does:

Which issue(s) this PR fixes:
Fixes #2247

Copy link
Contributor

Choose a reason for hiding this comment

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

Should we make a pass on these to ensure all are prefixed with "experimental"? I realize that is a breaking change in itself, but I do like the convention that everything non-prod ready is prefixed with something consistent and obvious.

Another option is to output a warning in logs on startup of experimental features, similar to what we do for deprecated flags.

At the very least using the log output method, we could leave these flags alone for now and only force new experimental features to adhere to the convention.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

See: #2361

Copy link
Contributor

@pracucci pracucci left a comment

Choose a reason for hiding this comment

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

Good job @gouthamve. I left few comments, but overall LGTM.

Signed-off-by: Goutham Veeramachaneni <[email protected]>
@gouthamve gouthamve added this to the v1 milestone Mar 30, 2020
@gouthamve gouthamve merged commit 05404d5 into cortexproject:master Mar 30, 2020

# Flags, Config and minor version upgrades

Upgrading cortex from one minor version to the next should "just work"; that being said, we don't want to bump the major version every time we remove a flag, so we will will keep deprecated flags around for 2 minor release. There is a metric (`cortex_deprecated_flags_inuse_total`) you can alert on to find out if you're using a deprecated flag.
Copy link
Contributor

Choose a reason for hiding this comment

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

@gouthamve so we will will typo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document compatibility guarantees for v1
4 participants