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