View Source OpenTelemetry.SemConv.Metrics.HTTPMetrics (OpenTelemetry.SemConv v1.27.0)
OpenTelemetry Semantic Conventions for HTTP metrics.
Summary
Functions
@spec http_client_request_duration() :: :"http.client.request.duration"
Duration of HTTP client requests.
Instrument: histogram
Unit: s
iex> OpenTelemetry.SemConv.Metrics.HTTPMetrics.http_client_request_duration()
:"http.client.request.duration"
?HTTP_CLIENT_REQUEST_DURATION.
'http.client.request.duration'
@spec http_server_request_duration() :: :"http.server.request.duration"
Duration of HTTP server requests.
Instrument: histogram
Unit: s
iex> OpenTelemetry.SemConv.Metrics.HTTPMetrics.http_server_request_duration()
:"http.server.request.duration"
?HTTP_SERVER_REQUEST_DURATION.
'http.server.request.duration'