|
@ -127,6 +127,14 @@ var ( |
|
|
Buckets: prometheus.ExponentialBuckets(0.0001, 2, 24), |
|
|
Buckets: prometheus.ExponentialBuckets(0.0001, 2, 24), |
|
|
}, []string{"type"}) |
|
|
}, []string{"type"}) |
|
|
|
|
|
|
|
|
|
|
|
FilerInFlightRequestsGauge = prometheus.NewGaugeVec( |
|
|
|
|
|
prometheus.GaugeOpts{ |
|
|
|
|
|
Namespace: Namespace, |
|
|
|
|
|
Subsystem: "filer", |
|
|
|
|
|
Name: "in_flight_requests", |
|
|
|
|
|
Help: "Current number of in-flight requests being handled by filer.", |
|
|
|
|
|
}, []string{"type"}) |
|
|
|
|
|
|
|
|
FilerServerLastSendTsOfSubscribeGauge = prometheus.NewGaugeVec( |
|
|
FilerServerLastSendTsOfSubscribeGauge = prometheus.NewGaugeVec( |
|
|
prometheus.GaugeOpts{ |
|
|
prometheus.GaugeOpts{ |
|
|
Namespace: Namespace, |
|
|
Namespace: Namespace, |
|
@ -210,6 +218,14 @@ var ( |
|
|
Buckets: prometheus.ExponentialBuckets(0.0001, 2, 24), |
|
|
Buckets: prometheus.ExponentialBuckets(0.0001, 2, 24), |
|
|
}, []string{"type"}) |
|
|
}, []string{"type"}) |
|
|
|
|
|
|
|
|
|
|
|
VolumeServerInFlightRequestsGauge = prometheus.NewGaugeVec( |
|
|
|
|
|
prometheus.GaugeOpts{ |
|
|
|
|
|
Namespace: Namespace, |
|
|
|
|
|
Subsystem: "volumeServer", |
|
|
|
|
|
Name: "in_flight_requests", |
|
|
|
|
|
Help: "Current number of in-flight requests being handled by volume server.", |
|
|
|
|
|
}, []string{"type"}) |
|
|
|
|
|
|
|
|
VolumeServerVolumeGauge = prometheus.NewGaugeVec( |
|
|
VolumeServerVolumeGauge = prometheus.NewGaugeVec( |
|
|
prometheus.GaugeOpts{ |
|
|
prometheus.GaugeOpts{ |
|
|
Namespace: Namespace, |
|
|
Namespace: Namespace, |
|
@ -280,6 +296,13 @@ var ( |
|
|
Help: "Bucketed histogram of s3 time to first byte request processing time.", |
|
|
Help: "Bucketed histogram of s3 time to first byte request processing time.", |
|
|
Buckets: prometheus.ExponentialBuckets(0.001, 2, 27), |
|
|
Buckets: prometheus.ExponentialBuckets(0.001, 2, 27), |
|
|
}, []string{"type", "bucket"}) |
|
|
}, []string{"type", "bucket"}) |
|
|
|
|
|
S3InFlightRequestsGauge = prometheus.NewGaugeVec( |
|
|
|
|
|
prometheus.GaugeOpts{ |
|
|
|
|
|
Namespace: Namespace, |
|
|
|
|
|
Subsystem: "s3", |
|
|
|
|
|
Name: "in_flight_requests", |
|
|
|
|
|
Help: "Current number of in-flight requests being handled by s3.", |
|
|
|
|
|
}, []string{"type"}) |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
func init() { |
|
|
func init() { |
|
@ -295,6 +318,7 @@ func init() { |
|
|
Gather.MustRegister(FilerRequestCounter) |
|
|
Gather.MustRegister(FilerRequestCounter) |
|
|
Gather.MustRegister(FilerHandlerCounter) |
|
|
Gather.MustRegister(FilerHandlerCounter) |
|
|
Gather.MustRegister(FilerRequestHistogram) |
|
|
Gather.MustRegister(FilerRequestHistogram) |
|
|
|
|
|
Gather.MustRegister(FilerInFlightRequestsGauge) |
|
|
Gather.MustRegister(FilerStoreCounter) |
|
|
Gather.MustRegister(FilerStoreCounter) |
|
|
Gather.MustRegister(FilerStoreHistogram) |
|
|
Gather.MustRegister(FilerStoreHistogram) |
|
|
Gather.MustRegister(FilerSyncOffsetGauge) |
|
|
Gather.MustRegister(FilerSyncOffsetGauge) |
|
@ -305,6 +329,7 @@ func init() { |
|
|
Gather.MustRegister(VolumeServerRequestCounter) |
|
|
Gather.MustRegister(VolumeServerRequestCounter) |
|
|
Gather.MustRegister(VolumeServerHandlerCounter) |
|
|
Gather.MustRegister(VolumeServerHandlerCounter) |
|
|
Gather.MustRegister(VolumeServerRequestHistogram) |
|
|
Gather.MustRegister(VolumeServerRequestHistogram) |
|
|
|
|
|
Gather.MustRegister(VolumeServerInFlightRequestsGauge) |
|
|
Gather.MustRegister(VolumeServerVacuumingCompactCounter) |
|
|
Gather.MustRegister(VolumeServerVacuumingCompactCounter) |
|
|
Gather.MustRegister(VolumeServerVacuumingCommitCounter) |
|
|
Gather.MustRegister(VolumeServerVacuumingCommitCounter) |
|
|
Gather.MustRegister(VolumeServerVacuumingHistogram) |
|
|
Gather.MustRegister(VolumeServerVacuumingHistogram) |
|
@ -317,6 +342,7 @@ func init() { |
|
|
Gather.MustRegister(S3RequestCounter) |
|
|
Gather.MustRegister(S3RequestCounter) |
|
|
Gather.MustRegister(S3HandlerCounter) |
|
|
Gather.MustRegister(S3HandlerCounter) |
|
|
Gather.MustRegister(S3RequestHistogram) |
|
|
Gather.MustRegister(S3RequestHistogram) |
|
|
|
|
|
Gather.MustRegister(S3InFlightRequestsGauge) |
|
|
Gather.MustRegister(S3TimeToFirstByteHistogram) |
|
|
Gather.MustRegister(S3TimeToFirstByteHistogram) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|