Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[APM] Remove check for infra data #142835

Merged

Conversation

sorenlouv
Copy link
Member

@sorenlouv sorenlouv commented Oct 6, 2022

Close #142656

This PR removes the "no-data" check since it was overly restrictive. Now we always try to show the logs component and rely on its own no-data check. Below is an example of how the no-data check has changed slightly.

Before (APM UI no-data check)

image

After (Logs no-data check)

image

@sorenlouv sorenlouv requested a review from a team as a code owner October 6, 2022 11:47
@botelastic botelastic bot added the Team:APM All issues that need APM UI Team support label Oct 6, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/apm-ui (Team:APM)

/>
);
}

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@smith For #142656 was it something like this you had in mind?

Copy link
Member Author

@sorenlouv sorenlouv Oct 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why we even need our own empty state message. I assume the logs component itself has one It does.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes thanks. I didn't say "just remove it" in the issue in case there were other implications I wasn't understanding but this looks like it does the right thing.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't recall the reason for us to have a separate no-data screen. Maybe we can load it faster, or perhaps we wanted it to look like our other views. But those are lesser concerns compared to actually being able to see the logs.

@sorenlouv sorenlouv force-pushed the show-logs-regardless-of-infra-metric-data branch 2 times, most recently from 3778b57 to 25ec17b Compare October 9, 2022 09:27
@sorenlouv sorenlouv force-pushed the show-logs-regardless-of-infra-metric-data branch from 25ec17b to 58e4dfc Compare October 10, 2022 07:14
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
apm 3.1MB 3.1MB -471.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Contributor

@gbamparop gbamparop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@sorenlouv sorenlouv merged commit b3cfd97 into elastic:main Oct 10, 2022
@sorenlouv sorenlouv deleted the show-logs-regardless-of-infra-metric-data branch October 10, 2022 11:17
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 10, 2022
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.5

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Oct 10, 2022
(cherry picked from commit b3cfd97)

Co-authored-by: Søren Louv-Jansen <soren.louv@elastic.co>
WafaaNasr pushed a commit to WafaaNasr/kibana that referenced this pull request Oct 11, 2022
@sorenlouv sorenlouv added v8.4.0 auto-backport Deprecated: Automatically backport this PR after it's merged labels Oct 12, 2022
kibanamachine pushed a commit that referenced this pull request Oct 12, 2022
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.4

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

kibanamachine added a commit that referenced this pull request Oct 12, 2022
(cherry picked from commit b3cfd97)

Co-authored-by: Søren Louv-Jansen <soren.louv@elastic.co>
WafaaNasr pushed a commit to WafaaNasr/kibana that referenced this pull request Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated: Automatically backport this PR after it's merged release_note:fix Team:APM All issues that need APM UI Team support v8.4.0 v8.4.4 v8.5.0 v8.6.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Service-level logs don't show up for OpenTelemetry services
6 participants