mirror of
https://github.com/minio/minio.git
synced 2025-11-10 05:59:43 -05:00
Add notification queue metrics (#16026)
This commit is contained in:
@@ -128,6 +128,11 @@ func (target *AMQPTarget) ID() event.TargetID {
|
||||
return target.id
|
||||
}
|
||||
|
||||
// Store returns any underlying store if set.
|
||||
func (target *AMQPTarget) Store() event.TargetStore {
|
||||
return target.store
|
||||
}
|
||||
|
||||
// IsActive - Return true if target is up and active
|
||||
func (target *AMQPTarget) IsActive() (bool, error) {
|
||||
if err := target.init(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user