@salesforce/lds-instrumentation 1.134.2 → 1.134.3
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.
|
@@ -1428,4 +1428,4 @@ function setStoreEventObservers(store) {
|
|
|
1428
1428
|
const instrumentation = new Instrumentation();
|
|
1429
1429
|
|
|
1430
1430
|
export { Instrumentation, LRUCache, metricKeys as METRIC_KEYS, handleIngestedNewData, handleOnDataOutOfTtlDurationUpdate, incrementCounterMetric, incrementGetRecordNormalInvokeCount, incrementGetRecordNotifyChangeAllowCount, incrementGetRecordNotifyChangeDropCount, incrementNotifyRecordUpdateAvailableAllowCount, incrementNotifyRecordUpdateAvailableDropCount, instrumentAdapter, instrumentLuvio, instrumentMethods, instrumentStoreMethods, instrumentation, setInstrumentationHooks, setLdsAdaptersUiapiInstrumentation, setLdsNetworkAdapterInstrumentation, setStoreEventObservers, setupInstrumentation, updatePercentileHistogramMetric };
|
|
1431
|
-
// version: 1.134.
|
|
1431
|
+
// version: 1.134.3-d4637e557
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
declare function stop(_userSchemaOrText?: any | string, _userData?: any): void;
|
|
2
|
+
declare function error(_error: Error, _userSchemaOrText?: any | string, _userData?: any): void;
|
|
3
|
+
declare function discard(): void;
|
|
4
|
+
declare function terminate(): void;
|
|
5
|
+
export declare const activity: {
|
|
6
|
+
stop: typeof stop;
|
|
7
|
+
error: typeof error;
|
|
8
|
+
discard: typeof discard;
|
|
9
|
+
terminate: typeof terminate;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
import type { Instrumentation } from 'o11y/client';
|
|
2
1
|
export { activity } from './activity';
|
|
3
2
|
export { instrumentation } from './instrumentation';
|
|
4
3
|
export { idleDetector } from './idleDetector';
|
|
5
|
-
export declare function getInstrumentation(_name: string):
|
|
4
|
+
export declare function getInstrumentation(_name: string): {
|
|
5
|
+
log: (_schema: any, _data?: any) => void;
|
|
6
|
+
error: (_error: unknown, _userSchemaOrText?: any, _userData?: any) => void;
|
|
7
|
+
startActivity: (_name: string) => any;
|
|
8
|
+
incrementCounter: (_operation: string, _increment?: number | undefined, _hasError?: boolean | undefined, _tags?: any) => void;
|
|
9
|
+
trackValue: (_operation: string, _value: number, _hasError?: boolean | undefined, _tags?: any) => void;
|
|
10
|
+
};
|
|
@@ -1,2 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
declare function requestIdleDetectedCallback(_callback: any): void;
|
|
2
|
+
declare function declareNotifierTaskSingle(_name: string): {
|
|
3
|
+
isBusy: boolean;
|
|
4
|
+
done: () => void;
|
|
5
|
+
};
|
|
6
|
+
declare function declareNotifierTaskMulti(_name: string, _existingBusyCount?: number): {
|
|
7
|
+
isBusy: boolean;
|
|
8
|
+
add: () => void;
|
|
9
|
+
done: () => void;
|
|
10
|
+
};
|
|
11
|
+
declare function declarePollableTaskMulti(_name: string, _isBusyChecker: any): void;
|
|
12
|
+
export declare const idleDetector: {
|
|
13
|
+
requestIdleDetectedCallback: typeof requestIdleDetectedCallback;
|
|
14
|
+
declareNotifierTaskSingle: typeof declareNotifierTaskSingle;
|
|
15
|
+
declareNotifierTaskMulti: typeof declareNotifierTaskMulti;
|
|
16
|
+
declarePollableTaskMulti: typeof declarePollableTaskMulti;
|
|
17
|
+
};
|
|
18
|
+
export {};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
declare function
|
|
3
|
-
declare function
|
|
4
|
-
declare function
|
|
5
|
-
declare function
|
|
6
|
-
declare function trackValue(_operation: string, _value: number, _hasError?: boolean, _tags?: MetricsTags): void;
|
|
1
|
+
declare function log(_schema: any, _data?: any): void;
|
|
2
|
+
declare function error(_error: unknown, _userSchemaOrText?: any | string, _userData?: any): void;
|
|
3
|
+
declare function startActivity(_name: string): any;
|
|
4
|
+
declare function incrementCounter(_operation: string, _increment?: number, _hasError?: boolean, _tags?: any): void;
|
|
5
|
+
declare function trackValue(_operation: string, _value: number, _hasError?: boolean, _tags?: any): void;
|
|
7
6
|
export declare const instrumentation: {
|
|
8
7
|
log: typeof log;
|
|
9
8
|
error: typeof error;
|
package/package.json
CHANGED