-
Notifications
You must be signed in to change notification settings - Fork 527
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
Add usage report to Mimir #1815
Comments
Also see https://github.com/grafana/tempo-squad/issues/81 https://github.com/grafana/loki/blob/e15a03b5e5aa2828aeabfe24cfb3584ab88fcfda/cmd/loki/loki-local-config.yaml#L32-L43 gives a nice template for wording. |
As a requirement for implementing this, I'd need to see as part of the PR:
|
As per governance, rough consensus within Mimir team applies by default. Additionally, any Mimir team member can call a vote about any topic regarding the project at any time. As a non-team member, I believe in following the principle of least surprise. As such, I would argue that data sent, syntax to disable sending, commented out section in default configuration, and documentation should mirror Tempo & Loki. |
I'm going to work on this. Loki and Tempo already have it, and Mimir team wants to have anonymous statistics too, to better drive decisions when building features and supporting OSS users. |
Requisites
Seed fileThe seed file is a JSON file named The content of the file is:
ReportThe report is a JSON file periodically sent from each Mimir replica to a backend API.
Mimir components tracking usage statsTo get it working out of the box, in the initial implementation Mimir will support tracking of usage statistics only from components already using the blocks storage (so that it's already configured):
Action planPart of this action plan is outside of Mimir scope (e.g. GEM), but I prefer to keep it as much transparent as possible given the only good intentions we have about using these anonymous reports (all in all we want to better support the community). Build support in Mimir
Will follow up separately: Come up with a documented strict policy on how additional data collection should be reviewed and approved/rejected (and shared with Loki and Tempo too). Build support in GEM
Build backend API support
Build dashboard to query back anonymous usage stats
|
One nit:
The information about which Mimir version created the file seems to be ephemeral, and I don't see why we would need it (debugging purposes in case it's wrong?) The rest of the plan looks good to me! 👍 |
The comment says I would argue that starting with a versioned, well, version would be better and that the other projects should also start versioning. Nothing in the report explicitly tells me if it's Mimir or something else.
So maybe call this |
Could a requirement of this feature please be documenting how the information collected will evolve over time, if at all? I ask because we're asking our OSS users to trust that we won't collect anything sensitive. My concern is that we inadvertently add some piece of information to the usage stats (because it would be useful to Grafana as a company) without a lot of scrutiny that causes privacy issues or similar. I know that Loki has documentation around how the feature works and we are planning to, but I'd like something that describes how the feature will work over time. As an example we could document:
|
I definitely commit to write the doc and being as much clear as possible. We can't commit to a too strict policy like "we'll never change it" or "we'll change on major releases only", but we'll definitely be very clear about what we collect and why. |
Strong +1 on being aggressively transparent on what's being collected. |
Enabled by default, so consider this work done. |
Along the lines of grafana/loki#5361
NB, this took a few fixes, namely
The text was updated successfully, but these errors were encountered: