fix(telemetry): db.system on SQL spans for SigNoz's service map #103

Merged
sharang merged 1 commits from fix/telemetry-db-system into main 2026-10-29 09:55:32 +00:00
Owner

SigNoz draws database nodes on the service map from attribute_string_db$$system (dependency_graph_minutes_db_calls_mv_v2, checked in ClickHouse), i.e. the pre-1.26 key db.system. The SQL spans from #102 set only db.system.name, so tenant-registry-stage → postgresql never appeared. Now both keys.

go vet, golangci-lint, go test -race ./internal/telemetry/ (new assertion on db.system) green.

🤖 Generated with Claude Code

https://claude.ai/code/session_01KYcAAeTw22GE9QPzDM8yc4

SigNoz draws database nodes on the service map from `attribute_string_db$$system` (`dependency_graph_minutes_db_calls_mv_v2`, checked in ClickHouse), i.e. the pre-1.26 key `db.system`. The SQL spans from #102 set only `db.system.name`, so `tenant-registry-stage → postgresql` never appeared. Now both keys. `go vet`, `golangci-lint`, `go test -race ./internal/telemetry/` (new assertion on `db.system`) green. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01KYcAAeTw22GE9QPzDM8yc4
sharang added 1 commit 2026-10-29 09:54:37 +00:00
fix(telemetry): db.system on SQL spans for SigNoz's service map
ci / shared (pull_request) Successful in 12s
ci / test (pull_request) Successful in 25m2s
ci / image (pull_request) Skipped
81f291b81e
The service map draws database nodes from the pre-1.26 db.system key
(dependency_graph_minutes_db_calls_mv_v2); the spans set only
db.system.name, so the registry's Postgres never appeared on the map.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KYcAAeTw22GE9QPzDM8yc4
sharang merged commit 4ab258c4b2 into main 2026-10-29 09:55:32 +00:00
Sign in to join this conversation.