Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into feat/logs_new_schema
Browse files Browse the repository at this point in the history
  • Loading branch information
nityanandagohain committed Aug 22, 2024
2 parents 8663a7d + 90263a7 commit 895e3fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exporter/clickhousetracesexporter/clickhouse_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@ func populateOtherDimensions(attributes pcommon.Map, span *Span) {
span.MsgOperation = v.Str()
} else if k == "db.system" {
span.DBSystem = v.Str()
} else if k == "db.name" {
} else if k == "db.name" || k == "db.namespace" {
span.DBName = v.Str()
} else if k == "db.operation" {
} else if k == "db.operation" || k == "db.operation.name" {
span.DBOperation = v.Str()
} else if k == "peer.service" {
span.PeerService = v.Str()
Expand Down

0 comments on commit 895e3fa

Please sign in to comment.