this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

comment out metrics which aren't used in this version

+6
+6
cmd/relay/relay/metrics.go
··· 36 36 Help: "The total number of events sent to consumers", 37 37 }, []string{"remote_addr", "user_agent"}) 38 38 39 + /* NOTE: not implemented in this version of relay 39 40 var externalUserCreationAttempts = promauto.NewCounter(prometheus.CounterOpts{ 40 41 Name: "relay_external_user_creation_attempts", 41 42 Help: "The total number of external users created", 42 43 }) 44 + */ 43 45 44 46 var newUsersDiscovered = promauto.NewCounter(prometheus.CounterOpts{ 45 47 Name: "relay_new_users_discovered", 46 48 Help: "The total number of new users discovered directly from the firehose (not from refs)", 47 49 }) 48 50 51 + /* NOTE: not implemented in this version of relay 49 52 var newUserDiscoveryDuration = promauto.NewHistogram(prometheus.HistogramOpts{ 50 53 Name: "relay_new_user_discovery_duration", 51 54 Help: "A histogram of new user discovery latencies", 52 55 Buckets: prometheus.ExponentialBuckets(0.001, 2, 15), 53 56 }) 57 + */ 54 58 59 + /* NOTE: not implemented 55 60 var accountVerifyWarnings = promauto.NewCounterVec(prometheus.CounterOpts{ 56 61 Name: "validator_account_verify_warnings", 57 62 Help: "things that have been a little bit wrong with account messages", 58 63 }, []string{"host", "warn"}) 64 + */