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

ui: implementation of transient stats for admin UI #2721

Closed
spencerkimball opened this issue Sep 29, 2015 · 6 comments
Closed

ui: implementation of transient stats for admin UI #2721

spencerkimball opened this issue Sep 29, 2015 · 6 comments
Assignees
Labels
C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Milestone

Comments

@spencerkimball
Copy link
Member

Create new statistics for transient stats at:

  • Gateways for client traffic
    • of requests

    • of bytes in

    • of bytes out

    • of failures

    • Latency of client requests
  • Node level (both for Raft & KV traffic)
    • of RPCs

    • of bytes in

    • of bytes out

    • of failed RPCs

    • Latency of internode requests
  • Store level
    • of store requests

    • of bytes to storage

    • of bytes from storage

    • of failed commands

    • Latency of store requests
@tbg
Copy link
Member

tbg commented Dec 31, 2015

partial server-side work in #3504 should make it easy to access some of that information already. Others can be added easily. @maxlang, let's talk when you get back.

SQL is missing from the above list.

@maxlang
Copy link
Contributor

maxlang commented Jan 4, 2016

Here's the new list we're discussing supporting

Primary (empty)

  • Status - gr health, y unhealthy, r dead ( counts/status): 20 / 4 / 1
  • Node name (# nodes)
  • Stores (total stores)
  • Ranges (total ranges)

Storage

  • total count/bytes - 180 (54 KiB)
  • Live count/bytes - (live count / live value bytes + key bytes)
  • intent count/bytes
  • sys count/bytes - metadata, trans records, etc

Gateway Traffic - these are totals, or viewable by time range

  • SQL CRUD stats
    • TRANSACTIONS (count)
    • SELECTS (count, bytes out)
    • UPDATES (count, bytes in)
    • INSERTS (count, bytes in)
    • DELETES (count)
    • CREATES (count)
    • DROPS (count)

Internal traffic

  • Total reqs count/bytes in /bytes out
  • Req Reads count/ bytes out
  • Req Writes count / bytes in

Range Activity

  • Leaders (count)
  • Splits
  • Merges
  • Rebalances
  • Availability (%)

@cuongdo
Copy link
Contributor

cuongdo commented Jan 12, 2016

Also need ranges / table endpoint

@cuongdo cuongdo added the ui label Jan 25, 2016
@petermattis petermattis changed the title Implementation of transient stats for Admin UI ui: implementation of transient stats for admin UI Feb 12, 2016
@petermattis petermattis added C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) and removed ui labels Feb 13, 2016
@petermattis petermattis modified the milestone: Beta Feb 14, 2016
@spencerkimball
Copy link
Member Author

@cuongdo should this be closed?

@cuongdo
Copy link
Contributor

cuongdo commented Feb 16, 2016

Not yet. I'm dividing this up into three pieces for manageability.

  1. SQL (done)
  2. Transactions (SQL & KV) -- in-progress
  3. Internal traffic - to be done after grpc stuff settles down

@petermattis petermattis assigned cuongdo and unassigned maxlang Mar 8, 2016
@cuongdo
Copy link
Contributor

cuongdo commented Mar 14, 2016

SQL & KV are now done.

We're punting on on the internal traffic stats until after 1.0. I'll create a new issue for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Projects
None yet
Development

No branches or pull requests

5 participants