-
Notifications
You must be signed in to change notification settings - Fork 8k
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
[Synthetucs] Added perf metrics for es queries #186313
Conversation
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services) |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
@@ -138,7 +143,10 @@ export class Plugin | |||
return { | |||
createExploratoryViewUrl, | |||
getAppDataView: getAppDataView(pluginsStart.dataViews), | |||
ExploratoryViewEmbeddable: getExploratoryViewEmbeddable({ ...coreStart, ...pluginsStart }), | |||
ExploratoryViewEmbeddable: getExploratoryViewEmbeddable( | |||
{ ...coreStart, ...pluginsStart }, |
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.
The this.analyticsService
should be part of coreStart?
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.
well it's coming from coreSetup, not coreStart.
if (requests && analytics) { | ||
const listReq = requests.getRequests(); | ||
if (listReq.length > 0) { | ||
// find the highest query time |
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.
Can you please elaborate why you need to find the highest query time?
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.
it's because a chart may have many other queries , so we only care about slowest query.
...lution/exploratory_view/public/components/shared/exploratory_view/hooks/use_ebt_telemetry.ts
Outdated
Show resolved
Hide resolved
…components/shared/exploratory_view/hooks/use_ebt_telemetry.ts
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Module Count
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
## Summary Added perf metrics for es queries !! Fixes elastic/synthetics-dev#351 Started reporting query time for exploratory based visualizations used in Synthetics Test data can be seen on staging telemetry cluster !! <img width="1698" alt="image" src="https://github.com/elastic/kibana/assets/3505601/120d9ea6-0162-4f56-8168-001b749d31e8"> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Summary
Added perf metrics for es queries !!
Fixes https://github.com/elastic/synthetics-dev/issues/351
Started reporting query time for exploratory based visualizations used in Synthetics
Test data can be seen on staging telemetry cluster !!