Nov 29, 2023
Better Requests spans and other improvements
Python1.0.3
Changed
- Improve extraction of OpenTelemetry span details from the Requests library, by using the HTTP method, scheme, host and port as the event name. This improves grouping in the "Slow API requests" performance panel.
- Remove extra HTTP attributes from Django root spans.
- Remove
route
tag from HTTP server spans. Since the span will already have the route attribute as part of its name, the tag is redundant. - Filter more disk mountpoints for disk usage and disk IO stats. This helps reduce noise in the host metrics by focussing on more important mountpoints. Any mountpoint containing
/etc/hostname
,/etc/hosts
,/etc/resolv.conf
,/snap/
or/proc/
is ignored.
Fixed
- Fix an issue where the
method
tag extracted from an incoming HTTP request span would be overriden with the method used for an outgoing HTTP request span. - Support disk usage reporting (using
df
) on Alpine Linux. This host metric would report an error on Alpine Linux. - When a disk mountpoint has no inodes usage percentage, skip the mountpoint, and report the inodes information successfully for the inodes that do have an inodes usage percentage.
See the Python package 1.0.3 changelog for more information.