-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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] Added component for rendering dashboard-based service runtime metrics #157724
[APM] Added component for rendering dashboard-based service runtime metrics #157724
Conversation
Pinging @elastic/apm-ui (Team:APM) |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
/oblt-deploy |
x-pack/plugins/apm/public/components/app/metrics/static_dashboard/dashboards/nodejs.json
Outdated
Show resolved
Hide resolved
@elasticmachine merge upstream |
merge conflict between base and head |
0f2c7fd
to
6d6f2fc
Compare
@sqren I don't get what the failed check is about exactly. I don't see any Do you have an idea? Thanks |
@AlexanderWert That is indeed weird. Try running the check locally to see if you get the same error This might be a bug upstream. Try rebasing with main. |
Signed-off-by: Alexander Wert <AlexanderWert@users.noreply.github.com>
Signed-off-by: Alexander Wert <AlexanderWert@users.noreply.github.com>
Signed-off-by: Alexander Wert <AlexanderWert@users.noreply.github.com>
6d6f2fc
to
f725ee9
Compare
import type { DashboardPanelMap } from '@kbn/dashboard-plugin/common'; | ||
import { APM_STATIC_DATA_VIEW_ID } from '../../../../../common/data_view_constants'; | ||
|
||
import nodejs from './dashboards/nodejs.json'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: We might want to import these dynamically to avoid increasing the bundle size. Right now the APM app increases with 27kb which is not terrible but if 20 dashboards are loaded up front it might be noticeable.
The syntax is something like this:
await import(path)
And you'd have to defer loading it, until you actually need it (in getDashboardFile
I assume)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sqren Pushed a commit with dynamic importing of the dashboard files.
Signed-off-by: Alexander Wert <AlexanderWert@users.noreply.github.com>
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Page load bundle
Unknown metric groupsasync chunk count
ESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. Thanks @AlexanderWert
…etrics (elastic#157724) Pitch: elastic/apm-dev#1001 (_internal_) ## Summary Use portable dashboards for runtime metrics as a fallback. Example dashboard: <img width="1588" alt="image" src="https://github.com/elastic/kibana/assets/866830/ee46582d-60db-4538-925f-e9729e77e70b"> --------- Signed-off-by: Alexander Wert <AlexanderWert@users.noreply.github.com> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Tested on Screen.Recording.2023-06-23.at.15.34.14.mov |
Pitch: https://github.com/elastic/apm-dev/issues/1001 (internal)
Summary
Use portable dashboards for runtime metrics as a fallback.
Example dashboard:
