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] Elastic Entity Model enablement #187593

Merged
merged 33 commits into from
Jul 10, 2024
Merged

Conversation

kpatticha
Copy link
Contributor

@kpatticha kpatticha commented Jul 4, 2024

Summary

closes

  1. https://github.com/elastic/observability-dev/issues/3724 (text update)
  2. https://github.com/elastic/observability-dev/issues/3722 (link to survey)
  3. [APM] Implement EEM workflow #187568

Basic workflow for enabling EEM in service inventory view

The empty states will be handled in different PR

with the right permissions

Screen.Recording.2024-07-09.at.21.16.35.mov

Without the right permissions

Screen.Recording.2024-07-09.at.21.17.23.mov

NOTE

[1] if you test this PR locally the metrics will be N/A. you need to update https://github.com/elastic/kibana/blob/bf45ddd9f4c48acea5fac61d07012110bd4f0f4b/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/built_in/services.ts . Unless the PR 187021 is merged

@kpatticha kpatticha requested review from a team as code owners July 4, 2024 16:56
@botelastic botelastic bot added ci:project-deploy-observability Create an Observability project Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team labels Jul 4, 2024
@elasticmachine
Copy link
Contributor

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

@obltmachine
Copy link

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@kpatticha kpatticha marked this pull request as draft July 4, 2024 17:27
<ServiceGroupsButtonGroup selectedNavButton={selectedNavButton} />
) : null,
children: (
<EuiFlexGroup direction="column">
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't know if this will actually happen but if none of the conditions below are met, there will be an empty div in the DOM.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You mean the component we pass as children? That won't happen unless we change the template params we pass. We pass showServiceGroupsNav in ServiceGroupTemplate which is used for the services

@jloleysens jloleysens self-requested a review July 5, 2024 11:33
@roshan-elastic
Copy link

Hey @kpatticha,

Looking good! Some feedback from me:

1. Ask your admin to turn on
I've been discussing with Chris DiStasio and I we'll need to give you an updated design on this. Should be trivial hopefully:

Current design

Note : You'll be dependent on the following docs request in order to finish this I believe:

2. New Elastic Experience
Could we refer to this as the new experience (i.e. drop the 'Elastic')?

e.g. "Try our new experience!" and "You're viewing our new experience"

@smith
Copy link
Contributor

smith commented Jul 10, 2024

/oblt-deploy-serverless

@kpatticha kpatticha marked this pull request as ready for review July 10, 2024 06:51
@kpatticha kpatticha requested a review from a team as a code owner July 10, 2024 06:51
@kpatticha kpatticha requested a review from crespocarlos July 10, 2024 06:52
@kpatticha kpatticha added v8.16.0 release_note:skip Skip the PR/issue when compiling release notes labels Jul 10, 2024
@kpatticha kpatticha enabled auto-merge (squash) July 10, 2024 09:19
Copy link
Member

@jennypavlova jennypavlova left a comment

Choose a reason for hiding this comment

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

LGTM (code review only)

@@ -126,6 +129,7 @@ export function ApmMainTemplate({
const pageHeaderTitle = (
<EuiFlexGroup justifyContent="spaceBetween" wrap={true}>
{pageHeader?.pageTitle ?? pageTitle}
<EuiFlexItem grow={false} />
Copy link
Member

Choose a reason for hiding this comment

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

Q: Why is this item needed?

@miltonhultgren miltonhultgren changed the title [APM] Elastic Entity enablement [APM] Elastic Entity Model enablement Jul 10, 2024
@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🟠 Some tests failed. - kibana-flaky-test-suite-runner#6506

[❌] APM - Cypress: 0/2 tests passed.

see run history

@elasticmachine
Copy link
Contributor

elasticmachine commented Jul 10, 2024

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
apm 1896 1902 +6
entityManager 6 7 +1
total +7

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
entityManager 8 14 +6

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.5MB 3.5MB +7.5KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
apm 35.3KB 35.4KB +143.0B
entityManager 2.1KB 2.6KB +516.0B
total +659.0B
Unknown metric groups

API count

id before after diff
entityManager 8 14 +6

History

@kpatticha kpatticha merged commit b682833 into elastic:main Jul 10, 2024
24 of 26 checks passed
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting ci:project-deploy-observability Create an Observability project release_note:skip Skip the PR/issue when compiling release notes Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team v8.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants