enable libp2p agent metrics (#2933)

This commit is contained in:
Ștefan Talpalaru 2021-10-01 16:15:08 +02:00 committed by GitHub
parent f8e9b1ff9d
commit 9b2b3bf1ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -124,7 +124,8 @@ DEPOSITS_DELAY := 0
#- "--define:release" cannot be added to "config.nims" #- "--define:release" cannot be added to "config.nims"
#- disable Nim's default parallelisation because it starts too many processes for too little gain #- disable Nim's default parallelisation because it starts too many processes for too little gain
NIM_PARAMS += -d:release --parallelBuild:1 #- https://github.com/status-im/nim-libp2p#use-identify-metrics
NIM_PARAMS += -d:release --parallelBuild:1 -d:libp2p_agents_metrics -d:KnownLibP2PAgents=nimbus,lighthouse,prysm,teku
ifeq ($(USE_LIBBACKTRACE), 0) ifeq ($(USE_LIBBACKTRACE), 0)
# Blame Jacek for the lack of line numbers in your stack traces ;-) # Blame Jacek for the lack of line numbers in your stack traces ;-)