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

feat: add metrics and timing functions #41

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

feat: add metrics and timing functions #41

wants to merge 1 commit into from

Conversation

vsoch
Copy link
Member

@vsoch vsoch commented Jun 3, 2024

Problem: we need to record timing of things
Solution: this adds a metrics table to the database, which is accessible directly by the same rainbow server that holds the database, and otherwise (for clients that are not directly connected) it can be sent metrics to save. Saving means a name, value, and arbitrary set of key value pairs (both strings). I am also including a pythons script that shows how to read the rainbow database and output the tables.

This won't be merged, but we can keep in sync with upstream.

Problem: we need to record timing of things
Solution: this adds a metrics table to the database, which
is accessible directly by the same rainbow server that holds the
database, and otherwise (for clients that are not directly connected)
it can be sent metrics to save. Saving means a name, value, and arbitrary
set of key value pairs (both strings). I am also including a pythons
script that shows how to read the rainbow database and output the
tables.

Signed-off-by: vsoch <vsoch@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant