The Simplest Way to Make Backstage and Lightstep Work Like They Should
Using backstage and lightstep together links your internal service catalog to live system traces. This setup lets developers check app latency and error rates from one catalog page. Engineering teams often waste hours jumping between code repos, service docs, and trace tools. Linking your developer portal with your trace backend puts health data beside service ownership. When an alert fires, the on-call engineer sees who owns the broken service right away. They also see recent code changes and
Your coding agents run with your access.
Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.
Using backstage and lightstep together links your internal service catalog to live system traces. This setup lets developers check app latency and error rates from one catalog page.
Engineering teams often waste hours jumping between code repos, service docs, and trace tools. Linking your developer portal with your trace backend puts health data beside service ownership. When an alert fires, the on-call engineer sees who owns the broken service right away. They also see recent code changes and active latency spikes in the same view.
How backstage and lightstep share data and permissions
The developer portal reads trace summaries and service health from the trace backend API. To make this work, the portal backend stores an API key for the trace tool. When a user loads a service page, the portal sends a request to fetch trace data. The trace tool checks the key and sends back latency stats and error counts.
Each service in the catalog needs a tag that matches its name in the trace tool. If the names do not match, the portal will show an empty card. Teams keep these tags in the catalog file that lives in the service code repo. This keeps service metadata close to the code that emits the traces.
Identity also matters when engineers click from the portal into a deep trace view. Both tools should use the same single sign-on provider for user log in. When a developer clicks a spike on the portal graph, they jump to the trace tool. Shared sign-on lets them land on the exact trace without logging in a second time.
Common failure modes and how to scope roles
Many teams use one broad admin key to link the portal and the trace backend. This creates a huge risk if the portal server leaks its secret keys. Anyone with that admin key can change alert rules or delete project data. Instead, create a read-only service role just for the portal integration. That key should only read trace stats and service diagrams.
Shared service accounts also hide who is running heavy queries against trace data. If the portal makes slow API calls, you need to know which page caused the load. Good logging on the portal backend tracks which user loaded which service view. You should also rotate the API key on a fixed schedule to limit exposure.
End-to-End Encryption + Backstage Security Plugins: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Trace spans often carry raw user inputs from web requests or database calls. If an app logs full payloads, sensitive fields can end up inside trace tags. Data masking rewrites matched fields like emails, phone numbers, card numbers, or national IDs in results. Applying masking rules before data reaches the screen protects customer privacy during incident calls.
Keeping service tags clean across teams
A common failure happens when teams rename a microservice in their code. They update the trace emitter, but they forget to update the catalog file. The portal page then breaks during the next outage when the team needs it most. You can fix this by checking catalog tags during your code build checks.
Network paths between the portal server and the trace API also need clear rules. The portal backend needs outbound HTTPS routes to reach the trace tool endpoints. Do not let browser clients call the trace API with a shared key. Keep the key on the backend server so user browsers cannot read it.
Add runtime guardrails and masking beside your databases and APIs
Login rules, role grants, and CI checks govern who connects to your stack. Yet any allowed script, engineer, or AI agent still runs commands with the full scope of its role. For workloads on Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes, SSH, or internal HTTP services, hoop.dev sits beside the service as an open-source proxy, a sidecar for your database or API.
Before a query runs, hoop.dev guardrails check the statement against your rules. An AI Analyzer you configure can score intent or hold risky calls for human review. Next, hoop.dev data masking rewrites sensitive fields in responses, and each verdict is logged per listener. Explore the MIT-licensed project on GitHub.
Frequently asked questions
Why does my service page show no trace data?
Check that the service name tag in your catalog matches the trace service name. Also verify that the backend API key has read permissions for that project.
What role should the portal API key use?
Give the portal a read-only viewer role scoped to the projects it must display. Never use an admin key or a personal user token for the catalog integration.
How do we stop sensitive data from appearing in traces?
Scrub sensitive inputs in your app code or collector before sending spans out. Set up masking rules to rewrite emails, phone numbers, and card numbers in results.
Related guides
In this post