Skip to content

Conversation

@rockdaboot
Copy link
Contributor

Profiling uses synthetic source and thus expects nested field names in query responses. With 8.17+, synthetic source is available only to Enterprise (or higher) subscriptions, so that smaller subscriptions have dotted field names in query responses. The profiling plugin relies on nested field names and runs into NullPointerExceptions if these are not found.

This PR fixes the NullPointerExceptions that could happen with dotted field names.

Profiling uses synthetic source and thus expects nested field names in query responses.
With 8.17+, synthetic source is available only to Enterprise (or higher) subscriptions,
so that smaller subscriptions have dotted field names in query responses.
The profiling plugin relies on nested field names and runs into NullPointerExceptions
if these are not found.

This PR fixes the NullPointerExceptions that could happen with dotted field names.

Signed-off-by: Tim Rühsen <[email protected]>
@rockdaboot rockdaboot self-assigned this Mar 10, 2025
@rockdaboot rockdaboot requested a review from christos68k March 10, 2025 16:04
@elasticsearchmachine elasticsearchmachine added Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team external-contributor Pull request authored by a developer outside the Elasticsearch team labels Mar 10, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

@rockdaboot rockdaboot merged commit c0efcd0 into elastic:main Mar 12, 2025
17 checks passed
rockdaboot added a commit to rockdaboot/elasticsearch that referenced this pull request Mar 12, 2025
…elastic#124506)

* [Profiling] Fix NullPointerExceptions by accepting dotted field names

Profiling uses synthetic source and thus expects nested field names in query responses.
With 8.17+, synthetic source is available only to Enterprise (or higher) subscriptions,
so that smaller subscriptions have dotted field names in query responses.
The profiling plugin relies on nested field names and runs into NullPointerExceptions
if these are not found.

This PR fixes the NullPointerExceptions that could happen with dotted field names.

Signed-off-by: Tim Rühsen <[email protected]>

* Evaluate source only once (cleanup)

---------

Signed-off-by: Tim Rühsen <[email protected]>
rockdaboot added a commit to rockdaboot/elasticsearch that referenced this pull request Mar 12, 2025
…elastic#124506)

* [Profiling] Fix NullPointerExceptions by accepting dotted field names

Profiling uses synthetic source and thus expects nested field names in query responses.
With 8.17+, synthetic source is available only to Enterprise (or higher) subscriptions,
so that smaller subscriptions have dotted field names in query responses.
The profiling plugin relies on nested field names and runs into NullPointerExceptions
if these are not found.

This PR fixes the NullPointerExceptions that could happen with dotted field names.

Signed-off-by: Tim Rühsen <[email protected]>

* Evaluate source only once (cleanup)

---------

Signed-off-by: Tim Rühsen <[email protected]>
rockdaboot added a commit to rockdaboot/elasticsearch that referenced this pull request Mar 12, 2025
…elastic#124506)

* [Profiling] Fix NullPointerExceptions by accepting dotted field names

Profiling uses synthetic source and thus expects nested field names in query responses.
With 8.17+, synthetic source is available only to Enterprise (or higher) subscriptions,
so that smaller subscriptions have dotted field names in query responses.
The profiling plugin relies on nested field names and runs into NullPointerExceptions
if these are not found.

This PR fixes the NullPointerExceptions that could happen with dotted field names.

Signed-off-by: Tim Rühsen <[email protected]>

* Evaluate source only once (cleanup)

---------

Signed-off-by: Tim Rühsen <[email protected]>
rockdaboot added a commit that referenced this pull request Mar 12, 2025
…#124506) (#124621)

* [Profiling] Fix NullPointerExceptions by accepting dotted field names

Profiling uses synthetic source and thus expects nested field names in query responses.
With 8.17+, synthetic source is available only to Enterprise (or higher) subscriptions,
so that smaller subscriptions have dotted field names in query responses.
The profiling plugin relies on nested field names and runs into NullPointerExceptions
if these are not found.

This PR fixes the NullPointerExceptions that could happen with dotted field names.



* Evaluate source only once (cleanup)

---------

Signed-off-by: Tim Rühsen <[email protected]>
rockdaboot added a commit that referenced this pull request Mar 12, 2025
…#124506) (#124622)

* [Profiling] Fix NullPointerExceptions by accepting dotted field names

Profiling uses synthetic source and thus expects nested field names in query responses.
With 8.17+, synthetic source is available only to Enterprise (or higher) subscriptions,
so that smaller subscriptions have dotted field names in query responses.
The profiling plugin relies on nested field names and runs into NullPointerExceptions
if these are not found.

This PR fixes the NullPointerExceptions that could happen with dotted field names.



* Evaluate source only once (cleanup)

---------

Signed-off-by: Tim Rühsen <[email protected]>
rockdaboot added a commit that referenced this pull request Mar 12, 2025
…#124506) (#124623)

* [Profiling] Fix NullPointerExceptions by accepting dotted field names

Profiling uses synthetic source and thus expects nested field names in query responses.
With 8.17+, synthetic source is available only to Enterprise (or higher) subscriptions,
so that smaller subscriptions have dotted field names in query responses.
The profiling plugin relies on nested field names and runs into NullPointerExceptions
if these are not found.

This PR fixes the NullPointerExceptions that could happen with dotted field names.



* Evaluate source only once (cleanup)

---------

Signed-off-by: Tim Rühsen <[email protected]>
rockdaboot added a commit that referenced this pull request Mar 12, 2025
…#124506) (#124624)

* [Profiling] Fix NullPointerExceptions by accepting dotted field names

Profiling uses synthetic source and thus expects nested field names in query responses.
With 8.17+, synthetic source is available only to Enterprise (or higher) subscriptions,
so that smaller subscriptions have dotted field names in query responses.
The profiling plugin relies on nested field names and runs into NullPointerExceptions
if these are not found.

This PR fixes the NullPointerExceptions that could happen with dotted field names.



* Evaluate source only once (cleanup)

---------

Signed-off-by: Tim Rühsen <[email protected]>
albertzaharovits pushed a commit to albertzaharovits/elasticsearch that referenced this pull request Mar 13, 2025
…elastic#124506)

* [Profiling] Fix NullPointerExceptions by accepting dotted field names

Profiling uses synthetic source and thus expects nested field names in query responses.
With 8.17+, synthetic source is available only to Enterprise (or higher) subscriptions,
so that smaller subscriptions have dotted field names in query responses.
The profiling plugin relies on nested field names and runs into NullPointerExceptions
if these are not found.

This PR fixes the NullPointerExceptions that could happen with dotted field names.

Signed-off-by: Tim Rühsen <[email protected]>

* Evaluate source only once (cleanup)

---------

Signed-off-by: Tim Rühsen <[email protected]>
jfreden pushed a commit to jfreden/elasticsearch that referenced this pull request Mar 13, 2025
…elastic#124506)

* [Profiling] Fix NullPointerExceptions by accepting dotted field names

Profiling uses synthetic source and thus expects nested field names in query responses.
With 8.17+, synthetic source is available only to Enterprise (or higher) subscriptions,
so that smaller subscriptions have dotted field names in query responses.
The profiling plugin relies on nested field names and runs into NullPointerExceptions
if these are not found.

This PR fixes the NullPointerExceptions that could happen with dotted field names.

Signed-off-by: Tim Rühsen <[email protected]>

* Evaluate source only once (cleanup)

---------

Signed-off-by: Tim Rühsen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>bug external-contributor Pull request authored by a developer outside the Elasticsearch team Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team :UniversalProfiling/Application Elastic Universal Profiling REST APIs and infrastructure v8.17.4 v8.18.0 v8.19.0 v9.0.0 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants