https://pantsbuild.org/ logo
#development
Title
# development
w

witty-crayon-22786

08/29/2021, 9:25 PM
@average-vr-56795: how would you feel about replacing
DirectoryMaterializeMetadata
and
LoadMetadata
with metrics instead? we could store histograms of size or load time by source, for example.
👍 1
a

average-vr-56795

08/29/2021, 9:38 PM
Totally, sounds great
Ideally this would all just come for free from tracing
w

witty-crayon-22786

08/29/2021, 9:38 PM
it mostly does via workunits… although i’m not sure we want to create workunits per blob
@average-vr-56795: for your usecases, would you want the metrics rendered to stderr by fs_util?
a

average-vr-56795

08/29/2021, 9:49 PM
Nah, I don't pay any attention to that output 🙂
If I did, I'd probably want to export to an OpenTelemetery endpoint or similar
👍 1