Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updating the existing document instead of creating a new one each time #30

Open
rbhojan opened this issue Mar 17, 2016 · 0 comments
Open

Comments

@rbhojan
Copy link

rbhojan commented Mar 17, 2016

Hi,
Is there a reason that for each report a new document for a given metrics is created? e.g. if I have a meter with name "search-requests" - shouldn't the report update the numbers on the same document which has name = "search-requests" which would essentially be the real metrics over time, instead of creating a new document every time? I see that currently, the reporter creates a new document for each metrics everytime the report is called, and therefore the number of documents in the index will grow linearly with time?
It would be nice, if we had a better control over the decision whether to update the document in elastic search if it already exists for a given metrics, instead of creating a new document everytime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant