Add default metrics dashboard for Node.js OTel (#215735)

This commit is contained in:
David Luna 2025-04-02 19:00:46 +02:00 committed by GitHub
parent 2b987bea61
commit fba2d2b809
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 1 deletions

View file

@ -16,6 +16,7 @@ export const existingDashboardFileNames = new Set([
'classic_apm-edot-java',
'classic_apm-edot-dotnet',
'otel_native-edot-python',
'otel_native-edot-nodejs',
]);
// The new dashboard files should be mapped here
@ -78,6 +79,12 @@ export async function loadDashboardFile(filename: string) {
'./otel_native-edot-python.json'
);
}
case 'otel_native-edot-nodejs': {
return import(
/* webpackChunkName: "lazyNodeJsOtelNativeEdotDashboard" */
'./otel_native-edot-nodejs.json'
);
}
default: {
break;
}