インターフェースの使用
org.springframework.http.server.observation.ServerRequestObservationConvention
パッケージ
説明
observing
HTTP サーバーアプリケーションの計測。Bean スタイルの構成を可能にする汎用フィルター基本クラスを提供します。
org.springframework.http.server.observation 内の ServerRequestObservationConvention 使用
修飾子と型クラス説明class
org.springframework.web.filter 内の ServerRequestObservationConvention 使用
修飾子コンストラクター説明ServerHttpObservationFilter
(io.micrometer.observation.ObservationRegistry observationRegistry, ServerRequestObservationConvention observationConvention) カスタム規則を使用して、指定されたObservationRegistry
に対する観測を記録するHttpRequestsObservationFilter
を作成します。