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

Add framework for capturing system level events that can be queried using system tables #25581

Open
praveen-influx opened this issue Nov 22, 2024 · 0 comments · May be fixed by #25603 or #25602
Open

Add framework for capturing system level events that can be queried using system tables #25581

praveen-influx opened this issue Nov 22, 2024 · 0 comments · May be fixed by #25603 or #25602
Assignees
Labels

Comments

@praveen-influx
Copy link
Contributor

praveen-influx commented Nov 22, 2024

Users need the ability to query (using system tables) instrumentation data captured for various system level events. Actual data we capture for these events can be arbitrary as these are specific to each event.

eg.

select * from system.snapshot_fetch should return event_time, event_data at a high level. A sample output for such a query is below,

event_time                |  event_data
2024-11-01T10:24:00.000   |  { start_time: "2024-11-01T10:23:59.500", time_taken_ms: "500", total_fetched: 430 }
2024-11-01T10:35:00.000   |  { start_time: "2024-11-01T10:34:59.500", time_taken_ms: "500", total_fetched: 12 }

These events will,

  • not be persisted (any server restarts will lose these events)
  • bring back up to N items (N will default to 1000)
  • have arbitrary event_data (use Maparray internally)
@praveen-influx praveen-influx self-assigned this Nov 22, 2024
@praveen-influx praveen-influx changed the title Add framework for ring buffer of events that can be queried via a system table (in OSS) Add framework for ring buffer of events that can be queried via a system table Nov 22, 2024
@praveen-influx praveen-influx changed the title Add framework for ring buffer of events that can be queried via a system table Add framework for capturing system level events that can be queried using system tables Nov 27, 2024
praveen-influx added a commit that referenced this issue Nov 29, 2024
@praveen-influx praveen-influx linked a pull request Nov 29, 2024 that will close this issue
praveen-influx added a commit that referenced this issue Nov 29, 2024
praveen-influx added a commit that referenced this issue Nov 29, 2024
praveen-influx added a commit that referenced this issue Nov 29, 2024
@praveen-influx praveen-influx linked a pull request Nov 29, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant