@dxos/plugin-observability 0.7.4 → 0.7.5-labs.071a3e2
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/dist/lib/browser/chunk-BMBRX6IW.mjs +13 -0
- package/dist/lib/browser/chunk-BMBRX6IW.mjs.map +7 -0
- package/dist/lib/browser/chunk-LJICNNK4.mjs +58 -0
- package/dist/lib/browser/chunk-LJICNNK4.mjs.map +7 -0
- package/dist/lib/browser/chunk-VOXXTFUV.mjs +37 -0
- package/dist/lib/browser/chunk-VOXXTFUV.mjs.map +7 -0
- package/dist/lib/browser/chunk-WEVYEGVJ.mjs +18 -0
- package/dist/lib/browser/chunk-WEVYEGVJ.mjs.map +7 -0
- package/dist/lib/browser/client-ready-G43SJ5KX.mjs +103 -0
- package/dist/lib/browser/client-ready-G43SJ5KX.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +78 -201
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/intents-resolver-SSLETJX6.mjs +64 -0
- package/dist/lib/browser/intents-resolver-SSLETJX6.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/react-surface-TRXHCMO5.mjs +24 -0
- package/dist/lib/browser/react-surface-TRXHCMO5.mjs.map +7 -0
- package/dist/lib/browser/settings-3DXJFOJA.mjs +25 -0
- package/dist/lib/browser/settings-3DXJFOJA.mjs.map +7 -0
- package/dist/lib/browser/state-LG42JNIS.mjs +26 -0
- package/dist/lib/browser/state-LG42JNIS.mjs.map +7 -0
- package/dist/lib/browser/types.mjs +10 -0
- package/dist/lib/node/{meta.cjs → chunk-7I7D7NBM.cjs} +13 -9
- package/dist/lib/node/chunk-7I7D7NBM.cjs.map +7 -0
- package/dist/lib/node/chunk-X7HWBFE2.cjs +38 -0
- package/dist/lib/node/chunk-X7HWBFE2.cjs.map +7 -0
- package/dist/lib/node/chunk-XBDGBB5D.cjs +78 -0
- package/dist/lib/node/chunk-XBDGBB5D.cjs.map +7 -0
- package/dist/lib/node/chunk-YHIPA37Q.cjs +65 -0
- package/dist/lib/node/chunk-YHIPA37Q.cjs.map +7 -0
- package/dist/lib/node/client-ready-352F6HCO.cjs +114 -0
- package/dist/lib/node/client-ready-352F6HCO.cjs.map +7 -0
- package/dist/lib/node/index.cjs +73 -194
- package/dist/lib/node/index.cjs.map +4 -4
- package/dist/lib/node/intents-resolver-JZ5PEWEO.cjs +75 -0
- package/dist/lib/node/intents-resolver-JZ5PEWEO.cjs.map +7 -0
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/react-surface-G4DDWTSN.cjs +48 -0
- package/dist/lib/node/react-surface-G4DDWTSN.cjs.map +7 -0
- package/dist/lib/node/settings-ZFZ4YONA.cjs +39 -0
- package/dist/lib/node/settings-ZFZ4YONA.cjs.map +7 -0
- package/dist/lib/node/state-FNK3OBM7.cjs +40 -0
- package/dist/lib/node/state-FNK3OBM7.cjs.map +7 -0
- package/dist/lib/node/types.cjs +32 -0
- package/dist/lib/node/types.cjs.map +7 -0
- package/dist/lib/node-esm/chunk-DSC5SQ7W.mjs +59 -0
- package/dist/lib/node-esm/chunk-DSC5SQ7W.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-HTL7V6A2.mjs +15 -0
- package/dist/lib/node-esm/chunk-HTL7V6A2.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-KPH3N6JS.mjs +19 -0
- package/dist/lib/node-esm/chunk-KPH3N6JS.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-N5NBR55J.mjs +38 -0
- package/dist/lib/node-esm/chunk-N5NBR55J.mjs.map +7 -0
- package/dist/lib/node-esm/client-ready-NXRLOXLL.mjs +104 -0
- package/dist/lib/node-esm/client-ready-NXRLOXLL.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +78 -201
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/intents-resolver-PZS43GGV.mjs +65 -0
- package/dist/lib/node-esm/intents-resolver-PZS43GGV.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/react-surface-QYURTQNR.mjs +25 -0
- package/dist/lib/node-esm/react-surface-QYURTQNR.mjs.map +7 -0
- package/dist/lib/node-esm/settings-UNFUTWGX.mjs +26 -0
- package/dist/lib/node-esm/settings-UNFUTWGX.mjs.map +7 -0
- package/dist/lib/node-esm/state-UXRA6NQC.mjs +27 -0
- package/dist/lib/node-esm/state-UXRA6NQC.mjs.map +7 -0
- package/dist/lib/node-esm/{meta.mjs → types.mjs} +5 -6
- package/dist/types/src/ObservabilityPlugin.d.ts +1 -11
- package/dist/types/src/ObservabilityPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/capabilities.d.ts +12 -0
- package/dist/types/src/capabilities/capabilities.d.ts.map +1 -0
- package/dist/types/src/capabilities/client-ready.d.ts +10 -0
- package/dist/types/src/capabilities/client-ready.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +16 -0
- package/dist/types/src/capabilities/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/intents-resolver.d.ts +7 -0
- package/dist/types/src/capabilities/intents-resolver.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface.d.ts +4 -0
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
- package/dist/types/src/capabilities/settings.d.ts +4 -0
- package/dist/types/src/capabilities/settings.d.ts.map +1 -0
- package/dist/types/src/capabilities/state.d.ts +6 -0
- package/dist/types/src/capabilities/state.d.ts.map +1 -0
- package/dist/types/src/components/ObservabilitySettings.d.ts +5 -3
- package/dist/types/src/components/ObservabilitySettings.d.ts.map +1 -1
- package/dist/types/src/events.d.ts +5 -0
- package/dist/types/src/events.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +3 -2
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +2 -12
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/types.d.ts +47 -0
- package/dist/types/src/types.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -0
- package/package.json +26 -25
- package/src/ObservabilityPlugin.ts +61 -0
- package/src/capabilities/capabilities.ts +22 -0
- package/src/capabilities/client-ready.ts +98 -0
- package/src/capabilities/index.ts +13 -0
- package/src/capabilities/intents-resolver.ts +62 -0
- package/src/capabilities/react-surface.tsx +23 -0
- package/src/capabilities/settings.ts +19 -0
- package/src/capabilities/state.ts +21 -0
- package/src/components/ObservabilitySettings.tsx +32 -34
- package/src/events.ts +14 -0
- package/src/index.ts +3 -4
- package/src/meta.ts +2 -14
- package/src/translations.ts +1 -1
- package/src/types.ts +54 -0
- package/dist/lib/browser/chunk-FO5EMZZO.mjs +0 -20
- package/dist/lib/browser/chunk-FO5EMZZO.mjs.map +0 -7
- package/dist/lib/browser/meta.mjs +0 -11
- package/dist/lib/node/chunk-RAB7T73W.cjs +0 -44
- package/dist/lib/node/chunk-RAB7T73W.cjs.map +0 -7
- package/dist/lib/node/meta.cjs.map +0 -7
- package/dist/lib/node-esm/chunk-UVEE3XZO.mjs +0 -22
- package/dist/lib/node-esm/chunk-UVEE3XZO.mjs.map +0 -7
- package/src/ObservabilityPlugin.tsx +0 -221
- /package/dist/lib/browser/{meta.mjs.map → types.mjs.map} +0 -0
- /package/dist/lib/node-esm/{meta.mjs.map → types.mjs.map} +0 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2025 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import { allOf, Capabilities, contributes, defineModule, definePlugin, Events } from '@dxos/app-framework';
|
|
6
|
+
import { type Observability } from '@dxos/observability';
|
|
7
|
+
|
|
8
|
+
import {
|
|
9
|
+
ClientReady,
|
|
10
|
+
IntentResolver,
|
|
11
|
+
ObservabilityCapabilities,
|
|
12
|
+
ObservabilitySettings,
|
|
13
|
+
ObservabilityState,
|
|
14
|
+
ReactSurface,
|
|
15
|
+
} from './capabilities';
|
|
16
|
+
import { ObservabilityEvents, ClientReadyEvent } from './events';
|
|
17
|
+
import { meta } from './meta';
|
|
18
|
+
import translations from './translations';
|
|
19
|
+
|
|
20
|
+
export const ObservabilityPlugin = (options: { namespace: string; observability: () => Promise<Observability> }) =>
|
|
21
|
+
definePlugin(meta, [
|
|
22
|
+
defineModule({
|
|
23
|
+
id: `${meta.id}/module/observability`,
|
|
24
|
+
activatesOn: Events.Startup,
|
|
25
|
+
activate: async () => contributes(ObservabilityCapabilities.Observability, await options.observability()),
|
|
26
|
+
}),
|
|
27
|
+
defineModule({
|
|
28
|
+
id: `${meta.id}/module/settings`,
|
|
29
|
+
activatesOn: Events.SetupSettings,
|
|
30
|
+
activate: ObservabilitySettings,
|
|
31
|
+
}),
|
|
32
|
+
defineModule({
|
|
33
|
+
id: `${meta.id}/module/state`,
|
|
34
|
+
activatesOn: Events.Startup,
|
|
35
|
+
activatesAfter: [ObservabilityEvents.StateReady],
|
|
36
|
+
activate: () => ObservabilityState({ namespace: options.namespace }),
|
|
37
|
+
}),
|
|
38
|
+
defineModule({
|
|
39
|
+
id: `${meta.id}/module/translations`,
|
|
40
|
+
activatesOn: Events.SetupTranslations,
|
|
41
|
+
activate: () => contributes(Capabilities.Translations, translations),
|
|
42
|
+
}),
|
|
43
|
+
defineModule({
|
|
44
|
+
id: `${meta.id}/module/intent-resolver`,
|
|
45
|
+
activatesOn: Events.SetupIntents,
|
|
46
|
+
activate: (context) => IntentResolver({ context, namespace: options.namespace }),
|
|
47
|
+
}),
|
|
48
|
+
defineModule({
|
|
49
|
+
id: `${meta.id}/module/react-surface`,
|
|
50
|
+
activatesOn: Events.SetupSurfaces,
|
|
51
|
+
activate: ReactSurface,
|
|
52
|
+
}),
|
|
53
|
+
defineModule({
|
|
54
|
+
id: `${meta.id}/module/client-ready`,
|
|
55
|
+
activatesOn: allOf(Events.DispatcherReady, ObservabilityEvents.StateReady, ClientReadyEvent),
|
|
56
|
+
activate: async (context) => {
|
|
57
|
+
const observability = await options.observability();
|
|
58
|
+
return ClientReady({ context, observability, namespace: options.namespace });
|
|
59
|
+
},
|
|
60
|
+
}),
|
|
61
|
+
]);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2025 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import { defineCapability } from '@dxos/app-framework';
|
|
6
|
+
import { type Client } from '@dxos/client';
|
|
7
|
+
import { type Observability } from '@dxos/observability';
|
|
8
|
+
|
|
9
|
+
import { OBSERVABILITY_PLUGIN } from '../meta';
|
|
10
|
+
|
|
11
|
+
export namespace ObservabilityCapabilities {
|
|
12
|
+
export type State = {
|
|
13
|
+
group?: string;
|
|
14
|
+
notified?: boolean;
|
|
15
|
+
};
|
|
16
|
+
export const State = defineCapability<State>(`${OBSERVABILITY_PLUGIN}/capability/state`);
|
|
17
|
+
|
|
18
|
+
export const Observability = defineCapability<Observability>(`${OBSERVABILITY_PLUGIN}/capability/observability`);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// NOTE: This is cloned from the client plugin to avoid circular dependencies.
|
|
22
|
+
export const ClientCapability = defineCapability<Client>('dxos.org/plugin/client/capability/client');
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2025 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import {
|
|
6
|
+
Capabilities,
|
|
7
|
+
contributes,
|
|
8
|
+
createIntent,
|
|
9
|
+
LayoutAction,
|
|
10
|
+
SettingsAction,
|
|
11
|
+
type PluginsContext,
|
|
12
|
+
} from '@dxos/app-framework';
|
|
13
|
+
import { setupTelemetryListeners, type Observability } from '@dxos/observability';
|
|
14
|
+
|
|
15
|
+
import { ClientCapability, ObservabilityCapabilities } from './capabilities';
|
|
16
|
+
import { OBSERVABILITY_PLUGIN } from '../meta';
|
|
17
|
+
import { ObservabilityAction } from '../types';
|
|
18
|
+
|
|
19
|
+
type ClientReadyOptions = {
|
|
20
|
+
context: PluginsContext;
|
|
21
|
+
namespace: string;
|
|
22
|
+
observability: Observability;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export default async ({ context, namespace, observability }: ClientReadyOptions) => {
|
|
26
|
+
const manager = context.requestCapability(Capabilities.PluginManager);
|
|
27
|
+
const { dispatchPromise: dispatch } = context.requestCapability(Capabilities.IntentDispatcher);
|
|
28
|
+
const state = context.requestCapability(ObservabilityCapabilities.State);
|
|
29
|
+
const client = context.requestCapability(ClientCapability);
|
|
30
|
+
|
|
31
|
+
const sendPrivacyNotice = async () => {
|
|
32
|
+
const environment = client?.config?.values.runtime?.app?.env?.DX_ENVIRONMENT;
|
|
33
|
+
const notify =
|
|
34
|
+
environment && environment !== 'ci' && !environment.endsWith('.local') && !environment.endsWith('.lan');
|
|
35
|
+
if (!state.notified && notify) {
|
|
36
|
+
await dispatch(
|
|
37
|
+
createIntent(LayoutAction.AddToast, {
|
|
38
|
+
part: 'toast',
|
|
39
|
+
subject: {
|
|
40
|
+
id: `${OBSERVABILITY_PLUGIN}/notice`,
|
|
41
|
+
title: ['observability toast label', { ns: OBSERVABILITY_PLUGIN }],
|
|
42
|
+
description: ['observability toast description', { ns: OBSERVABILITY_PLUGIN }],
|
|
43
|
+
duration: Infinity,
|
|
44
|
+
icon: 'ph--info--regular',
|
|
45
|
+
actionLabel: ['observability toast action label', { ns: OBSERVABILITY_PLUGIN }],
|
|
46
|
+
actionAlt: ['observability toast action alt', { ns: OBSERVABILITY_PLUGIN }],
|
|
47
|
+
closeLabel: ['observability toast close label', { ns: OBSERVABILITY_PLUGIN }],
|
|
48
|
+
onAction: () => dispatch(createIntent(SettingsAction.Open, { plugin: OBSERVABILITY_PLUGIN })),
|
|
49
|
+
},
|
|
50
|
+
}),
|
|
51
|
+
);
|
|
52
|
+
|
|
53
|
+
state.notified = true;
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
// Ensure errors are tagged with enabled plugins to help with reproductions.
|
|
58
|
+
manager.enabled.map((plugin) => observability?.setTag(`pluginEnabled-${plugin}`, 'true', 'errors'));
|
|
59
|
+
|
|
60
|
+
await dispatch(
|
|
61
|
+
createIntent(ObservabilityAction.SendEvent, {
|
|
62
|
+
name: 'page.load',
|
|
63
|
+
properties: {
|
|
64
|
+
href: window.location.href,
|
|
65
|
+
// TODO(wittjosiah): These apis are deprecated. Is there a better way to find this information?
|
|
66
|
+
loadDuration: window.performance.timing.loadEventEnd - window.performance.timing.loadEventStart,
|
|
67
|
+
},
|
|
68
|
+
}),
|
|
69
|
+
);
|
|
70
|
+
|
|
71
|
+
// Start client observability (i.e. not running as shared worker)
|
|
72
|
+
// TODO(nf): how to prevent multiple instances for single shared worker?
|
|
73
|
+
const cleanup = setupTelemetryListeners(namespace, client, observability);
|
|
74
|
+
|
|
75
|
+
await Promise.all([
|
|
76
|
+
observability.setIdentityTags(client.services.services),
|
|
77
|
+
observability.startRuntimeMetrics(client),
|
|
78
|
+
observability.startNetworkMetrics(client.services.services),
|
|
79
|
+
observability.startSpacesMetrics(client, namespace),
|
|
80
|
+
]);
|
|
81
|
+
|
|
82
|
+
if (client.halo.identity.get()) {
|
|
83
|
+
await sendPrivacyNotice();
|
|
84
|
+
} else {
|
|
85
|
+
const subscription = client.halo.identity.subscribe(async (identity) => {
|
|
86
|
+
if (identity && observability) {
|
|
87
|
+
await sendPrivacyNotice();
|
|
88
|
+
await observability.setIdentityTags(client.services.services);
|
|
89
|
+
subscription.unsubscribe();
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
return contributes(ObservabilityCapabilities.Observability, observability, async () => {
|
|
95
|
+
cleanup();
|
|
96
|
+
await observability.close();
|
|
97
|
+
});
|
|
98
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2025 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import { lazy } from '@dxos/app-framework';
|
|
6
|
+
|
|
7
|
+
export const ClientReady = lazy(() => import('./client-ready'));
|
|
8
|
+
export const IntentResolver = lazy(() => import('./intents-resolver'));
|
|
9
|
+
export const ReactSurface = lazy(() => import('./react-surface'));
|
|
10
|
+
export const ObservabilitySettings = lazy(() => import('./settings'));
|
|
11
|
+
export const ObservabilityState = lazy(() => import('./state'));
|
|
12
|
+
|
|
13
|
+
export * from './capabilities';
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2025 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import { Capabilities, contributes, createResolver, type PluginsContext } from '@dxos/app-framework';
|
|
6
|
+
import { getTelemetryIdentifier, storeObservabilityDisabled } from '@dxos/observability';
|
|
7
|
+
|
|
8
|
+
import { ClientCapability, ObservabilityCapabilities } from './capabilities';
|
|
9
|
+
import { type ObservabilitySettingsProps } from '../components';
|
|
10
|
+
import { OBSERVABILITY_PLUGIN } from '../meta';
|
|
11
|
+
import { ObservabilityAction } from '../types';
|
|
12
|
+
|
|
13
|
+
export default ({ context, namespace }: { context: PluginsContext; namespace: string }) =>
|
|
14
|
+
contributes(Capabilities.IntentResolver, [
|
|
15
|
+
createResolver({
|
|
16
|
+
intent: ObservabilityAction.Toggle,
|
|
17
|
+
resolve: async ({ state }) => {
|
|
18
|
+
const client = context.requestCapability(ClientCapability);
|
|
19
|
+
const observability = context.requestCapability(ObservabilityCapabilities.Observability);
|
|
20
|
+
const settings = context
|
|
21
|
+
.requestCapability(Capabilities.SettingsStore)
|
|
22
|
+
.getStore<ObservabilitySettingsProps>(OBSERVABILITY_PLUGIN)!.value;
|
|
23
|
+
settings.enabled = state ?? !settings.enabled;
|
|
24
|
+
observability.event({
|
|
25
|
+
identityId: getTelemetryIdentifier(client),
|
|
26
|
+
name: `${namespace}.observability.toggle`,
|
|
27
|
+
properties: {
|
|
28
|
+
enabled: settings.enabled,
|
|
29
|
+
},
|
|
30
|
+
});
|
|
31
|
+
observability.setMode(settings.enabled ? 'basic' : 'disabled');
|
|
32
|
+
await storeObservabilityDisabled(namespace, !settings.enabled);
|
|
33
|
+
return { data: settings.enabled };
|
|
34
|
+
},
|
|
35
|
+
}),
|
|
36
|
+
createResolver({
|
|
37
|
+
intent: ObservabilityAction.SendEvent,
|
|
38
|
+
resolve: (data) => {
|
|
39
|
+
const client = context.requestCapability(ClientCapability);
|
|
40
|
+
// NOTE: This is to ensure that events fired before observability is ready are still sent.
|
|
41
|
+
// TODO(wittjosiah): If the intent dispatcher supports concurrent actions in the future,
|
|
42
|
+
// then this could awaited still rather than voiding.
|
|
43
|
+
void context.waitForCapability(ObservabilityCapabilities.Observability).then((observability) => {
|
|
44
|
+
const event = {
|
|
45
|
+
identityId: getTelemetryIdentifier(client),
|
|
46
|
+
name: `${namespace}.${data.name}`,
|
|
47
|
+
properties: {
|
|
48
|
+
...data.properties,
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
observability.event(event);
|
|
52
|
+
});
|
|
53
|
+
},
|
|
54
|
+
}),
|
|
55
|
+
createResolver({
|
|
56
|
+
intent: ObservabilityAction.CaptureUserFeedback,
|
|
57
|
+
resolve: async (data) => {
|
|
58
|
+
const observability = context.requestCapability(ObservabilityCapabilities.Observability);
|
|
59
|
+
observability.captureUserFeedback(data.email, data.name, data.message);
|
|
60
|
+
},
|
|
61
|
+
}),
|
|
62
|
+
]);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2025 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import React from 'react';
|
|
6
|
+
|
|
7
|
+
import { contributes, Capabilities, createSurface } from '@dxos/app-framework';
|
|
8
|
+
import { SettingsStore } from '@dxos/local-storage';
|
|
9
|
+
|
|
10
|
+
import { ObservabilitySettings, type ObservabilitySettingsProps } from '../components';
|
|
11
|
+
import { OBSERVABILITY_PLUGIN } from '../meta';
|
|
12
|
+
|
|
13
|
+
export default () =>
|
|
14
|
+
contributes(
|
|
15
|
+
Capabilities.ReactSurface,
|
|
16
|
+
createSurface({
|
|
17
|
+
id: OBSERVABILITY_PLUGIN,
|
|
18
|
+
role: 'article',
|
|
19
|
+
filter: (data): data is { subject: SettingsStore<ObservabilitySettingsProps> } =>
|
|
20
|
+
data.subject instanceof SettingsStore && data.subject.prefix === OBSERVABILITY_PLUGIN,
|
|
21
|
+
component: ({ data: { subject } }) => <ObservabilitySettings settings={subject.value} />,
|
|
22
|
+
}),
|
|
23
|
+
);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2025 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import { Capabilities, contributes } from '@dxos/app-framework';
|
|
6
|
+
import { create } from '@dxos/live-object';
|
|
7
|
+
|
|
8
|
+
import { type ObservabilitySettingsProps, ObservabilitySettingsSchema } from '../components';
|
|
9
|
+
import { OBSERVABILITY_PLUGIN } from '../meta';
|
|
10
|
+
|
|
11
|
+
export default () => {
|
|
12
|
+
const settings = create<ObservabilitySettingsProps>({ enabled: true });
|
|
13
|
+
|
|
14
|
+
return contributes(Capabilities.Settings, {
|
|
15
|
+
schema: ObservabilitySettingsSchema,
|
|
16
|
+
prefix: OBSERVABILITY_PLUGIN,
|
|
17
|
+
value: settings,
|
|
18
|
+
});
|
|
19
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2025 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import { contributes } from '@dxos/app-framework';
|
|
6
|
+
import { LocalStorageStore } from '@dxos/local-storage';
|
|
7
|
+
import { getObservabilityGroup } from '@dxos/observability';
|
|
8
|
+
|
|
9
|
+
import { ObservabilityCapabilities } from './capabilities';
|
|
10
|
+
import { OBSERVABILITY_PLUGIN } from '../meta';
|
|
11
|
+
|
|
12
|
+
export default async ({ namespace }: { namespace: string }) => {
|
|
13
|
+
const state = new LocalStorageStore<ObservabilityCapabilities.State>(OBSERVABILITY_PLUGIN);
|
|
14
|
+
|
|
15
|
+
state.prop({ key: 'notified', type: LocalStorageStore.bool({ allowUndefined: true }) });
|
|
16
|
+
|
|
17
|
+
// NOTE: This is not stored in local storage such that it can be accessed by workers.
|
|
18
|
+
state.values.group = await getObservabilityGroup(namespace);
|
|
19
|
+
|
|
20
|
+
return contributes(ObservabilityCapabilities.State, state.values, () => state.close());
|
|
21
|
+
};
|
|
@@ -4,47 +4,45 @@
|
|
|
4
4
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
|
|
7
|
-
import {
|
|
7
|
+
import { createIntent, useIntentDispatcher } from '@dxos/app-framework';
|
|
8
|
+
import { S } from '@dxos/echo-schema';
|
|
8
9
|
import { Input, Message, useTranslation } from '@dxos/react-ui';
|
|
9
|
-
import { DeprecatedFormInput } from '@dxos/react-ui-form';
|
|
10
|
+
import { DeprecatedFormContainer, DeprecatedFormInput } from '@dxos/react-ui-form';
|
|
10
11
|
|
|
11
|
-
import { OBSERVABILITY_PLUGIN
|
|
12
|
+
import { OBSERVABILITY_PLUGIN } from '../meta';
|
|
13
|
+
import { ObservabilityAction } from '../types';
|
|
12
14
|
|
|
13
|
-
export
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
export const ObservabilitySettingsSchema = S.mutable(
|
|
16
|
+
S.Struct({
|
|
17
|
+
enabled: S.Boolean,
|
|
18
|
+
// TODO(wittjosiah): Separate settings for each observability feature.
|
|
19
|
+
// metrics?: boolean;
|
|
20
|
+
// telemetry?: boolean;
|
|
21
|
+
// errors?: boolean;
|
|
22
|
+
}),
|
|
23
|
+
);
|
|
24
|
+
|
|
25
|
+
export type ObservabilitySettingsProps = S.Schema.Type<typeof ObservabilitySettingsSchema>;
|
|
20
26
|
|
|
21
27
|
export const ObservabilitySettings = ({ settings }: { settings: ObservabilitySettingsProps }) => {
|
|
22
28
|
const { t } = useTranslation(OBSERVABILITY_PLUGIN);
|
|
23
|
-
const
|
|
29
|
+
const { dispatchPromise: dispatch } = useIntentDispatcher();
|
|
24
30
|
|
|
25
31
|
return (
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
<Message.
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
action: ObservabilityAction.TOGGLE,
|
|
42
|
-
data: { state: !!checked },
|
|
43
|
-
})
|
|
44
|
-
}
|
|
45
|
-
/>
|
|
46
|
-
</DeprecatedFormInput>
|
|
47
|
-
)}
|
|
48
|
-
</>
|
|
32
|
+
<DeprecatedFormContainer>
|
|
33
|
+
<DeprecatedFormInput
|
|
34
|
+
label={t('observability enabled label')}
|
|
35
|
+
secondary={
|
|
36
|
+
<Message.Root valence='info'>
|
|
37
|
+
<Message.Body>{t('observability description')}</Message.Body>
|
|
38
|
+
</Message.Root>
|
|
39
|
+
}
|
|
40
|
+
>
|
|
41
|
+
<Input.Switch
|
|
42
|
+
checked={settings.enabled}
|
|
43
|
+
onCheckedChange={(checked) => dispatch(createIntent(ObservabilityAction.Toggle, { state: !!checked }))}
|
|
44
|
+
/>
|
|
45
|
+
</DeprecatedFormInput>
|
|
46
|
+
</DeprecatedFormContainer>
|
|
49
47
|
);
|
|
50
48
|
};
|
package/src/events.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2025 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import { defineEvent, Events } from '@dxos/app-framework';
|
|
6
|
+
|
|
7
|
+
import { OBSERVABILITY_PLUGIN } from './meta';
|
|
8
|
+
|
|
9
|
+
export namespace ObservabilityEvents {
|
|
10
|
+
export const StateReady = Events.createStateEvent(OBSERVABILITY_PLUGIN);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// NOTE: This is cloned from the client plugin to avoid circular dependencies.
|
|
14
|
+
export const ClientReadyEvent = defineEvent('dxos.org/plugin/client/event/client-ready');
|
package/src/index.ts
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
// Copyright 2023 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export
|
|
8
|
-
|
|
5
|
+
export { ObservabilityCapabilities } from './capabilities';
|
|
6
|
+
export { ObservabilityEvents } from './events';
|
|
7
|
+
export * from './meta';
|
|
9
8
|
export * from './ObservabilityPlugin';
|
package/src/meta.ts
CHANGED
|
@@ -6,20 +6,8 @@ import { type PluginMeta } from '@dxos/app-framework';
|
|
|
6
6
|
|
|
7
7
|
export const OBSERVABILITY_PLUGIN = 'dxos.org/plugin/observability';
|
|
8
8
|
|
|
9
|
-
export
|
|
9
|
+
export const meta = {
|
|
10
10
|
id: OBSERVABILITY_PLUGIN,
|
|
11
11
|
name: 'Telemetry',
|
|
12
|
+
icon: 'ph--eye--regular',
|
|
12
13
|
} satisfies PluginMeta;
|
|
13
|
-
|
|
14
|
-
const OBSERVABILITY_ACTION = 'dxos.org/plugin/observability';
|
|
15
|
-
export enum ObservabilityAction {
|
|
16
|
-
TOGGLE = `${OBSERVABILITY_ACTION}/toggle`,
|
|
17
|
-
SEND_EVENT = `${OBSERVABILITY_ACTION}/send-event`,
|
|
18
|
-
CAPTURE_USER_FEEDBACK = `${OBSERVABILITY_ACTION}/capture-feedback`,
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export type UserFeedback = {
|
|
22
|
-
name: string;
|
|
23
|
-
email: string;
|
|
24
|
-
message: string;
|
|
25
|
-
};
|
package/src/translations.ts
CHANGED
|
@@ -18,7 +18,7 @@ export default [
|
|
|
18
18
|
'observability enabled label': 'Enable telemetry',
|
|
19
19
|
// TODO: Add link about telemetry privacy. Make it clearer that user data is not collected.
|
|
20
20
|
'observability description':
|
|
21
|
-
'When enabled, basic usage data will
|
|
21
|
+
'When enabled, basic usage data will used to improve the product. This may include performance metrics, error logs, and usage data. No personally identifiable information, other than your public key, is included with this data and no private data ever leaves your devices.',
|
|
22
22
|
},
|
|
23
23
|
},
|
|
24
24
|
},
|
package/src/types.ts
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2024 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import { S } from '@dxos/echo-schema';
|
|
6
|
+
|
|
7
|
+
import { OBSERVABILITY_PLUGIN } from './meta';
|
|
8
|
+
|
|
9
|
+
const Email = S.String.pipe(
|
|
10
|
+
S.nonEmptyString({ message: () => 'Email is required.' }),
|
|
11
|
+
S.pattern(/^(?!\.)(?!.*\.\.)([A-Z0-9_+-.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9-]*\.)+[A-Z]{2,}$/i, {
|
|
12
|
+
message: () => 'Invalid email address.',
|
|
13
|
+
}),
|
|
14
|
+
);
|
|
15
|
+
|
|
16
|
+
const nonEmpty = (field: string) => S.nonEmptyString({ message: () => `${field} is required.` });
|
|
17
|
+
const maxLength = (field: string, length: number) => S.maxLength(length, { message: () => `${field} is too long.` });
|
|
18
|
+
|
|
19
|
+
export const UserFeedback = S.Struct({
|
|
20
|
+
name: S.String.pipe(nonEmpty('Name'), maxLength('Name', 256)),
|
|
21
|
+
email: Email.pipe(maxLength('Email', 256)),
|
|
22
|
+
message: S.String.pipe(nonEmpty('Feedback'), maxLength('Feedback', 32_768)),
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
export type UserFeedback = S.Schema.Type<typeof UserFeedback>;
|
|
26
|
+
|
|
27
|
+
const OBSERVABILITY_ACTION = `${OBSERVABILITY_PLUGIN}/action`;
|
|
28
|
+
export namespace ObservabilityAction {
|
|
29
|
+
export class Toggle extends S.TaggedClass<Toggle>()(`${OBSERVABILITY_ACTION}/toggle`, {
|
|
30
|
+
input: S.Struct({
|
|
31
|
+
state: S.optional(S.Boolean),
|
|
32
|
+
}),
|
|
33
|
+
output: S.Boolean,
|
|
34
|
+
}) {}
|
|
35
|
+
|
|
36
|
+
export class SendEvent extends S.TaggedClass<SendEvent>()(`${OBSERVABILITY_ACTION}/send-event`, {
|
|
37
|
+
input: S.Struct({
|
|
38
|
+
name: S.String,
|
|
39
|
+
properties: S.optional(S.Object),
|
|
40
|
+
installationId: S.optional(S.String),
|
|
41
|
+
identityId: S.optional(S.String),
|
|
42
|
+
timestamp: S.optional(S.Date),
|
|
43
|
+
}),
|
|
44
|
+
output: S.Void,
|
|
45
|
+
}) {}
|
|
46
|
+
|
|
47
|
+
export class CaptureUserFeedback extends S.TaggedClass<CaptureUserFeedback>()(
|
|
48
|
+
`${OBSERVABILITY_ACTION}/capture-feedback`,
|
|
49
|
+
{
|
|
50
|
+
input: UserFeedback,
|
|
51
|
+
output: S.Void,
|
|
52
|
+
},
|
|
53
|
+
) {}
|
|
54
|
+
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// packages/plugins/plugin-observability/src/meta.ts
|
|
2
|
-
var OBSERVABILITY_PLUGIN = "dxos.org/plugin/observability";
|
|
3
|
-
var meta_default = {
|
|
4
|
-
id: OBSERVABILITY_PLUGIN,
|
|
5
|
-
name: "Telemetry"
|
|
6
|
-
};
|
|
7
|
-
var OBSERVABILITY_ACTION = "dxos.org/plugin/observability";
|
|
8
|
-
var ObservabilityAction;
|
|
9
|
-
(function(ObservabilityAction2) {
|
|
10
|
-
ObservabilityAction2[ObservabilityAction2["TOGGLE"] = `${OBSERVABILITY_ACTION}/toggle`] = "TOGGLE";
|
|
11
|
-
ObservabilityAction2[ObservabilityAction2["SEND_EVENT"] = `${OBSERVABILITY_ACTION}/send-event`] = "SEND_EVENT";
|
|
12
|
-
ObservabilityAction2[ObservabilityAction2["CAPTURE_USER_FEEDBACK"] = `${OBSERVABILITY_ACTION}/capture-feedback`] = "CAPTURE_USER_FEEDBACK";
|
|
13
|
-
})(ObservabilityAction || (ObservabilityAction = {}));
|
|
14
|
-
|
|
15
|
-
export {
|
|
16
|
-
OBSERVABILITY_PLUGIN,
|
|
17
|
-
meta_default,
|
|
18
|
-
ObservabilityAction
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=chunk-FO5EMZZO.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/meta.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { type PluginMeta } from '@dxos/app-framework';\n\nexport const OBSERVABILITY_PLUGIN = 'dxos.org/plugin/observability';\n\nexport default {\n id: OBSERVABILITY_PLUGIN,\n name: 'Telemetry',\n} satisfies PluginMeta;\n\nconst OBSERVABILITY_ACTION = 'dxos.org/plugin/observability';\nexport enum ObservabilityAction {\n TOGGLE = `${OBSERVABILITY_ACTION}/toggle`,\n SEND_EVENT = `${OBSERVABILITY_ACTION}/send-event`,\n CAPTURE_USER_FEEDBACK = `${OBSERVABILITY_ACTION}/capture-feedback`,\n}\n\nexport type UserFeedback = {\n name: string;\n email: string;\n message: string;\n};\n"],
|
|
5
|
-
"mappings": ";AAMO,IAAMA,uBAAuB;AAEpC,IAAA,eAAe;EACbC,IAAID;EACJE,MAAM;AACR;AAEA,IAAMC,uBAAuB;;UACjBC,sBAAAA;wDACD,GAAGD,oBAAAA,SAA6B,IAAA;4DAC5B,GAAGA,oBAAAA,aAAiC,IAAA;uEACzB,GAAGA,oBAAAA,mBAAuC,IAAA;GAHxDC,wBAAAA,sBAAAA,CAAAA,EAAAA;",
|
|
6
|
-
"names": ["OBSERVABILITY_PLUGIN", "id", "name", "OBSERVABILITY_ACTION", "ObservabilityAction"]
|
|
7
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var chunk_RAB7T73W_exports = {};
|
|
20
|
-
__export(chunk_RAB7T73W_exports, {
|
|
21
|
-
OBSERVABILITY_PLUGIN: () => OBSERVABILITY_PLUGIN,
|
|
22
|
-
ObservabilityAction: () => ObservabilityAction,
|
|
23
|
-
meta_default: () => meta_default
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(chunk_RAB7T73W_exports);
|
|
26
|
-
var OBSERVABILITY_PLUGIN = "dxos.org/plugin/observability";
|
|
27
|
-
var meta_default = {
|
|
28
|
-
id: OBSERVABILITY_PLUGIN,
|
|
29
|
-
name: "Telemetry"
|
|
30
|
-
};
|
|
31
|
-
var OBSERVABILITY_ACTION = "dxos.org/plugin/observability";
|
|
32
|
-
var ObservabilityAction;
|
|
33
|
-
(function(ObservabilityAction2) {
|
|
34
|
-
ObservabilityAction2[ObservabilityAction2["TOGGLE"] = `${OBSERVABILITY_ACTION}/toggle`] = "TOGGLE";
|
|
35
|
-
ObservabilityAction2[ObservabilityAction2["SEND_EVENT"] = `${OBSERVABILITY_ACTION}/send-event`] = "SEND_EVENT";
|
|
36
|
-
ObservabilityAction2[ObservabilityAction2["CAPTURE_USER_FEEDBACK"] = `${OBSERVABILITY_ACTION}/capture-feedback`] = "CAPTURE_USER_FEEDBACK";
|
|
37
|
-
})(ObservabilityAction || (ObservabilityAction = {}));
|
|
38
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
39
|
-
0 && (module.exports = {
|
|
40
|
-
OBSERVABILITY_PLUGIN,
|
|
41
|
-
ObservabilityAction,
|
|
42
|
-
meta_default
|
|
43
|
-
});
|
|
44
|
-
//# sourceMappingURL=chunk-RAB7T73W.cjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/meta.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { type PluginMeta } from '@dxos/app-framework';\n\nexport const OBSERVABILITY_PLUGIN = 'dxos.org/plugin/observability';\n\nexport default {\n id: OBSERVABILITY_PLUGIN,\n name: 'Telemetry',\n} satisfies PluginMeta;\n\nconst OBSERVABILITY_ACTION = 'dxos.org/plugin/observability';\nexport enum ObservabilityAction {\n TOGGLE = `${OBSERVABILITY_ACTION}/toggle`,\n SEND_EVENT = `${OBSERVABILITY_ACTION}/send-event`,\n CAPTURE_USER_FEEDBACK = `${OBSERVABILITY_ACTION}/capture-feedback`,\n}\n\nexport type UserFeedback = {\n name: string;\n email: string;\n message: string;\n};\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;AAMO,IAAMA,uBAAuB;AAEpC,IAAA,eAAe;EACbC,IAAID;EACJE,MAAM;AACR;AAEA,IAAMC,uBAAuB;;UACjBC,sBAAAA;wDACD,GAAGD,oBAAAA,SAA6B,IAAA;4DAC5B,GAAGA,oBAAAA,aAAiC,IAAA;uEACzB,GAAGA,oBAAAA,mBAAuC,IAAA;GAHxDC,wBAAAA,sBAAAA,CAAAA,EAAAA;",
|
|
6
|
-
"names": ["OBSERVABILITY_PLUGIN", "id", "name", "OBSERVABILITY_ACTION", "ObservabilityAction"]
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["meta.cjs"],
|
|
4
|
-
"sourcesContent": ["import {\n OBSERVABILITY_PLUGIN,\n ObservabilityAction,\n meta_default\n} from \"./chunk-RAB7T73W.cjs\";\nexport {\n OBSERVABILITY_PLUGIN,\n ObservabilityAction,\n meta_default as default\n};\n//# sourceMappingURL=meta.cjs.map\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAIO;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
|
-
|
|
3
|
-
// packages/plugins/plugin-observability/src/meta.ts
|
|
4
|
-
var OBSERVABILITY_PLUGIN = "dxos.org/plugin/observability";
|
|
5
|
-
var meta_default = {
|
|
6
|
-
id: OBSERVABILITY_PLUGIN,
|
|
7
|
-
name: "Telemetry"
|
|
8
|
-
};
|
|
9
|
-
var OBSERVABILITY_ACTION = "dxos.org/plugin/observability";
|
|
10
|
-
var ObservabilityAction;
|
|
11
|
-
(function(ObservabilityAction2) {
|
|
12
|
-
ObservabilityAction2[ObservabilityAction2["TOGGLE"] = `${OBSERVABILITY_ACTION}/toggle`] = "TOGGLE";
|
|
13
|
-
ObservabilityAction2[ObservabilityAction2["SEND_EVENT"] = `${OBSERVABILITY_ACTION}/send-event`] = "SEND_EVENT";
|
|
14
|
-
ObservabilityAction2[ObservabilityAction2["CAPTURE_USER_FEEDBACK"] = `${OBSERVABILITY_ACTION}/capture-feedback`] = "CAPTURE_USER_FEEDBACK";
|
|
15
|
-
})(ObservabilityAction || (ObservabilityAction = {}));
|
|
16
|
-
|
|
17
|
-
export {
|
|
18
|
-
OBSERVABILITY_PLUGIN,
|
|
19
|
-
meta_default,
|
|
20
|
-
ObservabilityAction
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=chunk-UVEE3XZO.mjs.map
|