@momentumcms/plugins-otel 0.5.5 → 0.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +2 -3
- package/index.js +2 -3
- package/package.json +5 -5
package/index.cjs
CHANGED
|
@@ -1186,9 +1186,7 @@ function resolveAdminRoutes(dashboardConfig) {
|
|
|
1186
1186
|
path: "observability",
|
|
1187
1187
|
label: "Observability",
|
|
1188
1188
|
icon: "heroSignal",
|
|
1189
|
-
loadComponent: () => import(dashboardModule).then(
|
|
1190
|
-
(m) => m["OtelDashboardPage"]
|
|
1191
|
-
),
|
|
1189
|
+
loadComponent: () => import(dashboardModule).then((m) => m["OtelDashboardPage"]),
|
|
1192
1190
|
group: "Plugins"
|
|
1193
1191
|
}
|
|
1194
1192
|
];
|
|
@@ -1223,6 +1221,7 @@ function otelPlugin(config = {}) {
|
|
|
1223
1221
|
const adminRoutes = metricsEnabled ? resolveAdminRoutes(dashboardEnabled) : [];
|
|
1224
1222
|
return {
|
|
1225
1223
|
name: "otel",
|
|
1224
|
+
collections: metricsEnabled ? [OtelSnapshotsCollection] : [],
|
|
1226
1225
|
adminRoutes,
|
|
1227
1226
|
browserImports: metricsEnabled ? {
|
|
1228
1227
|
adminRoutes: {
|
package/index.js
CHANGED
|
@@ -1168,9 +1168,7 @@ function resolveAdminRoutes(dashboardConfig) {
|
|
|
1168
1168
|
path: "observability",
|
|
1169
1169
|
label: "Observability",
|
|
1170
1170
|
icon: "heroSignal",
|
|
1171
|
-
loadComponent: () => import(dashboardModule).then(
|
|
1172
|
-
(m) => m["OtelDashboardPage"]
|
|
1173
|
-
),
|
|
1171
|
+
loadComponent: () => import(dashboardModule).then((m) => m["OtelDashboardPage"]),
|
|
1174
1172
|
group: "Plugins"
|
|
1175
1173
|
}
|
|
1176
1174
|
];
|
|
@@ -1205,6 +1203,7 @@ function otelPlugin(config = {}) {
|
|
|
1205
1203
|
const adminRoutes = metricsEnabled ? resolveAdminRoutes(dashboardEnabled) : [];
|
|
1206
1204
|
return {
|
|
1207
1205
|
name: "otel",
|
|
1206
|
+
collections: metricsEnabled ? [OtelSnapshotsCollection] : [],
|
|
1208
1207
|
adminRoutes,
|
|
1209
1208
|
browserImports: metricsEnabled ? {
|
|
1210
1209
|
adminRoutes: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@momentumcms/plugins-otel",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.7",
|
|
4
4
|
"description": "OpenTelemetry observability plugin for Momentum CMS",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Momentum CMS Contributors",
|
|
@@ -40,13 +40,13 @@
|
|
|
40
40
|
"@opentelemetry/api": "^1.3.0",
|
|
41
41
|
"@opentelemetry/sdk-metrics": "^2.0.0",
|
|
42
42
|
"@opentelemetry/exporter-prometheus": "^0.213.0",
|
|
43
|
-
"@momentumcms/plugins-core": "0.5.
|
|
44
|
-
"@momentumcms/logger": "0.5.
|
|
45
|
-
"@momentumcms/core": "0.5.
|
|
43
|
+
"@momentumcms/plugins-core": "0.5.7",
|
|
44
|
+
"@momentumcms/logger": "0.5.7",
|
|
45
|
+
"@momentumcms/core": "0.5.7",
|
|
46
46
|
"express": "^4.21.2",
|
|
47
47
|
"@angular/core": "~21.2.0",
|
|
48
48
|
"@angular/common": "~21.2.0",
|
|
49
|
-
"@momentumcms/ui": "0.5.
|
|
49
|
+
"@momentumcms/ui": "0.5.7",
|
|
50
50
|
"@ng-icons/core": "^33.0.0",
|
|
51
51
|
"@ng-icons/heroicons": "^33.0.0"
|
|
52
52
|
},
|