chore: standardize environment variables to use INFLUXDB3_ prefix#27119
Open
chore: standardize environment variables to use INFLUXDB3_ prefix#27119
Conversation
Updates environment variables to use the INFLUXDB3_ prefix for consistency: - Object store vars (OBJECT_STORE_* -> INFLUXDB3_OBJECT_STORE_*) - Logging vars (LOG_* -> INFLUXDB3_LOG_*) - Tracing vars (TRACES_* -> INFLUXDB3_TRACES_*) Adds env_compat module that runs before clap parsing to: - Copy deprecated env var values to new names (backwards compatibility) - Copy new env var values to old names (external crate compatibility) - Emit deprecation warnings with log-like formatting Use gen_env! macro for AWS_CREDENTIALS_FILE env var Co-authored-by: Peter Barnett <peter.barnett03@gmail.com>
Contributor
|
I was hoping to have #27118 merged (I submitted it this morning) before this PR lands and have this PR be based on it. I'm not sure where it is in @praveen-influx's todo queue (but anyone can review that). |
Contributor
Author
|
I'm happy to hold off until it is ready to go 😁 |
Contributor
It's merged now (as you probably know from the new (predicted) merge conflicts with |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates environment variables to use the INFLUXDB3_ prefix for consistency:
Adds env_compat module that runs before clap parsing to:
Use gen_env! macro for AWS_CREDENTIALS_FILE env var
This is the Core port from changes made in Enterprise