You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add group_per_user_services option to windows_service (#24087)
* Add group_per_user_services option to windows_service
Strip the per-session LUID suffix from Windows per-user service instances
so they report under their template name, reducing windows_service and
display_name tag cardinality. Detection gates on the
SERVICE_USERSERVICE_INSTANCE type flag plus a trailing _<LUID> suffix.
Defaults to false.
* Address review: type hints, comment, filter-mode test
Add type hints to _group_per_user_service_name and drop the redundant
suffix-search guard. Document the grouped-instance behavior (instances
collapse to one series; last-emitted state wins) as a code comment.
Add a test covering grouping when services are selected by name filter.
* Add changelog entry
* Reuse ServiceAssertion in group_per_user tests
Use the existing ServiceAssertion / assert_service_check_and_metrics
helpers in the group_per_user tests for consistency with the rest of the
suite; this also asserts the uptime/state/restarts metrics, not just the
service check.
Add the `group_per_user_services` option to report Windows per-user service instances under their template name, reducing `windows_service` tag cardinality.
0 commit comments