@squidcloud/client 1.0.390 → 1.0.391
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.
|
@@ -69,6 +69,10 @@ export declare const O11Y_TAG_IS_TENANT_ORIGINATED = "isTenantOriginated";
|
|
|
69
69
|
export declare const O11Y_TAG_FUNCTION_NAME = "functionName";
|
|
70
70
|
/** Contains a type of the function name for backend functions (See ExecuteFunctionAnnotationType.). */
|
|
71
71
|
export declare const O11Y_TAG_FUNCTION_TYPE = "functionType";
|
|
72
|
+
/** Tag for the trace ID. Used in logs. */
|
|
73
|
+
export declare const O11Y_TAG_TRACE_ID = "trace_id";
|
|
74
|
+
/** Tag for the span ID. Used in logs. */
|
|
75
|
+
export declare const O11Y_TAG_SPAN_ID = "span_id";
|
|
72
76
|
export declare function getBooleanMetricTagValue(value: boolean): string;
|
|
73
77
|
export declare const COUNT_METRIC_SUFFIXES: string[];
|
|
74
78
|
export declare const GAUGE_METRIC_SUFFIXES: string[];
|
|
@@ -55,3 +55,4 @@ export declare function countObjectKeys(obj: object | undefined): number;
|
|
|
55
55
|
export declare function getSortedEntries<T>(record: Record<string, T>): Array<[string, T]>;
|
|
56
56
|
/** Removes top level fields which are empty objects. May be used for value formatting. */
|
|
57
57
|
export declare function removeEmptyTopLevelRecords<T extends object>(record: T): Partial<T>;
|
|
58
|
+
export declare function removeUndefinedValues<V>(tags: Record<string, V | undefined>): Record<string, V>;
|