From dc9df10f5a0b5adb5d981587badb06c820c79d3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Fri, 10 Jul 2020 21:31:58 +0200 Subject: [PATCH] sync: Also rename span attributes --- chain/sync.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chain/sync.go b/chain/sync.go index 0de624a99..ccc52cf57 100644 --- a/chain/sync.go +++ b/chain/sync.go @@ -1103,8 +1103,8 @@ func (syncer *Syncer) collectHeaders(ctx context.Context, incoming *types.TipSet ss := extractSyncState(ctx) span.AddAttributes( - trace.Int64Attribute("fromHeight", int64(incoming.Height())), - trace.Int64Attribute("toHeight", int64(known.Height())), + trace.Int64Attribute("incomingHeight", int64(incoming.Height())), + trace.Int64Attribute("knownHeight", int64(known.Height())), ) // Check if the parents of the from block are in the denylist.