@lark-apaas/observable 1.0.3-alpha.4 → 1.0.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.
- package/dist/index.cjs +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -8962,7 +8962,12 @@ var CustomTraceExporter = class {
|
|
|
8962
8962
|
app_env: isDev ? AppEnv.Dev : AppEnv.Prod
|
|
8963
8963
|
};
|
|
8964
8964
|
const finalSpans = spans.filter((span) => !(span.attributes ?? {})[TraceDropToken]);
|
|
8965
|
-
if (!finalSpans.length)
|
|
8965
|
+
if (!finalSpans.length) {
|
|
8966
|
+
resultCallback({
|
|
8967
|
+
code: core.ExportResultCode.SUCCESS
|
|
8968
|
+
});
|
|
8969
|
+
return;
|
|
8970
|
+
}
|
|
8966
8971
|
const otlpLikeStructure = {
|
|
8967
8972
|
resource: {
|
|
8968
8973
|
attributes: {
|