xmaker: adjust metrics bucket
Some checks failed
Go / build (1.21, 6.2) (push) Has been cancelled
golang-lint / lint (push) Has been cancelled

This commit is contained in:
c9s 2024-10-09 17:24:49 +08:00
parent 11fcf8c617
commit 76a627a504
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -6,14 +6,14 @@ var cancelOrderDurationMetrics = prometheus.NewHistogramVec(
prometheus.HistogramOpts{
Name: "xmaker_cancel_order_duration_milliseconds",
Help: "cancel order duration in milliseconds",
Buckets: prometheus.ExponentialBuckets(50, 1.3, 10),
Buckets: prometheus.ExponentialBuckets(50, 2.0, 13),
}, []string{"strategy_type", "strategy_id", "exchange", "symbol"})
var makerOrderPlacementDurationMetrics = prometheus.NewHistogramVec(
prometheus.HistogramOpts{
Name: "xmaker_maker_order_placement_duration_milliseconds",
Help: "maker order placement duration in milliseconds",
Buckets: prometheus.ExponentialBuckets(50, 1.3, 10),
Buckets: prometheus.ExponentialBuckets(50, 2.0, 13),
}, []string{"strategy_type", "strategy_id", "exchange", "symbol"})
var openOrderBidExposureInUsdMetrics = prometheus.NewGaugeVec(