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

Support SHOW STATS for specific module #4204

Merged
merged 1 commit into from
Sep 22, 2015
Merged

Support SHOW STATS for specific module #4204

merged 1 commit into from
Sep 22, 2015

Conversation

otoolep
Copy link
Contributor

@otoolep otoolep commented Sep 22, 2015

The reference to host is obsolete. We may add it back in at some point, but it was not currently being used.

Example output:

> SHOW STATS
name: engine
tags: path=/home/philip/.influxdb/data/_internal/monitor/1, version=bz1
blks_write      blks_write_bytes        blks_write_bytes_c      points_write    points_write_dedupe
----------      ----------------        ------------------      ------------    -------------------
70              4917                    4279                    70              70


name: httpd
tags: bind=:8086
query_req       query_resp_bytes        req
---------       ----------------        ---
6               2268                    6

name: shard
tags: engine=bz1, id=1, path=/home/philip/.influxdb/data/_internal/monitor/1
fields_create   series_create   write_points_ok write_req
-------------   -------------   --------------- ---------
0               6               64              11

name: runtime
-------------
Alloc   Frees   HeapAlloc       HeapIdle        HeapInUse       HeapObjects     HeapReleased    HeapSys Lookups Mallocs NumGC   NumGoroutine    PauseTotalNs    Sys             TotalAlloc
3737136 12003   3737136         2932736         4407296         13398           0               7340032 135     25401   2       43              1295888         11737336        11167896

> SHOW STATS FOR 'httpd'
name: httpd
tags: bind=:8086
query_req       query_resp_bytes        req
---------       ----------------        ---
7               3515                    7

> SHOW STATS FOR 'cluster'
> 

@otoolep
Copy link
Contributor Author

otoolep commented Sep 22, 2015

@dgnorton @corylanou

@otoolep otoolep force-pushed the show_stats_module branch 2 times, most recently from 9241352 to 391cedb Compare September 22, 2015 23:34
@otoolep otoolep self-assigned this Sep 22, 2015
@otoolep otoolep added this to the 0.9.5 milestone Sep 22, 2015
@corylanou
Copy link
Contributor

+1

otoolep added a commit that referenced this pull request Sep 22, 2015
Support SHOW STATS for specific module
@otoolep otoolep merged commit 952f1d5 into master Sep 22, 2015
@otoolep otoolep deleted the show_stats_module branch September 22, 2015 23:49
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