15.2. Data Grid メトリックの設定
Data Grid を設定して、metrics
エンドポイント経由でゲージとヒストグラムをエクスポートします。
手順
-
必要に応じて、
metrics
設定でゲージとヒストグラムをオンまたはオフにします。
宣言型
<!-- Computes and collects statistics for the Cache Manager. --> <cache-container statistics="true"> <!-- Exports collected statistics as gauge and histogram metrics. --> <metrics gauges="true" histograms="true" /> </cache-container>
<!-- Computes and collects statistics for the Cache Manager. -->
<cache-container statistics="true">
<!-- Exports collected statistics as gauge and histogram metrics. -->
<metrics gauges="true" histograms="true" />
</cache-container>
プログラマティック