Thread (21 messages) 21 messages, 8 authors, 2020-08-13

Re: [RFC PATCH 0/7] metricfs metric file system and examples

flat view

From: Pavel Machek <hidden>
Date: 2020-08-10 09:23:52
Also in: kvm, linux-fsdevel, lkml

On Fri 2020-08-07 14:29:09, Jonathan Adams wrote:
[resending to widen the CC lists per rdunlap@infradead.org's suggestion
original posting to lkml here: https://lkml.org/lkml/2020/8/5/1009]

To try to restart the discussion of kernel statistics started by the
statsfs patchsets (https://lkml.org/lkml/2020/5/26/332), I wanted
to share the following set of patches which are Google's 'metricfs'
implementation and some example uses.  Google has been using metricfs
internally since 2012 as a way to export various statistics to our
telemetry systems (similar to OpenTelemetry), and we have over 200
statistics exported on a typical machine.

These patches have been cleaned up and modernized v.s. the versions
in production; I've included notes under the fold in the patches.
They're based on v5.8-rc6.

The statistics live under debugfs, in a tree rooted at:

	/sys/kernel/debug/metricfs
Is debugfs right place for this? It looks like something where people
would expect compatibility guarantees...

								Pavel

-- 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help