Add -usage-stats.installation-mode configuration to track the installation mode
What this PR does
- Add -usage-stats.installation-mode configuration to track the installation mode.
- Update helm and jsonnet templates.
Which issue(s) this PR fixes or relates to
Fixes https://github.com/grafana/mimir/issues/3149
Checklist
- [x] Tests updated
- [x] Documentation added
- [ ]
CHANGELOG.mdupdated - the order of entries should be[CHANGE],[FEATURE],[ENHANCEMENT],[BUGFIX]
Should this be in draft mode, or is it ready for review?
Next step is to add it to jsonnet and helm, but I'm happy if you follow up with separate PRs.
Thanks for your review. I also prefer to update it in the next PR because I need more time to update both the helm and the jsonnet templates.
Next step is to add it to jsonnet and helm, but I'm happy if you follow up with separate PRs.
Thanks for your review. I also prefer to update it in the next PR because I need more time to update both the helm and the jsonnet templates.
I think for helm it would make sense to add it as a CLI flag on all components and not part of the YAML config template. Since there would be no need to change it, doesn't affect how metrics are handled and makes it hard to overwrite by accident.
@hi-rustin Are you going to take care of adding the CLI flag to jsonnet and Helm, or should we delegate to someone else?
Oh, I almost forgot. Please add an entry to docs/sources/operators-guide/configure/about-anonymous-usage-statistics-reporting.md to mention we're tracking the installation mode as well. In the section "Which information is collected", I would add a new entry under "Information about the Mimir cluster and version", something like "- The installation mode used to deploy Mimir, such as helm.".
Are you going to take care of adding the CLI flag to jsonnet and Helm, or should we delegate to someone else?
I'll take care it.