Backstage Lighthouse Plugin Shows No Audit Data
In this tutorial, you'll learn about Backstage Lighthouse Plugin Shows No Audit Data. We cover key concepts, practical examples, and best practices to help you understand and apply this topic effectively.
The Lighthouse plugin dashboard shows no audits or reports are stuck in a queued state.
Wrong ❌
# app-config.yaml - missing lighthouse configuration
backend:
baseUrl: http://localhost:7007
# lighthouse plugin requires:
# lighthouse:
# baseUrl: http://lighthouse:3003
Wrong Output
Lighthouse Plugin dashboard shows:
"No audits found. Create your first audit to get started."
But audits are present in the Lighthouse service at http://lighthouse:3003
Right ✅
# app-config.yaml
backend:
baseUrl: http://localhost:7007
lighthouse:
baseUrl: http://lighthouse:3003
# Also configure catalog entity links
techdocs:
builder: 'local'
generators:
techdocs: 'docker'
Right Output
Lighthouse Plugin displays:
My Service - Score: 92 - Last audited: 2026-06-24
[Run Audit] [View Report]
Prevention
- Configure lighthouse.baseUrl in app-config.yaml to point to the Lighthouse service endpoint.
- Ensure the Lighthouse service is accessible from the Backstage backend pod or Process.
- Add the LighthousePlugin to your App.tsx imports and entity page.
- Use the entity annotation lighthouse.com/website-url on catalog entities to associate URLs.
- Verify cross-origin requests are allowed between Backstage and the Lighthouse service.
DodaTech applies similar defensive patterns across Doda Browser, DodaZIP, and Durga Antivirus Pro infrastructure for production reliability.
Common Mistakes with lighthouse plugin
- Mixing let bindings with <- bindings in do notation, producing type errors
- Overlapping type class instances that cause GHC to reject the program with ambiguous dispatch errors
- Non-exhaustive pattern matches that compile with warnings then crash at runtime
These mistakes appear frequently in real-world BACKSTAGE code. DodaTech's contributors have identified these patterns through analysis of open-source projects and production systems.
Practice Exercise
Write a pure function that safely divides two integers using Maybe, then test it with edge cases like division by zero and negative numbers.
This exercise reinforces the concepts covered in this guide. Try implementing it before checking online solutions.
FAQ
This quick fix is part of the DodaTech infrastructure engineering series. Learn more at DodaTech tutorials.
Built by the developers of DodaTech
Doda Browser, DodaZIP & Durga Antivirus Pro