Home > Blockchain >  Can you turn Elasticsearch Profile API output into a flame graph?
Can you turn Elasticsearch Profile API output into a flame graph?

Time:08-24

We've been using Flame Graph recently for CPU profiling. Is there a converter for turning Elasticsearch Profile API output into a Flame Graph (or will I need to write one?) I looked at Brendan Gregg's Flame Graph project, but I didn't see any examples for Elasticsearch Profile API output. I think that the Elasticsearch nested profiler output would roll up nicely into a Flame Graph, but it's also possible I'm missing something.

CodePudding user response:

There is an ongoing effort that started 4 years ago but it's not yet available in Kibana. Elastic charts supports it as well as you can see in the gallery.

Until it's officially supported, since Kibana supports Vega (which doesn't support flame graphs yet), someone brought up the question and got a raw answer on how to proceed. Not sure if that cuts it, but worth a try.

  • Related