Allow per-http-method MetricsFilter submissions
Add `endpoints.metrics.filter.gauge-submissions` and `endpoints.metrics.filter.counter-submissions` properties which can be used to fine-tune how MetricsFilter submits metrics. Use `per-http-method` to group by the the HTTP method, `merged` to combine or both (`merged,per-http-method`) to submit both in forms. Closes gh-5102
This commit is contained in:
committed by
Phillip Webb
parent
40e51021ba
commit
a15684e67e
@@ -896,6 +896,8 @@ content into your application; rather pick only the properties that you need.
|
||||
endpoints.mappings.sensitive= # Mark if the endpoint exposes sensitive information.
|
||||
endpoints.metrics.enabled= # Enable the endpoint.
|
||||
endpoints.metrics.filter.enabled=true # Enable the metrics servlet filter.
|
||||
endpoints.metrics.filter.gauge-submissions=merged # Http filter gauge submissions (merged, per-http-method)
|
||||
endpoints.metrics.filter.counter-submissions=merged # Http filter counter submissions (merged, per-http-method)
|
||||
endpoints.metrics.id= # Endpoint identifier.
|
||||
endpoints.metrics.path= # Endpoint path.
|
||||
endpoints.metrics.sensitive= # Mark if the endpoint exposes sensitive information.
|
||||
|
||||
Reference in New Issue
Block a user