-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Align usage report config with Grafana #5406
Align usage report config with Grafana #5406
Conversation
Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -261,7 +261,7 @@ func New(cfg Config) (*Loki, error) { | |||
Cfg: cfg, | |||
clientMetrics: chunk_storage.NewClientMetrics(), | |||
} | |||
|
|||
usagestats.Edition("oss") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I feel this would be better in RegisterFlags
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I plan to overrides this in enterprise and I need a way to know when it happens hence why I move it inside the New here. So I can override after New.
Co-authored-by: Christian Haudum <christian.haudum@gmail.com>
Co-authored-by: Christian Haudum <christian.haudum@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/cc @KMiller-Grafana can you take a look on the doc side? |
Co-authored-by: Karen Miller <84039272+KMiller-Grafana@users.noreply.github.com>
Co-authored-by: Karen Miller <84039272+KMiller-Grafana@users.noreply.github.com>
@KMiller-Grafana let me know if we're good to merge this one, thanks ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for making these changes.
Signed-off-by: Cyril Tovena cyril.tovena@gmail.com
What this PR does / why we need it:
This PR update the config flag to use something similar as Grafana, this way users will be able to find the config to disable more easily.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
cc @KMiller-Grafana let's me know what you want to change on the doc side.
Checklist
CHANGELOG.md
about the changes.