Project

General

Profile

Feature #1271

proflogger: query interface

Added by Sage Weil about 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
07/05/2011
Due date:
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

query via unix domain socket (instead of logging to a file and scraping that)

History

#1 Updated by Sage Weil about 8 years ago

- rip out current logging
- keep two copies of the counter vectors
- query via unix domain socket
- on each query, provide old values, new values, and time differential. or do new values + counter diff (instead of new + old)?

#2 Updated by Sage Weil about 8 years ago

  • translation missing: en.field_position set to 37

#3 Updated by Sage Weil about 8 years ago

we can simplify this to only dump the current values and time differential.

maybe a separate command to reset the counters just for completeness, although collectd won't need it.

#4 Updated by Sage Weil about 8 years ago

i like json for output formatting. partly we shouldn't need any library here since the syntax is trivial, basically

{ "field": counter,
"field2": counter
}

#5 Updated by Sage Weil about 8 years ago

  • Assignee set to Colin McCabe

#6 Updated by Sage Weil about 8 years ago

We've got to be able to come up with a better name than 'profiling logger', especially now that this isn't actually logging anything!

#7 Updated by Sage Weil about 8 years ago

  • Status changed from New to Resolved

#8 Updated by Sage Weil about 8 years ago

  • translation missing: en.field_story_points set to 5

Also available in: Atom PDF