Project

General

Profile

Actions

Feature #1271

closed

proflogger: query interface

Added by Sage Weil almost 13 years ago. Updated over 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% 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)

Actions #1

Updated by Sage Weil almost 13 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)?

Actions #2

Updated by Sage Weil almost 13 years ago

  • Translation missing: en.field_position set to 37
Actions #3

Updated by Sage Weil almost 13 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.

Actions #4

Updated by Sage Weil almost 13 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
}

Actions #5

Updated by Sage Weil almost 13 years ago

  • Assignee set to Colin McCabe
Actions #6

Updated by Sage Weil almost 13 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!

Actions #7

Updated by Sage Weil over 12 years ago

  • Status changed from New to Resolved
Actions #8

Updated by Sage Weil over 12 years ago

  • Translation missing: en.field_story_points set to 5
Actions

Also available in: Atom PDF