fleet/server/contexts
Victor Lyuboslavsky 07949df530
Improved OpenTelemetry error handling (#38757)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #38756 

- Changed to NOT mark many client errors as exceptions
- Instead, added client_error and server_error metrics that can be used
to alert on unusual error rates

# Checklist for submitter

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.

## Testing

- [x] Added/updated automated tests
- [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 separate metrics for distinguishing between client and server
errors, enhancing observability and monitoring capabilities.

* **Bug Fixes**
* Client request errors no longer incorrectly appear in error tracking
as exceptions; improved accuracy of error reporting to external
services.
* Adjusted logging levels for authentication and enrollment operations
to provide clearer diagnostics.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-01-26 17:07:32 -06:00
..
apple_bm feat: enable multiple ABM and VPP tokens (#21693) 2024-08-29 18:51:46 -04:00
authz Add new self-service auth method for iOS/iPadOS (#36659) 2025-12-05 10:16:46 -05:00
capabilities add headers denoting capabilities between fleet server / desktop / orbit (#7833) 2022-09-26 07:53:53 -03:00
certserial My device page (self-service) for iOS/iPadOS (#35238) 2025-11-07 17:30:51 -05:00
ctxdb Fix edge case of AppConfig changes getting lost in cached mysql. (#15352) 2023-11-29 10:09:37 -05:00
ctxerr Improved OpenTelemetry error handling (#38757) 2026-01-26 17:07:32 -06:00
host Refactor endpoint_utils for modularization (#36484) 2025-12-31 09:12:00 -06:00
installersize Bump installer max size, make configurable (#38122) 2026-01-19 13:36:01 -06:00
license Refactor endpoint_utils for modularization (#36484) 2025-12-31 09:12:00 -06:00
logging Refactor endpoint_utils for modularization (#36484) 2025-12-31 09:12:00 -06: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 Activity bounded context: /api/latest/fleet/activities (2 of 2) (#38478) 2026-01-23 07:42:09 -06:00