fleet/server/contexts
Victor Lyuboslavsky f522611f21
Added missing OpenTelemetry instrumentation to several API endpoints. (#32960)
Fixes #32331 

Manually tested all paths. `/test` path removed in
https://github.com/fleetdm/fleet/pull/32962

Also added support for sending errors to OpenTelemetry, like we do for
APM/Sentry.

# Checklist for submitter

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files)
for more information.

## Testing
- [x] QA'd all new/changed functionality manually


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Added OpenTelemetry tracing across core HTTP endpoints (health,
version, assets, metrics, enroll/root, debug, Apple MDM, SCEP, SCIM)
with dynamic per-request route instrumentation.
* Enhanced error reporting to include OpenTelemetry spans/events with
contextual user/host attributes.

* **Tests**
* Added unit tests validating SCIM and error-handling telemetry, span
naming, and sensitive-data redaction.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-09-16 11:10:33 -05:00
..
apple_bm feat: enable multiple ABM and VPP tokens (#21693) 2024-08-29 18:51:46 -04:00
authz Orbit remote management for flags (#7246) 2022-09-24 00:30:23 +05:30
capabilities add headers denoting capabilities between fleet server / desktop / orbit (#7833) 2022-09-26 07:53:53 -03:00
ctxdb Fix edge case of AppConfig changes getting lost in cached mysql. (#15352) 2023-11-29 10:09:37 -05:00
ctxerr Added missing OpenTelemetry instrumentation to several API endpoints. (#32960) 2025-09-16 11:10:33 -05:00
host Improved Datastore usage of osquery hosts requests (#3601) 2022-01-17 22:52:09 -03:00
license Allow certain licenses to disable telemetry (#29093) 2025-05-22 14:27:07 -04:00
logging Added more logging for troubleshooting of software package installation (#27291) 2025-03-20 11:09:57 -03:00
publicip Add public ip to hosts & derive geolocation when rendering host (#4652) 2022-03-21 12:29:52 -04:00
token #7624 accept empty bearer authorization token. (#7685) 2022-09-12 16:09:41 +02:00
viewer Issue 2868 ignore admin reset password sso (#2877) 2021-11-10 19:30:15 -03:00