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

Show the number of UIDs assigned #135

Closed
tsuna opened this issue Nov 22, 2012 · 2 comments
Closed

Show the number of UIDs assigned #135

tsuna opened this issue Nov 22, 2012 · 2 comments

Comments

@tsuna
Copy link
Member

tsuna commented Nov 22, 2012

Add a command (under tsdb uid) and possibly an HTTP end point to report the number of UIDs currently allocated for metric names, tag names, and tag values.

@tsuna
Copy link
Member Author

tsuna commented Nov 22, 2012

Workaround that can be used in the mean time:

$ ./build/tsdb uid grep metrics . | wc -l
663

and subtract one from the result printed (because there is always an extra row printed that isn't a metric). To get the count of tag names, specify tagv instead of metrics. To get the count of tag values, just specify tagk instead.

@manolama
Copy link
Member

manolama commented Jul 5, 2013

Completed in "next" branch with Isavin's excellent work.

@manolama manolama closed this as completed Jul 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants