> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-fix-nav-issues.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> インストルメンテーションポイントが含まれるシステムテーブル

# system.instrumentation

<Info>
  **ClickHouse Cloud でのクエリ**

  このシステムテーブルのデータは、ClickHouse Cloud の各ノードにローカルに保持されています。したがって、すべてのデータを完全に把握するには、`clusterAllReplicas` 関数を使用する必要があります。詳細については、[こちら](/ja/reference/system-tables/overview#system-tables-in-clickhouse-cloud)を参照してください。
</Info>

<div id="description">
  ## 説明
</div>

LLVM の XRay 機能を使用するインストルメンテーションポイントが格納されます。

<div id="columns">
  ## カラム
</div>

* `id` ([UInt32](/ja/reference/data-types/int-uint)) — インストルメンテーションポイントの ID
* `function_id` ([Int32](/ja/reference/data-types/int-uint)) — ELF バイナリの xray\_instr\_map セクションで関数に割り当てられた ID。
* `function_name` ([LowCardinality(String)](/ja/reference/data-types/lowcardinality)) — 関数のインストルメントに使用される名前。
* `handler` ([LowCardinality(String)](/ja/reference/data-types/lowcardinality)) — 関数のインストルメンテーションポイントにパッチ適用されたハンドラー。
* `entry_type` ([Enum8('Entry' = 0, 'Exit' = 1, 'EntryAndExit' = 2)](/ja/reference/data-types/enum)) — パッチのエントリタイプ。
* `symbol` ([LowCardinality(String)](/ja/reference/data-types/lowcardinality)) — 完全なデマングル済みのシンボル名。
* `parameters` ([Array(Dynamic)](/ja/reference/data-types/array)) — ハンドラー呼び出しのパラメーター。

<div id="example">
  ## 例
</div>

```sql theme={null}
SELECT * FROM system.instrumentation FORMAT Vertical;
```

```text theme={null}
Row 1:
──────
id:            0
function_id:   231280
function_name: QueryMetricLog::startQuery
handler:       log
entry_type:    Entry
symbol:        DB::QueryMetricLog::startQuery(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000l>>>, unsigned long)
parameters:    ['test']

Row 2:
──────
id:            1
function_id:   231280
function_name: QueryMetricLog::startQuery
handler:       profile
entry_type:    EntryAndExit
symbol:        DB::QueryMetricLog::startQuery(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000l>>>, unsigned long)
parameters:    []

Row 3:
──────
id:            2
function_id:   231280
function_name: QueryMetricLog::startQuery
handler:       sleep
entry_type:    Exit
symbol:        DB::QueryMetricLog::startQuery(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000l>>>, unsigned long)
parameters:    [0.3]

3 行 (set内)。経過時間: 0.302 秒。
```

<div id="see-also">
  ## 関連項目
</div>

* [SYSTEM INSTRUMENT](/ja/reference/statements/system#instrument) — インストルメンテーションポイントを追加または削除します。
* [system.trace\_log](/ja/reference/system-tables/trace_log) — プロファイリングログを確認します。
* [system.symbols](/ja/reference/system-tables/symbols) — インストルメンテーションポイントの追加に使用するシンボルを確認します。
