mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-21 22:43:52 +00:00
xmaker: adjust metrics bucket
This commit is contained in:
parent
11fcf8c617
commit
76a627a504
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue
Block a user