Add an option to opt out from Service Ping generation completely
What does this MR do and why?
Related Issues
Closes #416822 (closed)
Changelog
Added:
- New usage_ping_generation_enabled application setting for granular Service Ping control
- UI controls for managing Service Ping generation independently
- Comprehensive documentation for Service Ping settings relationships
- Smart frontend logic for checkbox interaction management
Changed:
- GitlabServicePingWorker now respects generation setting and exits early when disabled
- Optional metrics availability logic updated to use OR condition (either Service Ping OR Generation)
- Enhanced Service Ping settings documentation with clear relationship explanations
References
Screenshots or screen recordings
How to set up and validate locally
- Navigate to
/admin/application_settings/metrics_and_profiling - Verify the logic below is implemented:
- If Service Ping is selected, Service Ping generation is disabled. Optional data is enabled.
- If Service Ping is deselected, Service Ping generation is enabled. Optional data is enabled.
- If Service Ping generation is deselected, Optional data is disabled.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #416822 (closed)
Edited by Niko Belokolodov
