Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HTTP Client and Server web metrics #128

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
== Prometheus Default Metrics

By default, there is a set of metrics that are exposed by the different binders. If you include the Prometheus reporter, those metrics will be available in Prometheus format as well.

Here you will find the definition of all default metrics exposed by a binder.

=== Web Metrics
.Metrics provided
|=======
|*Name* |*Description*
|http_client_requests_seconds_count|Is the total number of requests per second your application made to an endpoint via HTTP Client interface
|http_client_requests_seconds_sum|Is the sum of the duration of every request your application made to an endpoint via HTTP Client interface
|http_client_requests_seconds_max|Is the maximum request duration during a time window. The value resets to 0 when a new time window starts. The default time window is 2 minutes.
|http_server_requests_seconds_count|Is the total number of requests your application received at an endpoint
|http_server_requests_seconds_sum|Is the sum of the the duration of every request your application received at an endpoint
|http_server_requests_seconds_max|Is the maximum request duration during a time window. The value resets to 0 when a new time window starts. The default time window is 2 minutes
|=======
1 change: 1 addition & 0 deletions src/main/docs/guide/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ metricsAndReporters:
metricsAndReportersKairos: Kairos Registry
metricsAndReportersNewRelic: New Relic Registry
metricsAndReportersPrometheus: Prometheus Registry
metricsAndReportersPrometheusDefinition: Prometheus Default Metrics
metricsAndReportersSignalFx: SignalFx Registry
metricsAndReportersStackdriver: Stackdriver Registry
metricsAndReportersStatsD: StatsD Registry
Expand Down