Troubleshooting Observability
- Tier: Free, Premium, Ultimate
- Offering: GitLab.com, GitLab Self-Managed
- Status: Beta
When working with Observability, you might encounter the following issues.
GitLab Observability instance issues
Check container status:
docker psView container logs:
docker logs [container_name]Menu doesn’t appear
Check that the Observability service URL is configured for your group or personal namespace:
# For a group: namespace = Group.find_by_path('your-group-name') # For a personal namespace: namespace = User.find_by_username('your-username').namespace namespace.observability_group_o11y_setting&.o11y_service_urlEnsure the routes are properly registered:
Rails.application.routes.routes.select { |r| r.path.spec.to_s.include?('observability') }.map(&:path)
Performance issues
If you experience SSH connection issues or poor performance:
- Verify that the instance type meets minimum requirements (2 vCPU, 8 GB RAM).
- Consider resizing to a larger instance type.
- Check disk space and increase if needed.
Telemetry doesn’t show up
If your telemetry data isn’t appearing in GitLab Observability:
Verify ports 4317 and 4318 are open in your security group.
Test connectivity with:
nc -zv [your-o11y-instance-ip] 4317 nc -zv [your-o11y-instance-ip] 4318Check container logs for any errors:
docker logs otel-collector-standard docker logs o11y-otel-collector docker logs o11yTry using the HTTP endpoint (4318) instead of gRPC (4317).
Add more debugging information to your OpenTelemetry setup.
API or MCP requests return authz_forbidden
API or MCP server requests fail with this error:
403 {"status":"error","error":{"type":"forbidden","code":"authz_forbidden","message":"only viewers/editors/admins can access this resource"}}This error occurs when the service account that owns your API key has no role.
To resolve this issue:
- In the left sidebar, select Observe > API keys.
- Select the service account.
- On the Overview tab, in Roles, select a role, then select Save Changes. If Save Changes isn’t visible, expand the Service Account Details drawer to full screen.
You don’t need to create a new key. Existing keys work as soon as the role is saved.
To check whether a service account has a role, call the service_accounts/me
endpoint with its key:
curl --header "SIGNOZ-API-KEY: <your_api_key>" \
https://<group_id>.gitlab-o11y.com/api/v1/service_accounts/meIf the response contains "serviceAccountRoles": null, the account has no role.