The Simplest Way to Make Honeycomb and VS Code Work Like They Should
Using honeycomb and vs code lets developers inspect live trace data right inside their code editor. Teams link code lines to live app events so they can find and fix bugs fast. Instead of switching between browser tabs and local files, engineers check system health next to their code. This workflow keeps context in one place during live incidents and daily code changes. How keys and data flow between honeycomb and vs code The link between the telemetry backend and the local editor relies on
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 honeycomb and vs code lets developers inspect live trace data right inside their code editor. Teams link code lines to live app events so they can find and fix bugs fast.
Instead of switching between browser tabs and local files, engineers check system health next to their code. This workflow keeps context in one place during live incidents and daily code changes.
How keys and data flow between honeycomb and vs code
The link between the telemetry backend and the local editor relies on API keys and extensions. An engineer installs an extension in the editor and enters a scoped API key.
The editor then sends requests to the remote telemetry API over an encrypted network connection. It pulls down trace summaries, span details, and query results that match the active code file.
When the developer writes code, they can also add instrumentation libraries to their local app. As the local app runs, it sends trace spans out to the remote collector endpoint.
Permissions depend on the specific key type that the team creates in the telemetry platform. Ingest keys allow an app to send events, while query keys let the editor read data.
Separating these two key types keeps read permissions and write permissions distinct across every team. Each developer machine only needs the specific rights required for its current task.
Common failure modes and how to scope roles
A common mistake happens when teams share one root API key across every developer laptop. If one laptop gets lost, the team must rotate that shared key everywhere at once.
Shared keys also ruin audit logs because every query looks like it came from the same user. Security teams cannot tell which person ran a specific query or changed a shared board.
Another risk comes from granting broad write permissions to keys meant only for reading traces. A leaked key with broad rights lets an attacker create fake datasets or delete rules.
Infrastructure as Code Security Scanning + End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Unlogged queries from local editors can also expose sensitive user data stored inside trace attributes. Without field masking, raw trace payloads may show user emails, phone numbers, or card numbers.
Data masking rewrites matched fields in results before they reach the local screen. This step keeps sensitive strings out of local editor caches and temporary log files.
To fix these issues, teams should give each developer an individual account linked to single sign-on. Give editor extensions read-only permissions scoped to one specific project or dataset.
Store local API keys in the operating system keychain rather than in plain text files. Never commit local editor settings files that hold live keys into a shared source control repo.
Auditing trace queries and protecting local workflows
Beyond basic key scoping, platform teams need clear visibility into how developers query production telemetry. Local editor plugins often run background queries whenever a user opens a file or clicks a function.
If a team does not track these automated calls, they can hit API rate limits fast. High query volume from dozens of editors can slow down dashboards for the rest of the company.
Platform engineers should set clear rate limits for read keys used by local development tools. They should also review query audit logs each week to spot unusual traffic spikes.
Network controls add another layer of safety for production telemetry data. Teams can restrict query API calls so they only work from approved corporate network ranges.
When an engineer leaves the team, revoking their identity should cut off editor access right away. Tying telemetry roles directly to central identity groups makes offboarding clean and fast.
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
What permissions does my editor need to read trace data?
Your editor only needs a read-only query key scoped to your specific service dataset. It does not need permission to create datasets, change team settings, or delete stored traces.
How do we stop sensitive user data from showing up in local traces?
Scrub or mask fields like emails, phone numbers, and card numbers before traces leave your app. You can also apply server-side rules that rewrite matched fields in results during queries.
Should developers use the same key for local apps and editor plugins?
No, you should use a write-only ingest key for running local apps that send test spans. Use a separate read-only key for editor plugins that pull query results from the server.
Related guides
In this post