Skip to content
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

Include /status/usage-stats endpoint that would give the current usage-stats data #1569

Closed
zalegrala opened this issue Jul 13, 2022 · 0 comments · Fixed by #1782
Closed

Include /status/usage-stats endpoint that would give the current usage-stats data #1569

zalegrala opened this issue Jul 13, 2022 · 0 comments · Fixed by #1782
Assignees
Milestone

Comments

@zalegrala
Copy link
Contributor

Is your feature request related to a problem? Please describe.

We'd like a way to communicate with users about what data is included in a payload for usage stats. Here we seek a programmatic solution to the problem by creating a new status endpoint that would include all the information about the payload that the usage-stats module reports to Grafana Labs. This seems a pretty clean way to keep the information up to date, as well as communicate with folks about what is getting sent.

This should be reasonably simple to do, considering that when the payload is assembled for delivery, we dig in the expvars in order to grab all the necessary data. The same logic can likely be re-used to assemble the status endpoint.

Relates to: #1481

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

Successfully merging a pull request may close this issue.

3 participants