v1.1.0
Lib-observability v1.1.0
-
Features:
- Add
tenant.idas a shared observability attribute. - Record
http.server.request.durationinWithTelemetry. - Skip probe and scrape paths by default; add
WithExcludedRoutestests. - Read
tenant.idfrom OTel baggage for spans and logs.
- Add
-
Fixes:
- Persist trimmed endpoint and treat null/nil baggage as empty in tracing.
- Add
http_latency_msfield toWithHTTPLoggingaccess log. - Include baggage-propagated
tenant.idinhttp.server.request.durationmetric. - Sanitize
tenant.idfrom baggage before seeding spans. - Infer insecure exporter for scheme-less OTLP endpoint.
-
Improvements:
- Promote
context.idto sharedAttrKeyContextIDconstant. - Move tenant constants to constants package.
- Align duration histogram buckets with OTel advisory.
- Normalize
http.request.methodto OTel known set. - Omit
http.routefor unmatched 404 requests.
- Promote
Contributors: @brunognovaes, @fredcamaral, @gandalf-at-lerian, @gauchito91, @lerian-studio, @qnen.