Skip to content

Commit 0d226d3

Browse files
kibanamachinexrmx
andauthored
[9.0] [ObsUX] [APM] [OTel] Reduce python runtime metrics dashboard to otel_native (#215005) (#215191)
# Backport This will backport the following commits from `main` to `9.0`: - [[ObsUX] [APM] [OTel] Reduce python runtime metrics dashboard to otel_native (#215005)](#215005) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Riccardo Magliocchetti","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-03-19T14:58:38Z","message":"[ObsUX] [APM] [OTel] Reduce python runtime metrics dashboard to otel_native (#215005)\n\n## Summary\n\nSince the GA supported path is the native OTel one, start simple with\njust that one.\nThis also renames the dashboard to match the dashboard triplet.\n\nThis is a follow up from #213599\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [ ] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n- [ ]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas added for features that require explanation or tutorials\n- [ ] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [ ] If a plugin configuration key changed, check if it needs to be\nallowlisted in the cloud and added to the [docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n- [ ] This was checked for breaking HTTP API changes, and any breaking\nchanges have been approved by the breaking-change committee. The\n`release_note:breaking` label should be applied in these situations.\n- [ ] [Flaky Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\nused on any tests changed\n- [ ] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n\n### Identify risks\n\nThis reduce risks since it reduces the surface of changes from #213599","sha":"ea73a1aa1c5bf91cfe0f583678421f3bd8abbd12","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","backport:prev-major","Team:obs-ux-infra_services","v9.1.0"],"title":"[ObsUX] [APM] [OTel] Reduce python runtime metrics dashboard to otel_native","number":215005,"url":"https://github.com/elastic/kibana/pull/215005","mergeCommit":{"message":"[ObsUX] [APM] [OTel] Reduce python runtime metrics dashboard to otel_native (#215005)\n\n## Summary\n\nSince the GA supported path is the native OTel one, start simple with\njust that one.\nThis also renames the dashboard to match the dashboard triplet.\n\nThis is a follow up from #213599\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [ ] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n- [ ]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas added for features that require explanation or tutorials\n- [ ] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [ ] If a plugin configuration key changed, check if it needs to be\nallowlisted in the cloud and added to the [docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n- [ ] This was checked for breaking HTTP API changes, and any breaking\nchanges have been approved by the breaking-change committee. The\n`release_note:breaking` label should be applied in these situations.\n- [ ] [Flaky Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\nused on any tests changed\n- [ ] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n\n### Identify risks\n\nThis reduce risks since it reduces the surface of changes from #213599","sha":"ea73a1aa1c5bf91cfe0f583678421f3bd8abbd12"}},"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/215005","number":215005,"mergeCommit":{"message":"[ObsUX] [APM] [OTel] Reduce python runtime metrics dashboard to otel_native (#215005)\n\n## Summary\n\nSince the GA supported path is the native OTel one, start simple with\njust that one.\nThis also renames the dashboard to match the dashboard triplet.\n\nThis is a follow up from #213599\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [ ] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n- [ ]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas added for features that require explanation or tutorials\n- [ ] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [ ] If a plugin configuration key changed, check if it needs to be\nallowlisted in the cloud and added to the [docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n- [ ] This was checked for breaking HTTP API changes, and any breaking\nchanges have been approved by the breaking-change committee. The\n`release_note:breaking` label should be applied in these situations.\n- [ ] [Flaky Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\nused on any tests changed\n- [ ] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n\n### Identify risks\n\nThis reduce risks since it reduces the surface of changes from #213599","sha":"ea73a1aa1c5bf91cfe0f583678421f3bd8abbd12"}}]}] BACKPORT--> Co-authored-by: Riccardo Magliocchetti <[email protected]>
1 parent 583ff27 commit 0d226d3

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

x-pack/solutions/observability/plugins/apm/public/components/app/metrics/static_dashboard/dashboards/dashboard_catalog.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ export const existingDashboardFileNames = new Set([
1515
'classic_apm-edot-nodejs',
1616
'classic_apm-edot-java',
1717
'classic_apm-edot-dotnet',
18-
'classic_apm-edot-python',
1918
'otel_native-edot-python',
2019
]);
2120

@@ -73,16 +72,10 @@ export async function loadDashboardFile(filename: string) {
7372
'./opentelemetry_dotnet.json'
7473
);
7574
}
76-
case 'classic_apm-edot-python': {
77-
return import(
78-
/* webpackChunkName: "lazyPythonOtelDashboard" */
79-
'./opentelemetry_python.json'
80-
);
81-
}
8275
case 'otel_native-edot-python': {
8376
return import(
84-
/* webpackChunkName: "lazyPythonOtelDashboard" */
85-
'./opentelemetry_python.json'
77+
/* webpackChunkName: "lazyPythonOtelNativeEdotDashboard" */
78+
'./otel_native-edot-python.json'
8679
);
8780
}
8881
default: {

0 commit comments

Comments
 (0)