-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
api: Add reporting fields to activitylog config endpoint #20086
Conversation
This PR adds the internal reporting state to the `internal/counters/config` read endpoint: * reporting_enabled * billing_start_time These fields are read-only and will return logical.ErrInvalidRequest if they are included in an Update payload.
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. This should be all we need on the frontend for the UI updates.
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 asked a couple of questions just to gain more context, otherwise, it looks good.
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.
Looks good! Thanks for the discussions!
This PR adds the internal reporting state to the
internal/counters/config
read endpoint for use by the UI: