mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[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)](https://github.com/elastic/kibana/pull/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":"riccardo.magliocchetti@gmail.com"},"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 <riccardo.magliocchetti@gmail.com>
This commit is contained in:
parent
583ff275aa
commit
0d226d39c9
2 changed files with 2 additions and 9 deletions
|
@ -15,7 +15,6 @@ export const existingDashboardFileNames = new Set([
|
|||
'classic_apm-edot-nodejs',
|
||||
'classic_apm-edot-java',
|
||||
'classic_apm-edot-dotnet',
|
||||
'classic_apm-edot-python',
|
||||
'otel_native-edot-python',
|
||||
]);
|
||||
|
||||
|
@ -73,16 +72,10 @@ export async function loadDashboardFile(filename: string) {
|
|||
'./opentelemetry_dotnet.json'
|
||||
);
|
||||
}
|
||||
case 'classic_apm-edot-python': {
|
||||
return import(
|
||||
/* webpackChunkName: "lazyPythonOtelDashboard" */
|
||||
'./opentelemetry_python.json'
|
||||
);
|
||||
}
|
||||
case 'otel_native-edot-python': {
|
||||
return import(
|
||||
/* webpackChunkName: "lazyPythonOtelDashboard" */
|
||||
'./opentelemetry_python.json'
|
||||
/* webpackChunkName: "lazyPythonOtelNativeEdotDashboard" */
|
||||
'./otel_native-edot-python.json'
|
||||
);
|
||||
}
|
||||
default: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue