Add ReceivedFrom to block validation failure metrics

This commit is contained in:
Nate Walck 2020-03-01 20:01:52 -05:00
parent 8283bb994a
commit 65cd13301c

View File

@ -60,7 +60,7 @@ var DefaultViews = []*view.View{
&view.View{
Measure: BlockValidationFailure,
Aggregation: view.Count(),
TagKeys: []tag.Key{FailureType, PeerID},
TagKeys: []tag.Key{FailureType, PeerID, ReceivedFrom},
},
&view.View{
Measure: BlockValidationSuccess,