クラス PrometheusSimpleclientScrapeEndpoint
java.lang.ObjectSE
org.springframework.boot.actuate.metrics.export.prometheus.PrometheusSimpleclientScrapeEndpoint
@DeprecatedSE(since="3.3.0",
forRemoval=true)
@WebEndpoint(id="prometheus")
public class PrometheusSimpleclientScrapeEndpoint
extends ObjectSE
非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。
Prometheus シンプルクライアントを使用して、Prometheus サーバーがスクレイピングできる形式でメトリクスを出力する
@Endpoint
。- 導入:
- 2.0.0
- 作成者:
- Jon Schneider, Johnny Lim
コンストラクターのサマリー
コンストラクターコンストラクター説明PrometheusSimpleclientScrapeEndpoint
(io.prometheus.client.CollectorRegistry collectorRegistry) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。方法の概要
修飾子と型メソッド説明scrape
(TextOutputFormat format, SetSE<StringSE> includedNames) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。
コンストラクターの詳細
PrometheusSimpleclientScrapeEndpoint
public PrometheusSimpleclientScrapeEndpoint(io.prometheus.client.CollectorRegistry collectorRegistry) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。
メソッドの詳細
scrape
@ReadOperation(producesFrom=TextOutputFormat.class) public WebEndpointResponse<StringSE> scrape(TextOutputFormat format, @Nullable SetSE<StringSE> includedNames) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。
PrometheusScrapeEndpoint
を推奨