open-telemetry / opentelemetry-collector

OpenTelemetry Collector

Home Page:https://opentelemetry.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] Can I use otel to trace the usage for each function call

gyliu513 opened this issue · comments

There is no question template, so I was using the template of feature request to ask a question here, hope it is OK.

Otel can help me for tracing with spans, but here the question is does otel can provide me some info like which function has the highest usage and which does not? Or even with a order to display the usage of each function calls, this can help the clients to allocate more resources to the APIs which has the highest usage. Is this doable? Thanks!

OpenTelemetry itself won't provide you with analysis tools, only with the instrumentation SDK/API and middleware (collector, in this repository). You'd typically send this data to a telemetry backend, which would analyse and display this data in a way that makes sense.

Thanks @jpkrohling , fair enough, do you have any recommended backend that can help?

There are quite a few vendors supporting OpenTelemetry, including my employer. It wouldn't be fair to list one here :-)