-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
v19.1.0-beta.20190225: Unknown Event Types in the Web UI for automatic stats #35319
Comments
Fixing the description for the event is easy: https://github.com/cockroachdb/cockroach/blob/master/pkg/ui/src/util/events.ts#L83 But I don't think we want this showing up as an event since it will be very spammy, and in principle it's not something that a user should need to be concerned with. |
@RaduBerinde are all jobs events? it does seem spammy to have it be both an event and a job |
No, there is special code to issue an event. I'll add a cluster setting and turn it off by default. |
I am planning to make the following improvements:
|
that sounds great |
35425: stats: improve UI experience r=RaduBerinde a=RaduBerinde This change makes the following improvements: - the job name is now a user-friendly message (instead of the exact SQL statement) for automatic table stats. The message includes the fully-qualified tale name (the table name was not visible at all). - the event description in the UI is fixed (used to be an "unknown event error"); the message includes the FQ table name. - events are not posted by default (they are too spammy and redundant with the jobs); but they can be turned on via a cluster setting (could be useful during debugging). Release note (admin ui change): CREATE STATISTICS jobs no longer generate events by default; improved descriptions for automatic statistics jobs. Fixes #35319. Co-authored-by: Radu Berinde <[email protected]>
Describe the problem
Automatic stats are creating
unknown event types
in the Web UI event logTo Reproduce
What did you do? Describe in your own words.
Ran the latest beta and sent some test load using https://github.com/cockroachdb/movr. Checked the WebUI and saw a bunch of unknown events.
Expected behavior
I'd expect these events to be labeled clearly
The text was updated successfully, but these errors were encountered: