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 a bit more tracing, temporary Prometheus metric #289

Merged
merged 4 commits into from
Sep 7, 2023

Conversation

S7evinK
Copy link
Collaborator

@S7evinK S7evinK commented Sep 7, 2023

Adds some tracing and logging.
Also adds a temporary histogram to get a feeling how often we're creating a new snapshot. This is to see if a change I have in mind (separate membership table) is a viable solution.

snapshotTable *SnapshotTable
spacesTable *SpacesTable
entityName string
snapshotSizeVec *prometheus.HistogramVec // TODO: Remove, this is temporary to get a feeling how often a new snapshot is created
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe snapshotMemberCountVec, since it only counts #members and not the total number of state events?

@S7evinK S7evinK merged commit 4f8f8db into main Sep 7, 2023
7 checks passed
@S7evinK S7evinK deleted the s7evink/moretracing branch September 7, 2023 11:55
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.

2 participants