クラス PrometheusPushGatewayManager
java.lang.ObjectSE
org.springframework.boot.actuate.metrics.export.prometheus.PrometheusPushGatewayManager
Prometheus PushGateway
へのメトリクスのプッシュを管理するために使用できるクラス。プッシュ操作、エラー処理、シャットダウン操作のスケジューリングを処理します。- 導入:
- 2.1.0
- 作成者:
- David J. M. Karlsen, Phillip Webb
ネストされたクラスのサマリー
ネストされたクラスコンストラクターの概要
コンストラクターコンストラクター説明PrometheusPushGatewayManager
(io.prometheus.metrics.exporter.pushgateway.PushGateway pushGateway, DurationSE pushRate, PrometheusPushGatewayManager.ShutdownOperation shutdownOperation) 新しいPrometheusPushGatewayManager
インスタンスを作成します。メソッドのサマリー
修飾子と型メソッド説明void
shutdown()
PrometheusPushGatewayManager.ShutdownOperation
を実行しているマネージャーをシャットダウンします。
コンストラクターの詳細
PrometheusPushGatewayManager
public PrometheusPushGatewayManager(io.prometheus.metrics.exporter.pushgateway.PushGateway pushGateway, DurationSE pushRate, PrometheusPushGatewayManager.ShutdownOperation shutdownOperation) 新しいPrometheusPushGatewayManager
インスタンスを作成します。- パラメーター:
pushGateway
- ソースプッシュゲートウェイpushRate
- プッシュ操作が発生する割合shutdownOperation
- コンテキストが閉じられたときに実行されるシャットダウン操作- 導入:
- 3.5.0
メソッドの詳細
shutdown
public void shutdown()PrometheusPushGatewayManager.ShutdownOperation
を実行しているマネージャーをシャットダウンします。