Querying in ClickHouse CloudThe data in this system table is held locally on each node in ClickHouse Cloud. Obtaining a complete view of all data, therefore, requires the
clusterAllReplicas function. See here for further details.Description
Contains the instrumentation points using LLVM’s XRay feature. Availabilitysystem.instrumentation is present only in ClickHouse builds compiled with LLVM XRay support (USE_XRAY). On builds without it, the table does not exist and queries against it will fail with UNKNOWN_TABLE. You can check whether your build has it enabled with:
Columns
id(UInt32) — ID of the instrumentation pointfunction_id(Int32) — ID assigned to the function in xray_instr_map section of elf-binary.function_name(LowCardinality(String)) — Name used to instrument the function.handler(LowCardinality(String)) — Handler that was patched into instrumentation points of the function.entry_type(Enum8(‘Entry’ = 0, ‘Exit’ = 1, ‘EntryAndExit’ = 2)) — Entry type for the patch.symbol(LowCardinality(String)) — Complete and demangled symbol name.arguments(Array(Dynamic)) — Arguments for the handler call.
Example
See Also
- SYSTEM INSTRUMENT — Add or remove instrumentation points.
- system.trace_log — Inspect profiling log.
- system.symbols — Inspect symbols to add instrumentation points.