View Source OpenTelemetry.SemConv.Metrics.HTTPMetrics (OpenTelemetry.SemConv v1.27.0)

OpenTelemetry Semantic Conventions for HTTP metrics.

Summary

Functions

Duration of HTTP client requests.

Duration of HTTP server requests.

Functions

Link to this function

http_client_request_duration()

View Source
@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"
Link to this function

http_server_request_duration()

View Source
@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"