Skip to content

Investigate profiling naming issues #26405

@polyfractal

Description

@polyfractal

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)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions