Add Observability to projects nav section
What does this MR do and why?
Add Observability to projects nav section
This will allow users to access Observability from a project.
References
Add Observability link to Monitor menu in sidebar.
Screenshots or screen recordings
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
- Enable the FeatureFlag
Feature.enable(:observability_sass_features, group)
- Navigate to http://localhost:3000/toolbox/gitlab-smoke-tests and verify the Observability link appears in the Monitor navigation and links to http://localhost:3000/groups/toolbox/-/observability/setup
- Add an o11y setting
group = Group.find_by_path('toolbox')
group.create_observability_group_o11y_setting!(
o11y_service_url: "http://localhost:8080",
o11y_service_user_email: 'o11y@gitlab.com',
o11y_service_password: "asupersecretpassword",
o11y_service_post_message_encryption_key: "your-super-secret-encryption-key-here-32-chars-minimum",
)
- Verify the Observability link now links to http://localhost:3000/groups/toolbox/-/observability/services
- Delete the o11y setting:
group.observability_group_o11y_setting.destroy!
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.