Skip to content

[Obs Onboarding] Add page rendering performance monitoring#213769

Merged
mykolaharmash merged 4 commits intoelastic:mainfrom
mykolaharmash:3513-add-data-perf-telemetry
Mar 18, 2025
Merged

[Obs Onboarding] Add page rendering performance monitoring#213769
mykolaharmash merged 4 commits intoelastic:mainfrom
mykolaharmash:3513-add-data-perf-telemetry

Conversation

@mykolaharmash
Copy link
Contributor

@mykolaharmash mykolaharmash commented Mar 10, 2025

Closes https://github.com/elastic/observability-dev/issues/4238 🔒
Closes https://github.com/elastic/observability-dev/issues/3513 🔒

This change add logic for triggering the page rendering performance metrics for:

  • Onboarding home screen
  • Host auto-detect flow
  • Host OTel flow
  • Host K8S flow
  • K8S OTel flow
  • Firehose flow

How to test

  1. Run Kibana locally
  2. Open browser dev tools
  3. Navigate to one of the above mentioned onboarding screens
  4. Observe kibana:plugin_render_time EBT event emitted in the Network tab of the dev tools

Events emitted from local Kibana end up in the Staging Telemetry cluster, there is a dedicated rendering performance dashboard, onboarding events can be filtered using observabilityOnboarding application ID. (note that it takes some time for events to be indexed and they appear in the cluster with a significant delay)

@mykolaharmash mykolaharmash requested a review from a team as a code owner March 10, 2025 15:29
@mykolaharmash mykolaharmash added release_note:skip Skip the PR/issue when compiling release notes v9.0.0 backport:version Backport to applied version labels v8.18.0 Feature: Observability Onboarding labels Mar 10, 2025
@yngrdyn
Copy link
Contributor

yngrdyn commented Mar 11, 2025

What about start using Inline documentation for TTFMP

meta: {
      description: '[ttfmp_page] Explaining when this metric will be available'
}

?

@mykolaharmash
Copy link
Contributor Author

What about start using Inline documentation for TTFMP

meta: {
      description: '[ttfmp_page] Explaining when this metric will be available'
}

?

Good point, I didn't know about that. Though there is now an issue with Meta interface which looks like this:

export interface Meta {
  rangeFrom: string;
  rangeTo: string;
  description?: DescriptionWithPrefix;
}

It requires rangeFrom and rangeTo which is not relevant for onboarding. @kpatticha do you know why range is required? I could set those to empty strings of course but ideally we'd adjust the interface.

@kpatticha
Copy link
Contributor

It requires rangeFrom and rangeTo which is not relevant for onboarding. @kpatticha do you know why range is required? I could set those to empty strings of course but ideally we'd adjust the interface.

@mykolaharmash they should be optional as the timeranges are not relevant for many pages . The current implementation is false. Feel free to update the type to make them optional

export interface Meta {
  rangeFrom?: string;
  rangeTo?: string;
  description?: DescriptionWithPrefix;
}

and make sure

https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-ebt-tools/src/performance_metrics/context/measure_interaction/index.ts#L39

checks for the ranges for example: if (eventData?.meta && eventData.meta.rangeFrom && eventData.meta.rangeTo) {

I could fix that if you want.

@mykolaharmash mykolaharmash force-pushed the 3513-add-data-perf-telemetry branch from 6a338d3 to 3c82d4a Compare March 14, 2025 12:05
@mykolaharmash mykolaharmash requested a review from a team as a code owner March 14, 2025 12:05
@mykolaharmash mykolaharmash requested a review from kpatticha March 14, 2025 13:33
@mykolaharmash mykolaharmash force-pushed the 3513-add-data-perf-telemetry branch from fdffaa0 to 0d18407 Compare March 17, 2025 15:02
@mykolaharmash mykolaharmash force-pushed the 3513-add-data-perf-telemetry branch from c8d06f9 to 858d025 Compare March 17, 2025 15:07
@mykolaharmash
Copy link
Contributor Author

@yngrdyn please take another look, I've updated the code to include description in the request.

CleanShot 2025-03-17 at 15 57 28@2x

@mykolaharmash mykolaharmash requested a review from yngrdyn March 17, 2025 15:09
Copy link
Contributor

@yngrdyn yngrdyn left a comment

Choose a reason for hiding this comment

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

LGTM

@elasticmachine
Copy link
Contributor

💚 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
observabilityOnboarding 260.9KB 262.2KB +1.3KB

Page load bundle

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

id before after diff
observabilityOnboarding 11.2KB 11.3KB +63.0B

History

Comment on lines +48 to +50
performanceMeta.queryRangeSecs = getTimeDifferenceInSeconds(dateRangesInEpoch);
performanceMeta.queryOffsetSecs =
rangeTo === 'now' ? 0 : getOffsetFromNowInSeconds(dateRangesInEpoch.endDate);
Copy link
Contributor

Choose a reason for hiding this comment

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

Based on the diff I guess we don't need to add a new test in measure_interaction.test.ts right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think it should be fine as the structure of the resulting object sent to the telemetry API did not change

@mykolaharmash mykolaharmash merged commit 68a25a4 into elastic:main Mar 18, 2025
9 checks passed
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 213769 locally

2 similar comments
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 213769 locally

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 213769 locally

@gbamparop
Copy link
Contributor

@mykolaharmash shall we remove the 8.18.1 and 9.0.1 labels from this one?

cqliu1 pushed a commit to cqliu1/kibana that referenced this pull request Mar 31, 2025
…13769)

Closes elastic/observability-dev#4238 🔒
Closes elastic/observability-dev#3513 🔒

This change add logic for triggering [the page rendering performance
metrics](https://docs.elastic.dev/kibana-dev-docs/tutorial/performance/adding_custom_performance_metrics#report-kibanaplugin_render_time-metric-event)
for:
* Onboarding home screen
* Host auto-detect flow
* Host OTel flow
* Host K8S flow
* K8S OTel flow
* Firehose flow

## How to test
1. Run Kibana locally
2. Open browser dev tools
3. Navigate to one of the above mentioned onboarding screens
4. Observe `kibana:plugin_render_time` EBT event emitted in the Network
tab of the dev tools

Events emitted from local Kibana end up in the Staging Telemetry
cluster, there is a [dedicated rendering performance
dashboard](https://telemetry-v2-staging.elastic.dev/s/apm/app/dashboards#/view/f240fff6-fac9-491b-81d1-ac39006c5c94?_g=(filters:!(),refreshInterval:(pause:!t,value:60000),time:(from:now-24h%2Fh,to:now))),
onboarding events can be filtered using `observabilityOnboarding`
application ID. (note that it takes some time for events to be indexed
and they appear in the cluster with a significant delay)
@awahab07
Copy link
Contributor

awahab07 commented Apr 1, 2025

For #213911 (comment), we need to backport these changes to 8.x and 9.x.

I am working on the backports and have created #213417 (comment) and #213417 (comment) up the line for the purpose.

@awahab07
Copy link
Contributor

awahab07 commented Apr 2, 2025

💚 All backports created successfully

Status Branch Result
8.18

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

Questions ?

Please refer to the Backport tool documentation

@kibanamachine
Copy link
Contributor

Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync.

2 similar comments
@kibanamachine
Copy link
Contributor

Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync.

@kibanamachine
Copy link
Contributor

Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync.

@awahab07
Copy link
Contributor

awahab07 commented Apr 4, 2025

💚 All backports created successfully

Status Branch Result
9.0

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

Questions ?

Please refer to the Backport tool documentation

@awahab07
Copy link
Contributor

awahab07 commented Apr 4, 2025

💚 All backports created successfully

Status Branch Result
8.x

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

Questions ?

Please refer to the Backport tool documentation

@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

awahab07 added a commit that referenced this pull request Apr 8, 2025
…3769) (#217256)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Obs Onboarding] Add page rendering performance monitoring
(#213769)](#213769)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Mykola
Harmash","email":"mykola.harmash@gmail.com"},"sourceCommit":{"committedDate":"2025-03-18T08:50:38Z","message":"[Obs
Onboarding] Add page rendering performance monitoring
(#213769)\n\nCloses
elastic/observability-dev#4238 🔒\nCloses
elastic/observability-dev#3513 🔒\n\nThis
change add logic for triggering [the page rendering
performance\nmetrics](https://docs.elastic.dev/kibana-dev-docs/tutorial/performance/adding_custom_performance_metrics#report-kibanaplugin_render_time-metric-event)\nfor:\n*
Onboarding home screen\n* Host auto-detect flow\n* Host OTel flow\n*
Host K8S flow\n* K8S OTel flow\n* Firehose flow\n\n## How to test\n1.
Run Kibana locally\n2. Open browser dev tools\n3. Navigate to one of the
above mentioned onboarding screens\n4. Observe
`kibana:plugin_render_time` EBT event emitted in the Network\ntab of the
dev tools\n\nEvents emitted from local Kibana end up in the Staging
Telemetry\ncluster, there is a [dedicated rendering
performance\ndashboard](https://telemetry-v2-staging.elastic.dev/s/apm/app/dashboards#/view/f240fff6-fac9-491b-81d1-ac39006c5c94?_g=(filters:!(),refreshInterval:(pause:!t,value:60000),time:(from:now-24h%2Fh,to:now))),\nonboarding
events can be filtered using `observabilityOnboarding`\napplication ID.
(note that it takes some time for events to be indexed\nand they appear
in the cluster with a significant
delay)","sha":"68a25a423ee8a5270e72ca89b38515c0e293cbd4","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport
missing","Feature: Observability
Onboarding","backport:version","v9.1.0"],"title":"[Obs Onboarding] Add
page rendering performance
monitoring","number":213769,"url":"https://github.com/elastic/kibana/pull/213769","mergeCommit":{"message":"[Obs
Onboarding] Add page rendering performance monitoring
(#213769)\n\nCloses
elastic/observability-dev#4238 🔒\nCloses
elastic/observability-dev#3513 🔒\n\nThis
change add logic for triggering [the page rendering
performance\nmetrics](https://docs.elastic.dev/kibana-dev-docs/tutorial/performance/adding_custom_performance_metrics#report-kibanaplugin_render_time-metric-event)\nfor:\n*
Onboarding home screen\n* Host auto-detect flow\n* Host OTel flow\n*
Host K8S flow\n* K8S OTel flow\n* Firehose flow\n\n## How to test\n1.
Run Kibana locally\n2. Open browser dev tools\n3. Navigate to one of the
above mentioned onboarding screens\n4. Observe
`kibana:plugin_render_time` EBT event emitted in the Network\ntab of the
dev tools\n\nEvents emitted from local Kibana end up in the Staging
Telemetry\ncluster, there is a [dedicated rendering
performance\ndashboard](https://telemetry-v2-staging.elastic.dev/s/apm/app/dashboards#/view/f240fff6-fac9-491b-81d1-ac39006c5c94?_g=(filters:!(),refreshInterval:(pause:!t,value:60000),time:(from:now-24h%2Fh,to:now))),\nonboarding
events can be filtered using `observabilityOnboarding`\napplication ID.
(note that it takes some time for events to be indexed\nand they appear
in the cluster with a significant
delay)","sha":"68a25a423ee8a5270e72ca89b38515c0e293cbd4"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/213769","number":213769,"mergeCommit":{"message":"[Obs
Onboarding] Add page rendering performance monitoring
(#213769)\n\nCloses
elastic/observability-dev#4238 🔒\nCloses
elastic/observability-dev#3513 🔒\n\nThis
change add logic for triggering [the page rendering
performance\nmetrics](https://docs.elastic.dev/kibana-dev-docs/tutorial/performance/adding_custom_performance_metrics#report-kibanaplugin_render_time-metric-event)\nfor:\n*
Onboarding home screen\n* Host auto-detect flow\n* Host OTel flow\n*
Host K8S flow\n* K8S OTel flow\n* Firehose flow\n\n## How to test\n1.
Run Kibana locally\n2. Open browser dev tools\n3. Navigate to one of the
above mentioned onboarding screens\n4. Observe
`kibana:plugin_render_time` EBT event emitted in the Network\ntab of the
dev tools\n\nEvents emitted from local Kibana end up in the Staging
Telemetry\ncluster, there is a [dedicated rendering
performance\ndashboard](https://telemetry-v2-staging.elastic.dev/s/apm/app/dashboards#/view/f240fff6-fac9-491b-81d1-ac39006c5c94?_g=(filters:!(),refreshInterval:(pause:!t,value:60000),time:(from:now-24h%2Fh,to:now))),\nonboarding
events can be filtered using `observabilityOnboarding`\napplication ID.
(note that it takes some time for events to be indexed\nand they appear
in the cluster with a significant
delay)","sha":"68a25a423ee8a5270e72ca89b38515c0e293cbd4"}},{"url":"https://github.com/elastic/kibana/pull/216762","number":216762,"branch":"8.18","state":"OPEN"},{"url":"https://github.com/elastic/kibana/pull/217252","number":217252,"branch":"9.0","state":"OPEN"}]}]
BACKPORT-->

---------

Co-authored-by: Mykola Harmash <mykola.harmash@gmail.com>
awahab07 added a commit that referenced this pull request Apr 8, 2025
…3769) (#217252)

# Backport

This will backport the following commits from `main` to `9.0`:
- [[Obs Onboarding] Add page rendering performance monitoring
(#213769)](#213769)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Mykola
Harmash","email":"mykola.harmash@gmail.com"},"sourceCommit":{"committedDate":"2025-03-18T08:50:38Z","message":"[Obs
Onboarding] Add page rendering performance monitoring
(#213769)\n\nCloses
elastic/observability-dev#4238 🔒\nCloses
elastic/observability-dev#3513 🔒\n\nThis
change add logic for triggering [the page rendering
performance\nmetrics](https://docs.elastic.dev/kibana-dev-docs/tutorial/performance/adding_custom_performance_metrics#report-kibanaplugin_render_time-metric-event)\nfor:\n*
Onboarding home screen\n* Host auto-detect flow\n* Host OTel flow\n*
Host K8S flow\n* K8S OTel flow\n* Firehose flow\n\n## How to test\n1.
Run Kibana locally\n2. Open browser dev tools\n3. Navigate to one of the
above mentioned onboarding screens\n4. Observe
`kibana:plugin_render_time` EBT event emitted in the Network\ntab of the
dev tools\n\nEvents emitted from local Kibana end up in the Staging
Telemetry\ncluster, there is a [dedicated rendering
performance\ndashboard](https://telemetry-v2-staging.elastic.dev/s/apm/app/dashboards#/view/f240fff6-fac9-491b-81d1-ac39006c5c94?_g=(filters:!(),refreshInterval:(pause:!t,value:60000),time:(from:now-24h%2Fh,to:now))),\nonboarding
events can be filtered using `observabilityOnboarding`\napplication ID.
(note that it takes some time for events to be indexed\nand they appear
in the cluster with a significant
delay)","sha":"68a25a423ee8a5270e72ca89b38515c0e293cbd4","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport
missing","Feature: Observability
Onboarding","backport:version","v9.1.0"],"title":"[Obs Onboarding] Add
page rendering performance
monitoring","number":213769,"url":"https://github.com/elastic/kibana/pull/213769","mergeCommit":{"message":"[Obs
Onboarding] Add page rendering performance monitoring
(#213769)\n\nCloses
elastic/observability-dev#4238 🔒\nCloses
elastic/observability-dev#3513 🔒\n\nThis
change add logic for triggering [the page rendering
performance\nmetrics](https://docs.elastic.dev/kibana-dev-docs/tutorial/performance/adding_custom_performance_metrics#report-kibanaplugin_render_time-metric-event)\nfor:\n*
Onboarding home screen\n* Host auto-detect flow\n* Host OTel flow\n*
Host K8S flow\n* K8S OTel flow\n* Firehose flow\n\n## How to test\n1.
Run Kibana locally\n2. Open browser dev tools\n3. Navigate to one of the
above mentioned onboarding screens\n4. Observe
`kibana:plugin_render_time` EBT event emitted in the Network\ntab of the
dev tools\n\nEvents emitted from local Kibana end up in the Staging
Telemetry\ncluster, there is a [dedicated rendering
performance\ndashboard](https://telemetry-v2-staging.elastic.dev/s/apm/app/dashboards#/view/f240fff6-fac9-491b-81d1-ac39006c5c94?_g=(filters:!(),refreshInterval:(pause:!t,value:60000),time:(from:now-24h%2Fh,to:now))),\nonboarding
events can be filtered using `observabilityOnboarding`\napplication ID.
(note that it takes some time for events to be indexed\nand they appear
in the cluster with a significant
delay)","sha":"68a25a423ee8a5270e72ca89b38515c0e293cbd4"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/213769","number":213769,"mergeCommit":{"message":"[Obs
Onboarding] Add page rendering performance monitoring
(#213769)\n\nCloses
elastic/observability-dev#4238 🔒\nCloses
elastic/observability-dev#3513 🔒\n\nThis
change add logic for triggering [the page rendering
performance\nmetrics](https://docs.elastic.dev/kibana-dev-docs/tutorial/performance/adding_custom_performance_metrics#report-kibanaplugin_render_time-metric-event)\nfor:\n*
Onboarding home screen\n* Host auto-detect flow\n* Host OTel flow\n*
Host K8S flow\n* K8S OTel flow\n* Firehose flow\n\n## How to test\n1.
Run Kibana locally\n2. Open browser dev tools\n3. Navigate to one of the
above mentioned onboarding screens\n4. Observe
`kibana:plugin_render_time` EBT event emitted in the Network\ntab of the
dev tools\n\nEvents emitted from local Kibana end up in the Staging
Telemetry\ncluster, there is a [dedicated rendering
performance\ndashboard](https://telemetry-v2-staging.elastic.dev/s/apm/app/dashboards#/view/f240fff6-fac9-491b-81d1-ac39006c5c94?_g=(filters:!(),refreshInterval:(pause:!t,value:60000),time:(from:now-24h%2Fh,to:now))),\nonboarding
events can be filtered using `observabilityOnboarding`\napplication ID.
(note that it takes some time for events to be indexed\nand they appear
in the cluster with a significant
delay)","sha":"68a25a423ee8a5270e72ca89b38515c0e293cbd4"}},{"url":"https://github.com/elastic/kibana/pull/216762","number":216762,"branch":"8.18","state":"OPEN"}]}]
BACKPORT-->

---------

Co-authored-by: Mykola Harmash <mykola.harmash@gmail.com>
awahab07 added a commit that referenced this pull request Apr 8, 2025
…13769) (#216762)

# Backport

This will backport the following commits from `main` to `8.18`:
- [[Obs Onboarding] Add page rendering performance monitoring
(#213769)](#213769)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Mykola
Harmash","email":"mykola.harmash@gmail.com"},"sourceCommit":{"committedDate":"2025-03-18T08:50:38Z","message":"[Obs
Onboarding] Add page rendering performance monitoring
(#213769)\n\nCloses
elastic/observability-dev#4238 🔒\nCloses
elastic/observability-dev#3513 🔒\n\nThis
change add logic for triggering [the page rendering
performance\nmetrics](https://docs.elastic.dev/kibana-dev-docs/tutorial/performance/adding_custom_performance_metrics#report-kibanaplugin_render_time-metric-event)\nfor:\n*
Onboarding home screen\n* Host auto-detect flow\n* Host OTel flow\n*
Host K8S flow\n* K8S OTel flow\n* Firehose flow\n\n## How to test\n1.
Run Kibana locally\n2. Open browser dev tools\n3. Navigate to one of the
above mentioned onboarding screens\n4. Observe
`kibana:plugin_render_time` EBT event emitted in the Network\ntab of the
dev tools\n\nEvents emitted from local Kibana end up in the Staging
Telemetry\ncluster, there is a [dedicated rendering
performance\ndashboard](https://telemetry-v2-staging.elastic.dev/s/apm/app/dashboards#/view/f240fff6-fac9-491b-81d1-ac39006c5c94?_g=(filters:!(),refreshInterval:(pause:!t,value:60000),time:(from:now-24h%2Fh,to:now))),\nonboarding
events can be filtered using `observabilityOnboarding`\napplication ID.
(note that it takes some time for events to be indexed\nand they appear
in the cluster with a significant
delay)","sha":"68a25a423ee8a5270e72ca89b38515c0e293cbd4","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport
missing","Feature: Observability
Onboarding","backport:version","v9.1.0"],"title":"[Obs Onboarding] Add
page rendering performance
monitoring","number":213769,"url":"https://github.com/elastic/kibana/pull/213769","mergeCommit":{"message":"[Obs
Onboarding] Add page rendering performance monitoring
(#213769)\n\nCloses
elastic/observability-dev#4238 🔒\nCloses
elastic/observability-dev#3513 🔒\n\nThis
change add logic for triggering [the page rendering
performance\nmetrics](https://docs.elastic.dev/kibana-dev-docs/tutorial/performance/adding_custom_performance_metrics#report-kibanaplugin_render_time-metric-event)\nfor:\n*
Onboarding home screen\n* Host auto-detect flow\n* Host OTel flow\n*
Host K8S flow\n* K8S OTel flow\n* Firehose flow\n\n## How to test\n1.
Run Kibana locally\n2. Open browser dev tools\n3. Navigate to one of the
above mentioned onboarding screens\n4. Observe
`kibana:plugin_render_time` EBT event emitted in the Network\ntab of the
dev tools\n\nEvents emitted from local Kibana end up in the Staging
Telemetry\ncluster, there is a [dedicated rendering
performance\ndashboard](https://telemetry-v2-staging.elastic.dev/s/apm/app/dashboards#/view/f240fff6-fac9-491b-81d1-ac39006c5c94?_g=(filters:!(),refreshInterval:(pause:!t,value:60000),time:(from:now-24h%2Fh,to:now))),\nonboarding
events can be filtered using `observabilityOnboarding`\napplication ID.
(note that it takes some time for events to be indexed\nand they appear
in the cluster with a significant
delay)","sha":"68a25a423ee8a5270e72ca89b38515c0e293cbd4"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/213769","number":213769,"mergeCommit":{"message":"[Obs
Onboarding] Add page rendering performance monitoring
(#213769)\n\nCloses
elastic/observability-dev#4238 🔒\nCloses
elastic/observability-dev#3513 🔒\n\nThis
change add logic for triggering [the page rendering
performance\nmetrics](https://docs.elastic.dev/kibana-dev-docs/tutorial/performance/adding_custom_performance_metrics#report-kibanaplugin_render_time-metric-event)\nfor:\n*
Onboarding home screen\n* Host auto-detect flow\n* Host OTel flow\n*
Host K8S flow\n* K8S OTel flow\n* Firehose flow\n\n## How to test\n1.
Run Kibana locally\n2. Open browser dev tools\n3. Navigate to one of the
above mentioned onboarding screens\n4. Observe
`kibana:plugin_render_time` EBT event emitted in the Network\ntab of the
dev tools\n\nEvents emitted from local Kibana end up in the Staging
Telemetry\ncluster, there is a [dedicated rendering
performance\ndashboard](https://telemetry-v2-staging.elastic.dev/s/apm/app/dashboards#/view/f240fff6-fac9-491b-81d1-ac39006c5c94?_g=(filters:!(),refreshInterval:(pause:!t,value:60000),time:(from:now-24h%2Fh,to:now))),\nonboarding
events can be filtered using `observabilityOnboarding`\napplication ID.
(note that it takes some time for events to be indexed\nand they appear
in the cluster with a significant
delay)","sha":"68a25a423ee8a5270e72ca89b38515c0e293cbd4"}}]}]
BACKPORT-->

---------

Co-authored-by: Mykola Harmash <mykola.harmash@gmail.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
@kibanamachine kibanamachine added v8.18.0 and removed backport missing Added to PRs automatically when the are determined to be missing a backport. labels Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels Feature: Observability Onboarding release_note:skip Skip the PR/issue when compiling release notes 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.

9 participants