Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
For internal development purposes and for bug reports and highly technical users it will be extremely helpful if we can turn on and off a profiling log.
I think initially:
- We may want the ability to entirely disable logging with a compile-time variable (we may already have this since OT can be entirely disabled)
- Enabling or disabling the log is controlled by an environment variable (assuming we built with logging)
- The log will initially just dump to stdout or a flat file (we can also or will also someday export via OT)
- Some initial metrics include "run time of node", "run time of kernel function", "run time of query"
- It would be nice if we could get some regular statistics as well such as the allocated bytes of the memory pools, RSS consumed by the process, etc. Perhaps that would require two files.
Attachments
Issue Links
- depends upon
-
ARROW-15044 [C++] Add simple stdout/JSON exporter for OpenTelemetry
- Resolved
- relates to
-
ARROW-14000 [C++] Add profiling / tracing for exec plan
- Open
1.
|
[C++] Add logging for kernel functions and exec plan nodes | Resolved | Matthijs Brobbel |
|
||||||||
2.
|
[C++] Add regular logging of exec plan performance metrics | Resolved | Alvin Chunga Mamani |
|
||||||||
3.
|
[C++][Tools] Create visualization tool for exec plan tracing logs | Open | Unassigned | |||||||||
4.
|
[C++] Add OT spans for the scanner | Resolved | Joost Hoozemans |
|
||||||||
5.
|
[C++][R][Python] Update ExecPlan bindings | Open | Unassigned |
|
||||||||
6.
|
[C++] Add rows scanned to open telemetry / profiling | In Progress | Unassigned | |||||||||
7.
|
[C++] Dump OpenTelemetry profiling summary to stdout | Open | Unassigned | |||||||||
8.
|
[Tools][Docs] Add instructions on how to collect the produced telemetry data | Open | Bryce Mecum |