Reputation: 349
I have multiple httpClient
instances in one app. I want to collect metrics by each httpClient
with specific label or name. Is it possible with vert.x
? I saw in documentation block of collecting httpClient
metrics and I want to enrich each metric with specification for client.
Upvotes: 0
Views: 201
Reputation: 9128
You can provide a metrics name when creating the client:
HttpClientOptions options = new HttpClientOptions().setMetricsName("foo");
Upvotes: 2