lndmon icon indicating copy to clipboard operation
lndmon copied to clipboard

Duplicate on chain txns breaks metrics collection

Open ajcrowe opened this issue 5 years ago • 3 comments

An issue with lnd results in duplicate entries in the on chain transaction list.

This results in metric collection failure as multiple series with the same labels are created.

Error:

An error has occurred while serving metrics:

collected metric "lnd_tx_num_confs" { label:<name:"tx_hash" value:"xxxx" > counter:<value:11894 > } was collected before with the same name and label values

ajcrowe avatar Nov 07 '19 17:11 ajcrowe

Also seeing this

mrfelton avatar Feb 02 '20 10:02 mrfelton

Anyone know what the actual root cause of this is?

mrfelton avatar Jan 10 '21 12:01 mrfelton

An issue with lnd results in duplicate entries in the on chain transaction list.

@ajcrowe do you have duplicate entries for that tx in lnd's list chain txns? Trying to figure out whether this is a lnd or lndmon issue.

Looks like we don't actually use this metric anywhere, so I'm just going to remove it anyway, but would be good to know what's up.

carlaKC avatar Jan 11 '21 10:01 carlaKC