Documentation
¶
Index ¶
- Variables
- func DefaultServer(addr string) *http.Server
- func IncDatabaseErr()
- func IncEthNodeClusterErr()
- func IncMetamaskInterceptorWrongNonce()
- func IncPrivateTx()
- func IncRPCNodeProxyClientErr()
- func IncRPCNodeProxyServerErr()
- func IncRedisErr()
- func IncRelayClientErr()
- func IncRelayServerErr()
- func IncStatusEndpointErr()
- func IncUniswapInterceptorNonceDiffTooHigh()
- func InitCustomersConfigMetric(customers ...string)
- func ReportCustomerConfigWasUpdated(customer string)
- func StatusBadRequestInc()
- func StatusInternalServerErrorInc()
- func StatusNotFoundInc()
- func StatusOKInc()
- func UrlParamUsageInc()
Constants ¶
This section is empty.
Variables ¶
View Source
var (
UrlParamUsage = metrics.NewCounter(`http_requests_params{name="url"}`)
)
we might want to use getOrCreate instead of newCounter to dynamically handle all http statused with less code used http statuses are limited (4) so it is safer and better in terms of performance
Functions ¶
func DefaultServer ¶
func IncDatabaseErr ¶
func IncDatabaseErr()
func IncEthNodeClusterErr ¶
func IncEthNodeClusterErr()
func IncMetamaskInterceptorWrongNonce ¶
func IncMetamaskInterceptorWrongNonce()
func IncPrivateTx ¶
func IncPrivateTx()
func IncRPCNodeProxyClientErr ¶
func IncRPCNodeProxyClientErr()
IncRPCNodeProxyClientErr increments client total errors counter when error caused on the client side/request building
func IncRPCNodeProxyServerErr ¶
func IncRPCNodeProxyServerErr()
IncRPCNodeProxyServerErr increments server total errors counter when error caused on the server/transport layer
func IncRedisErr ¶
func IncRedisErr()
func IncRelayClientErr ¶
func IncRelayClientErr()
func IncRelayServerErr ¶
func IncRelayServerErr()
func IncStatusEndpointErr ¶
func IncStatusEndpointErr()
func IncUniswapInterceptorNonceDiffTooHigh ¶
func IncUniswapInterceptorNonceDiffTooHigh()
func InitCustomersConfigMetric ¶
func InitCustomersConfigMetric(customers ...string)
func ReportCustomerConfigWasUpdated ¶
func ReportCustomerConfigWasUpdated(customer string)
func StatusBadRequestInc ¶
func StatusBadRequestInc()
func StatusInternalServerErrorInc ¶
func StatusInternalServerErrorInc()
func StatusNotFoundInc ¶
func StatusNotFoundInc()
func StatusOKInc ¶
func StatusOKInc()
func UrlParamUsageInc ¶ added in v1.13.0
func UrlParamUsageInc()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.