Hi Chris,
I think that the parsing of the runtime trace information like you are
describing is very interesting. I have been thinking about a similar
continuous tracing and automatic anomaly detection for my application,
but have not yet tried to implement anything, so your experience is
helpful. My application has limited connectivity and I am only
interested in anomalous high latencies that occur < 0.01% of the time,
so the existing manual and live-streaming tracing options are not a
good fit for my needs.
Did you see the "StackImpact" post to gonuts from a few months ago?
Their github repo includes an internal package to parse and filter the
trace format. You could also see how they handle the traceEvStack
issue (I have not looked myself).
Online parsing, filtering, and analyzing the trace output seems like a
common desire and enhancement to the standard pprof/trace
functionality (which is great itself). At least 3 of us want to use
the runtime trace output without having to manually run a trace and
define start and stop points for the trace.
Dmitry, would you be open in establishing a stable trace format with
these extra features that Chris is asking about? It would be nice to
have a common package to parse and extract features in realtime from a
streaming trace.
Thanks,
Tarmigan
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
golang-nuts...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.