-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
Description
Thanks to profiler response testing added in #26404, a few naming issues became apparent. Instead of the aggregation names, the profiler collector simply shows "ProfilingAggregator". And a Terms query is showing the factory class.
Not entirely sure the root cause but we should track these down, because they make the response a lot less useful.
{
"name": "BucketCollector: [[org.elasticsearch.search.profile.aggregation.ProfilingAggregator@222b076, org.elasticsearch.search.profile.aggregation.ProfilingAggregator@3000ab31]]",
"reason": "aggregation",
"time_in_nanos": 8273
}
"type": "org.elasticsearch.search.aggregations.bucket.terms.TermsAggregatorFactory$1",
There was also a missing collector for the global agg search, which may/may not be related (e.g. may be present in the profiler tree but not emitted in JSON correctly... or something else unrelated)