The Simplest Way to Make Backstage and Honeycomb Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

You link backstage and honeycomb by mapping catalog services to trace datasets through scoped API keys. This setup lets developers view service SLOs, recent traces, and error trends inside their developer portal. Teams build a central catalog so engineers do not hunt across ten browser tabs during an outage. Pairing trace data with service ownership records gives responders fast context when latency spikes. How backstage and honeycomb share data and permissions The developer portal reads tra

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.

You link backstage and honeycomb by mapping catalog services to trace datasets through scoped API keys. This setup lets developers view service SLOs, recent traces, and error trends inside their developer portal.

Teams build a central catalog so engineers do not hunt across ten browser tabs during an outage. Pairing trace data with service ownership records gives responders fast context when latency spikes.

How backstage and honeycomb share data and permissions

The developer portal reads trace summaries and burn alerts from the telemetry platform over HTTPS. A backend plugin holds a read key and fetches metrics for the active catalog entity.

Each service in the catalog carries metadata tags that name its matching telemetry dataset. When an engineer opens a service page, the portal requests trace graphs for that specific dataset.

User login happens in the portal through your identity provider. The portal then uses its own server credential to query the telemetry API on the user's behalf.

This pattern keeps user sessions simple, yet it puts high trust in the portal backend. If that backend key has write rules, any bug in the portal can alter production boards.

Common failure modes with shared keys and broad roles

Many teams start by pasting one master API key into the portal settings file. That single key often has permission to create datasets, edit boards, and read every team's traces.

Shared service accounts create blind spots in your security logs. When a heavy query slows down the system, audit logs only show the portal service account name.

Unlogged queries also hide who viewed sensitive trace attributes like emails or card numbers. If traces capture raw payloads, any developer with portal login can read them across all services.

End-to-End Encryption + Backstage Security Plugins: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

To fix this, create a read-only key used only by the portal backend. Restrict that key so it cannot manage schemas, delete data, or change alert rules.

Next, separate keys by team or environment so test portals never read production traces. Rotate these keys on a fixed schedule and store them in an encrypted secret store.

Scoping network paths and catalog metadata

Keep all API calls on the server side of your developer portal. Never send telemetry API keys to the user's web browser where scripts can leak them.

Lock down outbound network traffic from the portal pods to known API endpoints. Use strict firewall rules so the portal server only talks to approved telemetry domains.

Check your catalog files during code review to prevent dataset spoofing. A team should not tag their test service with the dataset name of a payment service.

Run automated checks in your build pipeline to verify catalog ownership tags. Match the group owner of the catalog file against the allowed dataset list for that group.

Strip sensitive fields before traces leave your apps or use masking to rewrite matched fields. Masking rewrites emails, phone numbers, card numbers, and national IDs in query results.

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

How do we map a catalog component to the right trace dataset?

Add an annotation in the component file that matches the exact dataset slug. Keep a naming rule so service names and dataset names stay identical across your org.

What permissions should the portal API key have?

Give the portal key read-only permissions for boards, queries, and service level objectives. Never grant ingest permissions, schema edit rights, or team management roles to the portal key.

How can we keep sensitive customer data out of portal trace views?

Scrub sensitive fields like emails and card numbers in your telemetry collector before export. You can also restrict query permissions on sensitive datasets so general portal keys cannot read them.

The query runs. The emails stay hidden.