I calculate the duration of my service-processes using the
SUM-Aggregation. Each step of the executed process will be saved in
Elasticsearch under a calling Id.
This is what I monitor:
Duration of Request-Processing for ID #123 (calling service #1)
Duration of Server-Response for ID #123 (calling service #1) Complete Duration for ID #123
Duration of Request-Processing for ID #124 (calling service #1)
Duration of Server-Response for ID #124 (calling service #1) Complete duration for ID #124
This returns the complete duration of the process and also tells me which
part of the process was the fastest ans which part was the slowest.
Next I want to calculate the average duration of all finished processes
by serviceId. In this case I only care about the total duration for each
service, so I can comepare them.
Is it possible to create a average, maximum and minimum from all
total_durations?
Another option would be to adopt a more entity-centric way of indexing your
documents by having one document per callingId and updating it every time
that you get a new event (so that your index contains only one document per
callingId).
I calculate the duration of my service-processes using the
SUM-Aggregation. Each step of the executed process will be saved in
Elasticsearch under a calling Id.
This is what I monitor:
Duration of Request-Processing for ID #123 (calling service #1)
Duration of Server-Response for ID #123 (calling service #1) Complete Duration for ID #123
Duration of Request-Processing for ID #124 (calling service #1)
Duration of Server-Response for ID #124 (calling service #1) Complete duration for ID #124
This returns the complete duration of the process and also tells me
which part of the process was the fastest ans which part was the slowest.
Next I want to calculate the average duration of all finished processes
by serviceId. In this case I only care about the total duration for each
service, so I can comepare them.
Is it possible to create a average, maximum and minimum from all
total_durations?
Another option would be to adopt a more entity-centric way of indexing
your documents by having one document per callingId and updating it every
time that you get a new event (so that your index contains only one
document per callingId).
I calculate the duration of my service-processes using the
SUM-Aggregation. Each step of the executed process will be saved in
Elasticsearch under a calling Id.
This is what I monitor:
Duration of Request-Processing for ID #123 (calling service #1)
Duration of Server-Response for ID #123 (calling service #1) Complete Duration for ID #123
Duration of Request-Processing for ID #124 (calling service #1)
Duration of Server-Response for ID #124 (calling service #1) Complete duration for ID #124
This returns the complete duration of the process and also tells me
which part of the process was the fastest ans which part was the slowest.
Next I want to calculate the average duration of all finished processes
by serviceId. In this case I only care about the total duration for each
service, so I can comepare them.
Is it possible to create a average, maximum and minimum from all
total_durations?
Hard to tell. There are lots of things we would like to clean up for 2.0
and we only started efforts towards that direction (that is why you see
more 2.0-only issues on Github these days than in the last months), so it
will certainly take time.
Thanks for Your answer. Do you have any clue when 2.0 will be released?
Sincerly
Grauen
Am Dienstag, 18. November 2014 12:27:05 UTC+1 schrieb Adrien Grand:
I believe this would be addressed through https://github.com/
elasticsearch/elasticsearch/issues/8110.
Another option would be to adopt a more entity-centric way of indexing
your documents by having one document per callingId and updating it every
time that you get a new event (so that your index contains only one
document per callingId).
I calculate the duration of my service-processes using the
SUM-Aggregation. Each step of the executed process will be saved in
Elasticsearch under a calling Id.
This is what I monitor:
Duration of Request-Processing for ID #123 (calling service #1)
Duration of Server-Response for ID #123 (calling service #1) Complete Duration for ID #123
Duration of Request-Processing for ID #124 (calling service #1)
Duration of Server-Response for ID #124 (calling service #1) Complete duration for ID #124
This returns the complete duration of the process and also tells me
which part of the process was the fastest ans which part was the slowest.
Next I want to calculate the average duration of all finished
processes by serviceId. In this case I only care about the total
duration for each service, so I can comepare them.
Is it possible to create a average, maximum and minimum from all
total_durations?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.