Documentation ¶
Overview ¶
Package semconv provides utilities for working with OpenTelemetry semantic conventions related to HTTP and network operations.
Index ¶
Constants ¶
View Source
const ( // HistogramMeasureUnitSeconds represents the unit (UCUM) convention for // measuring durations in seconds. HistogramMeasureUnitSeconds = "s" // ClientRequestDuration is the key representing the histogram unit for // outbound request durations in seconds. ClientRequestDuration = "http.client.duration" )
Variables ¶
This section is empty.
Functions ¶
func ClientRequest ¶
ClientRequest returns trace attributes for an HTTP request made by a client. It always includes "http.request.method" and optionally the "server.address".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.