[go: up one dir, main page]

Skip to content

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
Screenshot_2025-10-15_at_5.35.28_PM Screenshot_2025-10-15_at_5.31.55_PM

How to set up and validate locally

  1. Enable the FeatureFlag
Feature.enable(:observability_sass_features, group)
  1. 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
  2. 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",
 )
  1. Verify the Observability link now links to http://localhost:3000/groups/toolbox/-/observability/services
  2. 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.

Merge request reports

Loading