Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

[feature request] Implement msearch for elasticsearch client #346

Open
Nilegfx opened this issue Jul 5, 2018 · 0 comments
Open

[feature request] Implement msearch for elasticsearch client #346

Nilegfx opened this issue Jul 5, 2018 · 0 comments
Labels
feature improvements, enhancement, functionality requested by users

Comments

@Nilegfx
Copy link

Nilegfx commented Jul 5, 2018

Currently I've to do multiple http requests to fetch some metrics with different criteria from our elasticsearch cluster, it would be nice if elasticsearch's zmon client implements msearch Multi search API

We've elasticsearch client and I am running a handful of queries each minute to check the state of the indexes, problematic documents, correct documents, write rates .. etc, currently I am doing each one of them as single check with a dedicated request elasticsearch(url).count(), but elasticsearch has an interesting API called msearch that enables us to do multiple searches once and returning the result as an array of responses. this saves a quite good amount of requests that only executes for ZMON.

I think a good approach to tackle this challenge is to implement msearch in zmon's elasticsearch worker which IS a write safe API

@mohabusama mohabusama removed the ZMON3.0 label Aug 2, 2018
@pitr pitr added the feature improvements, enhancement, functionality requested by users label May 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature improvements, enhancement, functionality requested by users
Projects
None yet
Development

No branches or pull requests

4 participants