This repository has been archived by the owner on Aug 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 105
indexing metrics: split up update vs add #304
Comments
There's really several problems here:
|
Dieterbe
added a commit
that referenced
this issue
Jan 26, 2017
* split up updates vs adds. correctly categorize them * clarify and assure that all ES/cass operation (add, update, delete) metrics also include the memory part (which was already the case for most, but not all operations. and was not documented well) * operations on ES index (add/delete/update) turn into backend operations that get mingled into larger bulk operations, clarify the ambiguity. don't pretend it was an add, make it clear we can't tell for sure what kind of operation it was. * similar for Cassandra: the backend executes inserts (on behalf of adds and updates) and deletes (on behalf of updates and deletes) Even if we tied back query results to the original command, e.g. we could increment an update success counter when an insert succeeds, if we track that insert was due to an update, the update might still not be successfull if the delete fails. So the ok/fail counters should really be for queries. * also time prune operations * specify whether durations concern one metric, or several (e.g. a pattern delete) fix #304
Personally i think we should just remove the ES index from the code base. There is no benefit to us keeping it around. |
yeah that's reasonable. I'll do that in my pr as well. |
Dieterbe
added a commit
that referenced
this issue
Jan 31, 2017
* split up updates vs adds. correctly categorize them * clarify and assure that all ES/cass operation (add, update, delete) metrics also include the memory part (which was already the case for most, but not all operations. and was not documented well) * operations on ES index (add/delete/update) turn into backend operations that get mingled into larger bulk operations, clarify the ambiguity. don't pretend it was an add, make it clear we can't tell for sure what kind of operation it was. * similar for Cassandra: the backend executes inserts (on behalf of adds and updates) and deletes (on behalf of updates and deletes) Even if we tied back query results to the original command, e.g. we could increment an update success counter when an insert succeeds, if we track that insert was due to an update, the update might still not be successfull if the delete fails. So the ok/fail counters should really be for queries. * also time prune operations * specify whether durations concern one metric, or several (e.g. a pattern delete) fix #304
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
currently the metrics are a bit confusing, due to the memory index receiving continuously new "adds" that are actually updates. and ES not getting any news adds after the initial adds.
The text was updated successfully, but these errors were encountered: