Feature #1271
closedproflogger: query interface
0%
Description
query via unix domain socket (instead of logging to a file and scraping that)
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)?
Updated by Sage Weil almost 13 years ago
- Translation missing: en.field_position set to 37
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.
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
}
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!
Updated by Sage Weil over 12 years ago
- Translation missing: en.field_story_points set to 5