autotel 6.1.0 → 6.2.0
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/analysis.cjs +1 -2
- package/dist/analysis.d.cts +1 -2
- package/dist/analysis.d.ts +1 -2
- package/dist/analysis.js +1 -2
- package/dist/attribute-redacting-processor-Pk7lAzWd.d.cts +1 -2
- package/dist/attribute-redacting-processor-Pk7lAzWd.d.ts +1 -2
- package/dist/attribute-redacting-processor.cjs +1 -2
- package/dist/attribute-redacting-processor.js +1 -2
- package/dist/attributes-B7wix2VG.js +1 -2
- package/dist/attributes-aDmJYral.cjs +1 -2
- package/dist/auto.cjs +2 -3
- package/dist/auto.js +2 -3
- package/dist/business-baggage.cjs +1 -2
- package/dist/business-baggage.d.cts +1 -2
- package/dist/business-baggage.d.ts +1 -2
- package/dist/business-baggage.js +1 -2
- package/dist/canonical-log-line-processor-B4WgG-VS.d.cts +1 -2
- package/dist/canonical-log-line-processor-CL_J7gb5.d.ts +1 -2
- package/dist/canonical-log-line-processor-DOjb6Kxy.cjs +1 -2
- package/dist/canonical-log-line-processor-mKABvGP0.js +1 -2
- package/dist/config.cjs +1 -2
- package/dist/config.d.cts +1 -2
- package/dist/config.d.ts +1 -2
- package/dist/config.js +1 -2
- package/dist/correlated-events-Bzh5y-UB.js +1 -2
- package/dist/correlated-events-kSwLo3mi.cjs +1 -2
- package/dist/correlation-id.cjs +1 -1
- package/dist/correlation-id.d.cts +1 -2
- package/dist/correlation-id.d.ts +1 -2
- package/dist/correlation-id.js +1 -1
- package/dist/db.cjs +1 -2
- package/dist/db.d.cts +1 -2
- package/dist/db.d.ts +1 -2
- package/dist/db.js +1 -2
- package/dist/decorators.cjs +2 -3
- package/dist/decorators.d.cts +1 -2
- package/dist/decorators.d.ts +1 -2
- package/dist/decorators.js +2 -3
- package/dist/define-event-B2z1SBe7.d.ts +1 -2
- package/dist/define-event-CGG048HE.d.cts +1 -2
- package/dist/diagnostics.cjs +1 -2
- package/dist/diagnostics.d.cts +1 -2
- package/dist/diagnostics.d.ts +1 -2
- package/dist/diagnostics.js +1 -2
- package/dist/drain-pipeline.cjs +1 -2
- package/dist/drain-pipeline.d.cts +1 -2
- package/dist/drain-pipeline.d.ts +1 -2
- package/dist/drain-pipeline.js +1 -2
- package/dist/enrichers.cjs +1 -2
- package/dist/enrichers.d.cts +1 -2
- package/dist/enrichers.d.ts +1 -2
- package/dist/enrichers.js +1 -2
- package/dist/event-subscriber-CWh8sTGh.d.cts +1 -2
- package/dist/event-subscriber-CWh8sTGh.d.ts +1 -2
- package/dist/event-testing-CA2mIx1E.d.ts +1 -2
- package/dist/event-testing-D0qWfqAy.d.cts +1 -2
- package/dist/event-testing.cjs +1 -2
- package/dist/event-testing.js +1 -2
- package/dist/event.cjs +1 -1
- package/dist/event.d.cts +1 -2
- package/dist/event.d.ts +1 -2
- package/dist/event.js +1 -1
- package/dist/exporters.d.cts +1 -2
- package/dist/exporters.d.ts +1 -2
- package/dist/filtering-span-processor-BpDagWNa.d.cts +1 -2
- package/dist/filtering-span-processor-BpDagWNa.d.ts +1 -2
- package/dist/filtering-span-processor.cjs +1 -2
- package/dist/filtering-span-processor.js +1 -2
- package/dist/{functional-DcLBuCPz.cjs → functional-D545J0Ba.cjs} +2 -3
- package/dist/{functional-BnDUxnSl.js → functional-DYAZiYxr.js} +2 -3
- package/dist/functional.cjs +1 -1
- package/dist/functional.d.cts +1 -2
- package/dist/functional.d.ts +1 -2
- package/dist/functional.js +1 -1
- package/dist/http.cjs +2 -3
- package/dist/http.d.cts +1 -2
- package/dist/http.d.ts +1 -2
- package/dist/http.js +2 -3
- package/dist/index-BPcxVucm.d.cts +1 -2
- package/dist/index-DolOVX6F.d.ts +1 -2
- package/dist/index.cjs +3 -4
- package/dist/index.d.cts +2 -3
- package/dist/index.d.ts +2 -3
- package/dist/index.js +3 -4
- package/dist/{init-D6n2diBy.d.ts → init-BHp-kqLJ.d.ts} +12 -4
- package/dist/{init-XzXzrarP.d.cts → init-BoIYyB6Q.d.cts} +12 -4
- package/dist/{init-C3RApHKJ.cjs → init-CzNFWUd8.cjs} +38 -5
- package/dist/{init-R-gSEXkJ.js → init-DDkh2brw.js} +38 -5
- package/dist/instrumentation.cjs +2 -3
- package/dist/instrumentation.d.cts +1 -2
- package/dist/instrumentation.d.ts +1 -2
- package/dist/instrumentation.js +2 -3
- package/dist/logger-CN4xpzMd.d.cts +1 -2
- package/dist/logger-CN4xpzMd.d.ts +1 -2
- package/dist/logger-D3Ej3DII.js +1 -2
- package/dist/logger-thMPLpOG.cjs +1 -2
- package/dist/messaging-adapters.cjs +1 -2
- package/dist/messaging-adapters.d.cts +1 -2
- package/dist/messaging-adapters.d.ts +1 -2
- package/dist/messaging-adapters.js +1 -2
- package/dist/messaging-testing.cjs +1 -2
- package/dist/messaging-testing.d.cts +1 -2
- package/dist/messaging-testing.d.ts +1 -2
- package/dist/messaging-testing.js +1 -2
- package/dist/messaging.cjs +2 -3
- package/dist/messaging.d.cts +1 -2
- package/dist/messaging.d.ts +1 -2
- package/dist/messaging.js +2 -3
- package/dist/metric-helpers.cjs +1 -2
- package/dist/metric-helpers.d.cts +1 -2
- package/dist/metric-helpers.d.ts +1 -2
- package/dist/metric-helpers.js +1 -2
- package/dist/metric-testing-CWm6UhaR.d.ts +1 -2
- package/dist/metric-testing-CpvP3ZIa.d.cts +1 -2
- package/dist/metric-testing.cjs +1 -2
- package/dist/metric-testing.js +1 -2
- package/dist/metric.cjs +1 -2
- package/dist/metric.d.cts +1 -2
- package/dist/metric.d.ts +1 -2
- package/dist/metric.js +1 -2
- package/dist/node-require-PFqDihze.cjs +1 -2
- package/dist/node-require-vROmTeJ8.js +1 -2
- package/dist/parse-error.cjs +1 -2
- package/dist/parse-error.d.cts +1 -2
- package/dist/parse-error.d.ts +1 -2
- package/dist/parse-error.js +1 -2
- package/dist/pretty-console-exporter-CMzlrRNg.cjs +1 -2
- package/dist/pretty-console-exporter-DqKl_q9z.js +1 -2
- package/dist/register.cjs +1 -2
- package/dist/register.js +1 -2
- package/dist/registry-DVSmWg6Y.js +1 -2
- package/dist/registry-DYgvb62e.cjs +1 -2
- package/dist/sampling-BR9fkSwx.d.cts +1 -2
- package/dist/sampling-CP3e7-Yr.d.ts +1 -2
- package/dist/sampling.cjs +1 -2
- package/dist/sampling.js +1 -2
- package/dist/security-schema.cjs +1 -2
- package/dist/security-schema.d.cts +1 -2
- package/dist/security-schema.d.ts +1 -2
- package/dist/security-schema.js +1 -2
- package/dist/semantic-conventions-FhSxv-bK.d.cts +1 -2
- package/dist/semantic-conventions-FhSxv-bK.d.ts +1 -2
- package/dist/semantic-conventions.cjs +1 -2
- package/dist/semantic-conventions.js +1 -2
- package/dist/semantic-helpers.cjs +2 -3
- package/dist/semantic-helpers.d.cts +1 -2
- package/dist/semantic-helpers.d.ts +1 -2
- package/dist/semantic-helpers.js +2 -3
- package/dist/slo.cjs +1 -2
- package/dist/slo.d.cts +1 -2
- package/dist/slo.d.ts +1 -2
- package/dist/slo.js +1 -2
- package/dist/span-name-normalizer-CN1-8C76.d.cts +1 -2
- package/dist/span-name-normalizer-CN1-8C76.d.ts +1 -2
- package/dist/span-name-normalizer.cjs +1 -2
- package/dist/span-name-normalizer.js +1 -2
- package/dist/stable-hash-CS9BxvVQ.cjs +1 -2
- package/dist/stable-hash-ChFBIhNt.js +1 -2
- package/dist/structured-error-9--cxBay.js +1 -2
- package/dist/structured-error-CHg7DoIQ.cjs +1 -2
- package/dist/tail-sampling-processor.cjs +1 -2
- package/dist/tail-sampling-processor.d.cts +1 -2
- package/dist/tail-sampling-processor.d.ts +1 -2
- package/dist/tail-sampling-processor.js +1 -2
- package/dist/test-span-collector.cjs +1 -2
- package/dist/test-span-collector.d.cts +1 -2
- package/dist/test-span-collector.d.ts +1 -2
- package/dist/test-span-collector.js +1 -2
- package/dist/testing.cjs +1 -2
- package/dist/testing.d.cts +1 -2
- package/dist/testing.d.ts +1 -2
- package/dist/testing.js +1 -2
- package/dist/trace-context-IuyoPyNq.d.cts +1 -2
- package/dist/trace-context-IuyoPyNq.d.ts +1 -2
- package/dist/trace-factory-validation-BjVAinz6.js +1 -2
- package/dist/trace-factory-validation-Dc8epn87.cjs +1 -2
- package/dist/trace-helpers.cjs +1 -2
- package/dist/trace-helpers.d.cts +1 -2
- package/dist/trace-helpers.d.ts +1 -2
- package/dist/trace-helpers.js +1 -2
- package/dist/tracer-provider.cjs +1 -2
- package/dist/tracer-provider.d.cts +1 -2
- package/dist/tracer-provider.d.ts +1 -2
- package/dist/tracer-provider.js +1 -2
- package/dist/validate.cjs +1 -2
- package/dist/validate.d.cts +1 -2
- package/dist/validate.d.ts +1 -2
- package/dist/validate.js +1 -2
- package/dist/validation-attributes.cjs +1 -2
- package/dist/validation-attributes.d.cts +1 -2
- package/dist/validation-attributes.d.ts +1 -2
- package/dist/validation-attributes.js +1 -2
- package/dist/webhook.cjs +2 -3
- package/dist/webhook.d.cts +1 -2
- package/dist/webhook.d.ts +1 -2
- package/dist/webhook.js +2 -3
- package/dist/workflow-distributed.cjs +2 -3
- package/dist/workflow-distributed.d.cts +1 -2
- package/dist/workflow-distributed.d.ts +1 -2
- package/dist/workflow-distributed.js +2 -3
- package/dist/workflow.cjs +2 -3
- package/dist/workflow.d.cts +1 -2
- package/dist/workflow.d.ts +1 -2
- package/dist/workflow.js +2 -3
- package/dist/yaml-config.cjs +1 -2
- package/dist/yaml-config.d.cts +4 -5
- package/dist/yaml-config.d.ts +4 -5
- package/dist/yaml-config.js +1 -2
- package/package.json +47 -32
- package/dist/analysis.cjs.map +0 -1
- package/dist/analysis.d.cts.map +0 -1
- package/dist/analysis.d.ts.map +0 -1
- package/dist/analysis.js.map +0 -1
- package/dist/attribute-redacting-processor-Pk7lAzWd.d.cts.map +0 -1
- package/dist/attribute-redacting-processor-Pk7lAzWd.d.ts.map +0 -1
- package/dist/attribute-redacting-processor.cjs.map +0 -1
- package/dist/attribute-redacting-processor.js.map +0 -1
- package/dist/attributes-B7wix2VG.js.map +0 -1
- package/dist/attributes-aDmJYral.cjs.map +0 -1
- package/dist/auto.cjs.map +0 -1
- package/dist/auto.js.map +0 -1
- package/dist/business-baggage.cjs.map +0 -1
- package/dist/business-baggage.d.cts.map +0 -1
- package/dist/business-baggage.d.ts.map +0 -1
- package/dist/business-baggage.js.map +0 -1
- package/dist/canonical-log-line-processor-B4WgG-VS.d.cts.map +0 -1
- package/dist/canonical-log-line-processor-CL_J7gb5.d.ts.map +0 -1
- package/dist/canonical-log-line-processor-DOjb6Kxy.cjs.map +0 -1
- package/dist/canonical-log-line-processor-mKABvGP0.js.map +0 -1
- package/dist/config.cjs.map +0 -1
- package/dist/config.d.cts.map +0 -1
- package/dist/config.d.ts.map +0 -1
- package/dist/config.js.map +0 -1
- package/dist/correlated-events-Bzh5y-UB.js.map +0 -1
- package/dist/correlated-events-kSwLo3mi.cjs.map +0 -1
- package/dist/correlation-id.d.cts.map +0 -1
- package/dist/correlation-id.d.ts.map +0 -1
- package/dist/db.cjs.map +0 -1
- package/dist/db.d.cts.map +0 -1
- package/dist/db.d.ts.map +0 -1
- package/dist/db.js.map +0 -1
- package/dist/decorators.cjs.map +0 -1
- package/dist/decorators.d.cts.map +0 -1
- package/dist/decorators.d.ts.map +0 -1
- package/dist/decorators.js.map +0 -1
- package/dist/define-event-B2z1SBe7.d.ts.map +0 -1
- package/dist/define-event-CGG048HE.d.cts.map +0 -1
- package/dist/diagnostics.cjs.map +0 -1
- package/dist/diagnostics.d.cts.map +0 -1
- package/dist/diagnostics.d.ts.map +0 -1
- package/dist/diagnostics.js.map +0 -1
- package/dist/drain-pipeline.cjs.map +0 -1
- package/dist/drain-pipeline.d.cts.map +0 -1
- package/dist/drain-pipeline.d.ts.map +0 -1
- package/dist/drain-pipeline.js.map +0 -1
- package/dist/enrichers.cjs.map +0 -1
- package/dist/enrichers.d.cts.map +0 -1
- package/dist/enrichers.d.ts.map +0 -1
- package/dist/enrichers.js.map +0 -1
- package/dist/event-subscriber-CWh8sTGh.d.cts.map +0 -1
- package/dist/event-subscriber-CWh8sTGh.d.ts.map +0 -1
- package/dist/event-testing-CA2mIx1E.d.ts.map +0 -1
- package/dist/event-testing-D0qWfqAy.d.cts.map +0 -1
- package/dist/event-testing.cjs.map +0 -1
- package/dist/event-testing.js.map +0 -1
- package/dist/event.d.cts.map +0 -1
- package/dist/event.d.ts.map +0 -1
- package/dist/exporters.d.cts.map +0 -1
- package/dist/exporters.d.ts.map +0 -1
- package/dist/filtering-span-processor-BpDagWNa.d.cts.map +0 -1
- package/dist/filtering-span-processor-BpDagWNa.d.ts.map +0 -1
- package/dist/filtering-span-processor.cjs.map +0 -1
- package/dist/filtering-span-processor.js.map +0 -1
- package/dist/functional-BnDUxnSl.js.map +0 -1
- package/dist/functional-DcLBuCPz.cjs.map +0 -1
- package/dist/functional.d.cts.map +0 -1
- package/dist/functional.d.ts.map +0 -1
- package/dist/http.cjs.map +0 -1
- package/dist/http.d.cts.map +0 -1
- package/dist/http.d.ts.map +0 -1
- package/dist/http.js.map +0 -1
- package/dist/index-BPcxVucm.d.cts.map +0 -1
- package/dist/index-DolOVX6F.d.ts.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/init-C3RApHKJ.cjs.map +0 -1
- package/dist/init-D6n2diBy.d.ts.map +0 -1
- package/dist/init-R-gSEXkJ.js.map +0 -1
- package/dist/init-XzXzrarP.d.cts.map +0 -1
- package/dist/instrumentation.cjs.map +0 -1
- package/dist/instrumentation.d.cts.map +0 -1
- package/dist/instrumentation.d.ts.map +0 -1
- package/dist/instrumentation.js.map +0 -1
- package/dist/logger-CN4xpzMd.d.cts.map +0 -1
- package/dist/logger-CN4xpzMd.d.ts.map +0 -1
- package/dist/logger-D3Ej3DII.js.map +0 -1
- package/dist/logger-thMPLpOG.cjs.map +0 -1
- package/dist/messaging-adapters.cjs.map +0 -1
- package/dist/messaging-adapters.d.cts.map +0 -1
- package/dist/messaging-adapters.d.ts.map +0 -1
- package/dist/messaging-adapters.js.map +0 -1
- package/dist/messaging-testing.cjs.map +0 -1
- package/dist/messaging-testing.d.cts.map +0 -1
- package/dist/messaging-testing.d.ts.map +0 -1
- package/dist/messaging-testing.js.map +0 -1
- package/dist/messaging.cjs.map +0 -1
- package/dist/messaging.d.cts.map +0 -1
- package/dist/messaging.d.ts.map +0 -1
- package/dist/messaging.js.map +0 -1
- package/dist/metric-helpers.cjs.map +0 -1
- package/dist/metric-helpers.d.cts.map +0 -1
- package/dist/metric-helpers.d.ts.map +0 -1
- package/dist/metric-helpers.js.map +0 -1
- package/dist/metric-testing-CWm6UhaR.d.ts.map +0 -1
- package/dist/metric-testing-CpvP3ZIa.d.cts.map +0 -1
- package/dist/metric-testing.cjs.map +0 -1
- package/dist/metric-testing.js.map +0 -1
- package/dist/metric.cjs.map +0 -1
- package/dist/metric.d.cts.map +0 -1
- package/dist/metric.d.ts.map +0 -1
- package/dist/metric.js.map +0 -1
- package/dist/node-require-PFqDihze.cjs.map +0 -1
- package/dist/node-require-vROmTeJ8.js.map +0 -1
- package/dist/parse-error.cjs.map +0 -1
- package/dist/parse-error.d.cts.map +0 -1
- package/dist/parse-error.d.ts.map +0 -1
- package/dist/parse-error.js.map +0 -1
- package/dist/pretty-console-exporter-CMzlrRNg.cjs.map +0 -1
- package/dist/pretty-console-exporter-DqKl_q9z.js.map +0 -1
- package/dist/register.cjs.map +0 -1
- package/dist/register.js.map +0 -1
- package/dist/registry-DVSmWg6Y.js.map +0 -1
- package/dist/registry-DYgvb62e.cjs.map +0 -1
- package/dist/sampling-BR9fkSwx.d.cts.map +0 -1
- package/dist/sampling-CP3e7-Yr.d.ts.map +0 -1
- package/dist/sampling.cjs.map +0 -1
- package/dist/sampling.js.map +0 -1
- package/dist/security-schema.cjs.map +0 -1
- package/dist/security-schema.d.cts.map +0 -1
- package/dist/security-schema.d.ts.map +0 -1
- package/dist/security-schema.js.map +0 -1
- package/dist/semantic-conventions-FhSxv-bK.d.cts.map +0 -1
- package/dist/semantic-conventions-FhSxv-bK.d.ts.map +0 -1
- package/dist/semantic-conventions.cjs.map +0 -1
- package/dist/semantic-conventions.js.map +0 -1
- package/dist/semantic-helpers.cjs.map +0 -1
- package/dist/semantic-helpers.d.cts.map +0 -1
- package/dist/semantic-helpers.d.ts.map +0 -1
- package/dist/semantic-helpers.js.map +0 -1
- package/dist/slo.cjs.map +0 -1
- package/dist/slo.d.cts.map +0 -1
- package/dist/slo.d.ts.map +0 -1
- package/dist/slo.js.map +0 -1
- package/dist/span-name-normalizer-CN1-8C76.d.cts.map +0 -1
- package/dist/span-name-normalizer-CN1-8C76.d.ts.map +0 -1
- package/dist/span-name-normalizer.cjs.map +0 -1
- package/dist/span-name-normalizer.js.map +0 -1
- package/dist/stable-hash-CS9BxvVQ.cjs.map +0 -1
- package/dist/stable-hash-ChFBIhNt.js.map +0 -1
- package/dist/structured-error-9--cxBay.js.map +0 -1
- package/dist/structured-error-CHg7DoIQ.cjs.map +0 -1
- package/dist/tail-sampling-processor.cjs.map +0 -1
- package/dist/tail-sampling-processor.d.cts.map +0 -1
- package/dist/tail-sampling-processor.d.ts.map +0 -1
- package/dist/tail-sampling-processor.js.map +0 -1
- package/dist/test-span-collector.cjs.map +0 -1
- package/dist/test-span-collector.d.cts.map +0 -1
- package/dist/test-span-collector.d.ts.map +0 -1
- package/dist/test-span-collector.js.map +0 -1
- package/dist/testing.cjs.map +0 -1
- package/dist/testing.d.cts.map +0 -1
- package/dist/testing.d.ts.map +0 -1
- package/dist/testing.js.map +0 -1
- package/dist/trace-context-IuyoPyNq.d.cts.map +0 -1
- package/dist/trace-context-IuyoPyNq.d.ts.map +0 -1
- package/dist/trace-factory-validation-BjVAinz6.js.map +0 -1
- package/dist/trace-factory-validation-Dc8epn87.cjs.map +0 -1
- package/dist/trace-helpers.cjs.map +0 -1
- package/dist/trace-helpers.d.cts.map +0 -1
- package/dist/trace-helpers.d.ts.map +0 -1
- package/dist/trace-helpers.js.map +0 -1
- package/dist/tracer-provider.cjs.map +0 -1
- package/dist/tracer-provider.d.cts.map +0 -1
- package/dist/tracer-provider.d.ts.map +0 -1
- package/dist/tracer-provider.js.map +0 -1
- package/dist/validate.cjs.map +0 -1
- package/dist/validate.d.cts.map +0 -1
- package/dist/validate.d.ts.map +0 -1
- package/dist/validate.js.map +0 -1
- package/dist/validation-attributes.cjs.map +0 -1
- package/dist/validation-attributes.d.cts.map +0 -1
- package/dist/validation-attributes.d.ts.map +0 -1
- package/dist/validation-attributes.js.map +0 -1
- package/dist/webhook.cjs.map +0 -1
- package/dist/webhook.d.cts.map +0 -1
- package/dist/webhook.d.ts.map +0 -1
- package/dist/webhook.js.map +0 -1
- package/dist/workflow-distributed.cjs.map +0 -1
- package/dist/workflow-distributed.d.cts.map +0 -1
- package/dist/workflow-distributed.d.ts.map +0 -1
- package/dist/workflow-distributed.js.map +0 -1
- package/dist/workflow.cjs.map +0 -1
- package/dist/workflow.d.cts.map +0 -1
- package/dist/workflow.d.ts.map +0 -1
- package/dist/workflow.js.map +0 -1
- package/dist/yaml-config.cjs.map +0 -1
- package/dist/yaml-config.d.cts.map +0 -1
- package/dist/yaml-config.d.ts.map +0 -1
- package/dist/yaml-config.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getForceFlushableProvider } from "./tracer-provider.js";
|
|
2
2
|
import { getConfig } from "./config.js";
|
|
3
3
|
import { AUTOTEL_SAMPLING_RATE, AUTOTEL_SAMPLING_TAIL_EVALUATED, AUTOTEL_SAMPLING_TAIL_KEEP, AlwaysSampler } from "./sampling.js";
|
|
4
|
-
import { D as getActiveContextWithBaggage, O as getContextStorage, T as createTraceContext, h as getEventQueue, m as runInOperationContext, r as getSdk, t as getConfig$1 } from "./init-
|
|
4
|
+
import { D as getActiveContextWithBaggage, O as getContextStorage, T as createTraceContext, h as getEventQueue, m as runInOperationContext, r as getSdk, t as getConfig$1 } from "./init-DDkh2brw.js";
|
|
5
5
|
import { setSpanName } from "./trace-helpers.js";
|
|
6
6
|
import { SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";
|
|
7
7
|
import * as nodeFs from "node:fs";
|
|
@@ -834,5 +834,4 @@ function withBaggage(options) {
|
|
|
834
834
|
}
|
|
835
835
|
|
|
836
836
|
//#endregion
|
|
837
|
-
export { trace$1 as a, withTracing as c, span as i, getActiveTraceContext as n, withBaggage as o, instrument as r, withNewContext as s, ctx as t };
|
|
838
|
-
//# sourceMappingURL=functional-BnDUxnSl.js.map
|
|
837
|
+
export { trace$1 as a, withTracing as c, span as i, getActiveTraceContext as n, withBaggage as o, instrument as r, withNewContext as s, ctx as t };
|
package/dist/functional.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_functional = require('./functional-
|
|
2
|
+
const require_functional = require('./functional-D545J0Ba.cjs');
|
|
3
3
|
|
|
4
4
|
exports.ctx = require_functional.ctx;
|
|
5
5
|
exports.getActiveTraceContext = require_functional.getActiveTraceContext;
|
package/dist/functional.d.cts
CHANGED
|
@@ -430,5 +430,4 @@ interface WithBaggageOptions<T = unknown> {
|
|
|
430
430
|
*/
|
|
431
431
|
declare function withBaggage<T = unknown>(options: WithBaggageOptions<T>): T | Promise<T>;
|
|
432
432
|
//#endregion
|
|
433
|
-
export { InstrumentOptions, SingleInstrumentOptions, SpanOptions, type TraceContext, TracingOptions, WithBaggageOptions, WithNewContextOptions, ctx, getActiveTraceContext, instrument, span, trace, withBaggage, withNewContext, withTracing };
|
|
434
|
-
//# sourceMappingURL=functional.d.cts.map
|
|
433
|
+
export { InstrumentOptions, SingleInstrumentOptions, SpanOptions, type TraceContext, TracingOptions, WithBaggageOptions, WithNewContextOptions, ctx, getActiveTraceContext, instrument, span, trace, withBaggage, withNewContext, withTracing };
|
package/dist/functional.d.ts
CHANGED
|
@@ -430,5 +430,4 @@ interface WithBaggageOptions<T = unknown> {
|
|
|
430
430
|
*/
|
|
431
431
|
declare function withBaggage<T = unknown>(options: WithBaggageOptions<T>): T | Promise<T>;
|
|
432
432
|
//#endregion
|
|
433
|
-
export { InstrumentOptions, SingleInstrumentOptions, SpanOptions, type TraceContext, TracingOptions, WithBaggageOptions, WithNewContextOptions, ctx, getActiveTraceContext, instrument, span, trace, withBaggage, withNewContext, withTracing };
|
|
434
|
-
//# sourceMappingURL=functional.d.ts.map
|
|
433
|
+
export { InstrumentOptions, SingleInstrumentOptions, SpanOptions, type TraceContext, TracingOptions, WithBaggageOptions, WithNewContextOptions, ctx, getActiveTraceContext, instrument, span, trace, withBaggage, withNewContext, withTracing };
|
package/dist/functional.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as trace, c as withTracing, i as span, n as getActiveTraceContext, o as withBaggage, r as instrument, s as withNewContext, t as ctx } from "./functional-
|
|
1
|
+
import { a as trace, c as withTracing, i as span, n as getActiveTraceContext, o as withBaggage, r as instrument, s as withNewContext, t as ctx } from "./functional-DYAZiYxr.js";
|
|
2
2
|
|
|
3
3
|
export { ctx, getActiveTraceContext, instrument, span, trace, withBaggage, withNewContext, withTracing };
|
package/dist/http.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
const require_config = require('./config.cjs');
|
|
3
|
-
const require_init = require('./init-
|
|
3
|
+
const require_init = require('./init-CzNFWUd8.cjs');
|
|
4
4
|
let _opentelemetry_api = require("@opentelemetry/api");
|
|
5
5
|
|
|
6
6
|
//#region src/http.ts
|
|
@@ -295,5 +295,4 @@ function extractTraceContext(headers) {
|
|
|
295
295
|
exports.HttpInstrumented = HttpInstrumented;
|
|
296
296
|
exports.extractTraceContext = extractTraceContext;
|
|
297
297
|
exports.injectTraceContext = injectTraceContext;
|
|
298
|
-
exports.traceHttpRequest = traceHttpRequest;
|
|
299
|
-
//# sourceMappingURL=http.cjs.map
|
|
298
|
+
exports.traceHttpRequest = traceHttpRequest;
|
package/dist/http.d.cts
CHANGED
|
@@ -144,5 +144,4 @@ declare function injectTraceContext(headers?: Record<string, string>): Record<st
|
|
|
144
144
|
*/
|
|
145
145
|
declare function extractTraceContext(headers: Record<string, string | string[] | undefined>): ReturnType<typeof context.active>;
|
|
146
146
|
//#endregion
|
|
147
|
-
export { HttpInstrumented, HttpInstrumentedOptions, extractTraceContext, injectTraceContext, traceHttpRequest };
|
|
148
|
-
//# sourceMappingURL=http.d.cts.map
|
|
147
|
+
export { HttpInstrumented, HttpInstrumentedOptions, extractTraceContext, injectTraceContext, traceHttpRequest };
|
package/dist/http.d.ts
CHANGED
|
@@ -144,5 +144,4 @@ declare function injectTraceContext(headers?: Record<string, string>): Record<st
|
|
|
144
144
|
*/
|
|
145
145
|
declare function extractTraceContext(headers: Record<string, string | string[] | undefined>): ReturnType<typeof context.active>;
|
|
146
146
|
//#endregion
|
|
147
|
-
export { HttpInstrumented, HttpInstrumentedOptions, extractTraceContext, injectTraceContext, traceHttpRequest };
|
|
148
|
-
//# sourceMappingURL=http.d.ts.map
|
|
147
|
+
export { HttpInstrumented, HttpInstrumentedOptions, extractTraceContext, injectTraceContext, traceHttpRequest };
|
package/dist/http.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getConfig } from "./config.js";
|
|
2
|
-
import { D as getActiveContextWithBaggage } from "./init-
|
|
2
|
+
import { D as getActiveContextWithBaggage } from "./init-DDkh2brw.js";
|
|
3
3
|
import { SpanStatusCode, context, propagation } from "@opentelemetry/api";
|
|
4
4
|
|
|
5
5
|
//#region src/http.ts
|
|
@@ -291,5 +291,4 @@ function extractTraceContext(headers) {
|
|
|
291
291
|
}
|
|
292
292
|
|
|
293
293
|
//#endregion
|
|
294
|
-
export { HttpInstrumented, extractTraceContext, injectTraceContext, traceHttpRequest };
|
|
295
|
-
//# sourceMappingURL=http.js.map
|
|
294
|
+
export { HttpInstrumented, extractTraceContext, injectTraceContext, traceHttpRequest };
|
|
@@ -673,5 +673,4 @@ type AttributeSetter = {
|
|
|
673
673
|
declare function mergeAttrs(...attrSets: Array<Record<string, unknown> | undefined>): Record<string, unknown>;
|
|
674
674
|
declare function safeSetAttributes(span: AttributeSetter, attrs: Record<string, unknown>, policy?: AttributePolicy): void;
|
|
675
675
|
//#endregion
|
|
676
|
-
export { ExceptionAttrs as A, PeerAttrs as B, CloudAttrs as C, DeploymentAttrs as D, DBAttrs as E, HTTPServerAttrs as F, SessionAttrs as G, RPCAttrs as H, K8sAttrs as I, URLAttrs as J, TLSAttrs as K, MessagingAttrs as L, FeatureFlagAttrs as M, GraphQLAttrs as N, DeviceAttrs as O, HTTPClientAttrs as P, NetworkAttrs as R, ClientAttrs as S, ContainerAttrs as T, ServerAddressAttrs as U, ProcessAttrs as V, ServiceAttrs as W, UserAttrs as Y, autoRedactPII as _, httpClient as a, validateAttribute as b, mergeServiceResource as c, setError as d, setException as f, AttributePolicy as g, AttributeGuardrails as h, dbClient as i, FaaSAttrs as j, ErrorAttrs as k, request as l, setUser as m, safeSetAttributes as n, httpServer as o, setSession as p, ThreadAttrs as q, transaction as r, identify as s, mergeAttrs as t, setDevice as u, checkDeprecatedAttribute as v, CodeAttrs as w, attrs as x, defaultGuardrails as y, OTelAttrs as z };
|
|
677
|
-
//# sourceMappingURL=index-BPcxVucm.d.cts.map
|
|
676
|
+
export { ExceptionAttrs as A, PeerAttrs as B, CloudAttrs as C, DeploymentAttrs as D, DBAttrs as E, HTTPServerAttrs as F, SessionAttrs as G, RPCAttrs as H, K8sAttrs as I, URLAttrs as J, TLSAttrs as K, MessagingAttrs as L, FeatureFlagAttrs as M, GraphQLAttrs as N, DeviceAttrs as O, HTTPClientAttrs as P, NetworkAttrs as R, ClientAttrs as S, ContainerAttrs as T, ServerAddressAttrs as U, ProcessAttrs as V, ServiceAttrs as W, UserAttrs as Y, autoRedactPII as _, httpClient as a, validateAttribute as b, mergeServiceResource as c, setError as d, setException as f, AttributePolicy as g, AttributeGuardrails as h, dbClient as i, FaaSAttrs as j, ErrorAttrs as k, request as l, setUser as m, safeSetAttributes as n, httpServer as o, setSession as p, ThreadAttrs as q, transaction as r, identify as s, mergeAttrs as t, setDevice as u, checkDeprecatedAttribute as v, CodeAttrs as w, attrs as x, defaultGuardrails as y, OTelAttrs as z };
|
package/dist/index-DolOVX6F.d.ts
CHANGED
|
@@ -673,5 +673,4 @@ type AttributeSetter = {
|
|
|
673
673
|
declare function mergeAttrs(...attrSets: Array<Record<string, unknown> | undefined>): Record<string, unknown>;
|
|
674
674
|
declare function safeSetAttributes(span: AttributeSetter, attrs: Record<string, unknown>, policy?: AttributePolicy): void;
|
|
675
675
|
//#endregion
|
|
676
|
-
export { ExceptionAttrs as A, PeerAttrs as B, CloudAttrs as C, DeploymentAttrs as D, DBAttrs as E, HTTPServerAttrs as F, SessionAttrs as G, RPCAttrs as H, K8sAttrs as I, URLAttrs as J, TLSAttrs as K, MessagingAttrs as L, FeatureFlagAttrs as M, GraphQLAttrs as N, DeviceAttrs as O, HTTPClientAttrs as P, NetworkAttrs as R, ClientAttrs as S, ContainerAttrs as T, ServerAddressAttrs as U, ProcessAttrs as V, ServiceAttrs as W, UserAttrs as Y, autoRedactPII as _, httpClient as a, validateAttribute as b, mergeServiceResource as c, setError as d, setException as f, AttributePolicy as g, AttributeGuardrails as h, dbClient as i, FaaSAttrs as j, ErrorAttrs as k, request as l, setUser as m, safeSetAttributes as n, httpServer as o, setSession as p, ThreadAttrs as q, transaction as r, identify as s, mergeAttrs as t, setDevice as u, checkDeprecatedAttribute as v, CodeAttrs as w, attrs as x, defaultGuardrails as y, OTelAttrs as z };
|
|
677
|
-
//# sourceMappingURL=index-DolOVX6F.d.ts.map
|
|
676
|
+
export { ExceptionAttrs as A, PeerAttrs as B, CloudAttrs as C, DeploymentAttrs as D, DBAttrs as E, HTTPServerAttrs as F, SessionAttrs as G, RPCAttrs as H, K8sAttrs as I, URLAttrs as J, TLSAttrs as K, MessagingAttrs as L, FeatureFlagAttrs as M, GraphQLAttrs as N, DeviceAttrs as O, HTTPClientAttrs as P, NetworkAttrs as R, ClientAttrs as S, ContainerAttrs as T, ServerAddressAttrs as U, ProcessAttrs as V, ServiceAttrs as W, UserAttrs as Y, autoRedactPII as _, httpClient as a, validateAttribute as b, mergeServiceResource as c, setError as d, setException as f, AttributePolicy as g, AttributeGuardrails as h, dbClient as i, FaaSAttrs as j, ErrorAttrs as k, request as l, setUser as m, safeSetAttributes as n, httpServer as o, setSession as p, ThreadAttrs as q, transaction as r, identify as s, mergeAttrs as t, setDevice as u, checkDeprecatedAttribute as v, CodeAttrs as w, attrs as x, defaultGuardrails as y, OTelAttrs as z };
|
package/dist/index.cjs
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
2
2
|
const require_rolldown_runtime = require('./rolldown-runtime-C_NdSu1c.cjs');
|
|
3
3
|
const require_tracer_provider = require('./tracer-provider.cjs');
|
|
4
4
|
const require_sampling = require('./sampling.cjs');
|
|
5
|
-
const require_init = require('./init-
|
|
5
|
+
const require_init = require('./init-CzNFWUd8.cjs');
|
|
6
6
|
const require_filtering_span_processor = require('./filtering-span-processor.cjs');
|
|
7
7
|
const require_span_name_normalizer = require('./span-name-normalizer.cjs');
|
|
8
8
|
const require_attribute_redacting_processor = require('./attribute-redacting-processor.cjs');
|
|
@@ -10,7 +10,7 @@ const require_canonical_log_line_processor = require('./canonical-log-line-proce
|
|
|
10
10
|
const require_structured_error = require('./structured-error-CHg7DoIQ.cjs');
|
|
11
11
|
const require_metric = require('./metric.cjs');
|
|
12
12
|
const require_trace_helpers = require('./trace-helpers.cjs');
|
|
13
|
-
const require_functional = require('./functional-
|
|
13
|
+
const require_functional = require('./functional-D545J0Ba.cjs');
|
|
14
14
|
const require_stable_hash = require('./stable-hash-CS9BxvVQ.cjs');
|
|
15
15
|
const require_correlated_events = require('./correlated-events-kSwLo3mi.cjs');
|
|
16
16
|
const require_parse_error = require('./parse-error.cjs');
|
|
@@ -674,5 +674,4 @@ exports.track = require_init.track;
|
|
|
674
674
|
exports.validateAttribute = require_attributes.validateAttribute;
|
|
675
675
|
exports.withBaggage = require_functional.withBaggage;
|
|
676
676
|
exports.withNewContext = require_functional.withNewContext;
|
|
677
|
-
exports.withTracing = require_functional.withTracing;
|
|
678
|
-
//# sourceMappingURL=index.cjs.map
|
|
677
|
+
exports.withTracing = require_functional.withTracing;
|
package/dist/index.d.cts
CHANGED
|
@@ -9,7 +9,7 @@ import { DrainPipelineOptions, PipelineDrainFn, createDrainPipeline } from "./dr
|
|
|
9
9
|
import { a as EventSubscriber, c as OutcomeStatus, i as EventSchemaMetadata, n as EventAttributes, o as EventTrackingOptions, s as FunnelStatus, t as AutotelEventContext } from "./event-subscriber-CWh8sTGh.cjs";
|
|
10
10
|
import { Event, EventsOptions, getEvents, resetEvents } from "./event.cjs";
|
|
11
11
|
import { n as FilteringSpanProcessorOptions, r as SpanFilterPredicate, t as FilteringSpanProcessor } from "./filtering-span-processor-BpDagWNa.cjs";
|
|
12
|
-
import { a as isLoggerLocked, c as StringRedactor, i as isInitialized, l as createStringRedactor, o as lockLogger, r as init, s as ProcessHandlersConfig, t as AutotelConfig } from "./init-
|
|
12
|
+
import { a as isLoggerLocked, c as StringRedactor, i as isInitialized, l as createStringRedactor, o as lockLogger, r as init, s as ProcessHandlersConfig, t as AutotelConfig } from "./init-BoIYyB6Q.cjs";
|
|
13
13
|
import { a as SpanNameNormalizerPreset, i as SpanNameNormalizerFn, n as NORMALIZER_PRESETS, o as SpanNameNormalizingProcessor, r as SpanNameNormalizerConfig, s as SpanNameNormalizingProcessorOptions, t as NORMALIZER_PATTERNS } from "./span-name-normalizer-CN1-8C76.cjs";
|
|
14
14
|
import "./canonical-log-line-processor-B4WgG-VS.cjs";
|
|
15
15
|
import { i as defineEvent, n as DefinedEvent, r as SchemaLike, t as DefineEventOptions } from "./define-event-CGG048HE.cjs";
|
|
@@ -637,5 +637,4 @@ declare function defineEnricher<TEvent extends Record<string, unknown>, TValue e
|
|
|
637
637
|
*/
|
|
638
638
|
declare function formatDuration(ms: number): string;
|
|
639
639
|
//#endregion
|
|
640
|
-
export { AUTOTEL_SAMPLING_TAIL_EVALUATED, AUTOTEL_SAMPLING_TAIL_KEEP, AdaptiveSampler, AlwaysSampler, type AttributeGuardrails, type AttributePolicy, AttributeRedactingProcessor, type AttributeRedactingProcessorOptions, type AttributeRedactorConfig, type AttributeRedactorFn, type AttributeRedactorPreset, type AttributeValue, type Attributes, type AuditAction, type AuditCatalog, type AuditCatalogEntry, type AuditDescriptor, type AuditSeverity, type AutotelConfig, type Baggage, type BaggageEntry, type BaggageError, type BaggageFieldDefinition, type BaggageFieldType, BaggageSpanProcessor, type BaggageSpanProcessorOptions, type BuiltinPatternName, BusinessBaggage, type BusinessBaggageValues, CORRELATION_ID_BAGGAGE_KEY, type ClientAttrs, type CloudAttrs, type CodeAttrs, type ConsumerConfig, type ConsumerContext, type ContainerAttrs, type Context, type DBAttrs, type DBConfig, type DefineEventOptions, type DefinedEvent, type DeploymentAttrs, type DeviceAttrs, type DrainOptions, type DrainPipelineOptions, type EnrichContext, type EnricherDefinition, type EnricherOptions, type ErrorAttrs, type ErrorBuildOptions, type ErrorBuilder, type ErrorCatalog, type ErrorCatalogEntry, Event, type EventAttributes, type EventSubscriber, type EventsOptions, type Exception, type ExceptionAttrs, type FaaSAttrs, type FeatureFlagAttrs, FilteringSpanProcessor, type FilteringSpanProcessorOptions, type ForkLifecycle, type ForkOptions, type FunnelStatus, type GraphQLAttrs, HTTPAttributes, type HTTPClientAttrs, type HTTPConfig, type HTTPServerAttrs, type HrTime, type HttpDrainOptions, type HttpDrainRequest, type InstrumentOptions, type K8sAttrs, type LagMetricsConfig, type Link, type MaskFn, type MessagingAttrs, type MessagingConfig, type MessagingOperation, type MessagingSystem, Metric, type MetricsOptions, NORMALIZER_PATTERNS, NORMALIZER_PRESETS, type NetworkAttrs, NeverSampler, type OTelAttrs, type OperationContext, type TraceContext as OtelTraceContext, type OutcomeStatus, type ParsedError, type PeerAttrs, type PipelineDrainFn, type ProcessAttrs, type ProcessHandlersConfig, type ProducerConfig, type ProducerContext, REDACTOR_PATTERNS, REDACTOR_PRESETS, ROOT_CONTEXT, type RPCAttrs, RandomSampler, type RequestLogLevel, type RequestLogSnapshot, type RequestLogger, type RequestLoggerOptions, type SafeBaggageOptions, type SafeBaggageSchema, type Sampler, type SamplingContext, type SamplingPreset, type SchemaLike, type ServerAddressAttrs, ServiceAttributes, type ServiceAttrs, type SessionAttrs, type SingleInstrumentOptions, type Span, type SpanAttributes, type SpanContext, type SpanFilterPredicate, SpanKind, type SpanLink, type SpanNameNormalizerConfig, type SpanNameNormalizerFn, type SpanNameNormalizerPreset, SpanNameNormalizingProcessor, type SpanNameNormalizingProcessorOptions, type SpanOptions, SpanStatusCode, type StepConfig, type StepContext, type StepStatus, type StringRedactor, type StructuredError, type StructuredErrorInput, type TLSAttrs, type TextMapGetter, type TextMapSetter, type ThreadAttrs, type TimeInput, type TraceContext$1 as TraceContext, type TraceFlags, type TraceState, type Tracer, type TracerProvider, URLAttributes, type URLAttrs, type UserAttrs, UserIdSampler, type ValuePatternConfig, type WithBaggageOptions, type WithNewContextOptions, type WorkflowConfig, type WorkflowContext, type WorkflowStatus, attrs, autoRedactPII, builtinPatterns, context, createAttributeRedactor, createCounter, createDeterministicTraceId, createDrainPipeline, createHistogram, createLinkFromHeaders, createNoopRequestLogger, createObservableGauge, createRedactedSpan, createSafeBaggageSchema, createStringRedactor, createStructuredError, createUpDownCounter, ctx, dbClient, defineAuditCatalog, defineBaggageSchema, defineDrain, defineEnricher, defineErrorCatalog, defineEvent, defineHttpDrain, enrichWithTraceContext, extractLinksFromBatch, finalizeSpan, flattenMetadata, flattenToAttributes, flush, formatDuration, generateCorrelationId, getActiveContext, getActiveSpan, getActiveTraceContext, getAutotelTracer, getAutotelTracerProvider, getCatalogCode, getCorrelationId, getCurrentWorkflowContext, getEventQueue, getEvents, getMeter, getMetrics, getOperationContext, getOrCreateCorrelationId, getRequestLogger, getRequestLoggerSafe, getStructuredErrorAttributes, getTraceContext, getTracer, hasRequestContext, httpClient, httpRequestHeaderAttribute, httpResponseHeaderAttribute, httpServer, identify, init, instrument, isCatalogError, isInWorkflow, isInitialized, isLoggerLocked, isTracing, lockLogger, mergeAttrs, mergeServiceResource, normalizeAttributeRedactorConfig, otelTrace, parseError, propagation, recordStructuredError, request, resetEvents, resetMetrics, resolveSamplingPreset, resolveTraceUrl, runInOperationContext, runWithCorrelationId, runWithRequestContext, runWithSpan, safeSetAttributes, samplingPresets, setAutotelTracerProvider, setCorrelationId, setCorrelationIdInBaggage, setDevice, setError, setException, setSession, setUser, shutdown, span, structuredErrorToJSON, toAttributeValue, trace, traceConsumer, traceDB, traceHTTP, traceMessaging, traceProducer, traceStep, traceWorkflow, track, validateAttribute, withBaggage, withNewContext, withTracing };
|
|
641
|
-
//# sourceMappingURL=index.d.cts.map
|
|
640
|
+
export { AUTOTEL_SAMPLING_TAIL_EVALUATED, AUTOTEL_SAMPLING_TAIL_KEEP, AdaptiveSampler, AlwaysSampler, type AttributeGuardrails, type AttributePolicy, AttributeRedactingProcessor, type AttributeRedactingProcessorOptions, type AttributeRedactorConfig, type AttributeRedactorFn, type AttributeRedactorPreset, type AttributeValue, type Attributes, type AuditAction, type AuditCatalog, type AuditCatalogEntry, type AuditDescriptor, type AuditSeverity, type AutotelConfig, type Baggage, type BaggageEntry, type BaggageError, type BaggageFieldDefinition, type BaggageFieldType, BaggageSpanProcessor, type BaggageSpanProcessorOptions, type BuiltinPatternName, BusinessBaggage, type BusinessBaggageValues, CORRELATION_ID_BAGGAGE_KEY, type ClientAttrs, type CloudAttrs, type CodeAttrs, type ConsumerConfig, type ConsumerContext, type ContainerAttrs, type Context, type DBAttrs, type DBConfig, type DefineEventOptions, type DefinedEvent, type DeploymentAttrs, type DeviceAttrs, type DrainOptions, type DrainPipelineOptions, type EnrichContext, type EnricherDefinition, type EnricherOptions, type ErrorAttrs, type ErrorBuildOptions, type ErrorBuilder, type ErrorCatalog, type ErrorCatalogEntry, Event, type EventAttributes, type EventSubscriber, type EventsOptions, type Exception, type ExceptionAttrs, type FaaSAttrs, type FeatureFlagAttrs, FilteringSpanProcessor, type FilteringSpanProcessorOptions, type ForkLifecycle, type ForkOptions, type FunnelStatus, type GraphQLAttrs, HTTPAttributes, type HTTPClientAttrs, type HTTPConfig, type HTTPServerAttrs, type HrTime, type HttpDrainOptions, type HttpDrainRequest, type InstrumentOptions, type K8sAttrs, type LagMetricsConfig, type Link, type MaskFn, type MessagingAttrs, type MessagingConfig, type MessagingOperation, type MessagingSystem, Metric, type MetricsOptions, NORMALIZER_PATTERNS, NORMALIZER_PRESETS, type NetworkAttrs, NeverSampler, type OTelAttrs, type OperationContext, type TraceContext as OtelTraceContext, type OutcomeStatus, type ParsedError, type PeerAttrs, type PipelineDrainFn, type ProcessAttrs, type ProcessHandlersConfig, type ProducerConfig, type ProducerContext, REDACTOR_PATTERNS, REDACTOR_PRESETS, ROOT_CONTEXT, type RPCAttrs, RandomSampler, type RequestLogLevel, type RequestLogSnapshot, type RequestLogger, type RequestLoggerOptions, type SafeBaggageOptions, type SafeBaggageSchema, type Sampler, type SamplingContext, type SamplingPreset, type SchemaLike, type ServerAddressAttrs, ServiceAttributes, type ServiceAttrs, type SessionAttrs, type SingleInstrumentOptions, type Span, type SpanAttributes, type SpanContext, type SpanFilterPredicate, SpanKind, type SpanLink, type SpanNameNormalizerConfig, type SpanNameNormalizerFn, type SpanNameNormalizerPreset, SpanNameNormalizingProcessor, type SpanNameNormalizingProcessorOptions, type SpanOptions, SpanStatusCode, type StepConfig, type StepContext, type StepStatus, type StringRedactor, type StructuredError, type StructuredErrorInput, type TLSAttrs, type TextMapGetter, type TextMapSetter, type ThreadAttrs, type TimeInput, type TraceContext$1 as TraceContext, type TraceFlags, type TraceState, type Tracer, type TracerProvider, URLAttributes, type URLAttrs, type UserAttrs, UserIdSampler, type ValuePatternConfig, type WithBaggageOptions, type WithNewContextOptions, type WorkflowConfig, type WorkflowContext, type WorkflowStatus, attrs, autoRedactPII, builtinPatterns, context, createAttributeRedactor, createCounter, createDeterministicTraceId, createDrainPipeline, createHistogram, createLinkFromHeaders, createNoopRequestLogger, createObservableGauge, createRedactedSpan, createSafeBaggageSchema, createStringRedactor, createStructuredError, createUpDownCounter, ctx, dbClient, defineAuditCatalog, defineBaggageSchema, defineDrain, defineEnricher, defineErrorCatalog, defineEvent, defineHttpDrain, enrichWithTraceContext, extractLinksFromBatch, finalizeSpan, flattenMetadata, flattenToAttributes, flush, formatDuration, generateCorrelationId, getActiveContext, getActiveSpan, getActiveTraceContext, getAutotelTracer, getAutotelTracerProvider, getCatalogCode, getCorrelationId, getCurrentWorkflowContext, getEventQueue, getEvents, getMeter, getMetrics, getOperationContext, getOrCreateCorrelationId, getRequestLogger, getRequestLoggerSafe, getStructuredErrorAttributes, getTraceContext, getTracer, hasRequestContext, httpClient, httpRequestHeaderAttribute, httpResponseHeaderAttribute, httpServer, identify, init, instrument, isCatalogError, isInWorkflow, isInitialized, isLoggerLocked, isTracing, lockLogger, mergeAttrs, mergeServiceResource, normalizeAttributeRedactorConfig, otelTrace, parseError, propagation, recordStructuredError, request, resetEvents, resetMetrics, resolveSamplingPreset, resolveTraceUrl, runInOperationContext, runWithCorrelationId, runWithRequestContext, runWithSpan, safeSetAttributes, samplingPresets, setAutotelTracerProvider, setCorrelationId, setCorrelationIdInBaggage, setDevice, setError, setException, setSession, setUser, shutdown, span, structuredErrorToJSON, toAttributeValue, trace, traceConsumer, traceDB, traceHTTP, traceMessaging, traceProducer, traceStep, traceWorkflow, track, validateAttribute, withBaggage, withNewContext, withTracing };
|
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { DrainPipelineOptions, PipelineDrainFn, createDrainPipeline } from "./dr
|
|
|
9
9
|
import { a as EventSubscriber, c as OutcomeStatus, i as EventSchemaMetadata, n as EventAttributes, o as EventTrackingOptions, s as FunnelStatus, t as AutotelEventContext } from "./event-subscriber-CWh8sTGh.js";
|
|
10
10
|
import { Event, EventsOptions, getEvents, resetEvents } from "./event.js";
|
|
11
11
|
import { n as FilteringSpanProcessorOptions, r as SpanFilterPredicate, t as FilteringSpanProcessor } from "./filtering-span-processor-BpDagWNa.js";
|
|
12
|
-
import { a as isLoggerLocked, c as StringRedactor, i as isInitialized, l as createStringRedactor, o as lockLogger, r as init, s as ProcessHandlersConfig, t as AutotelConfig } from "./init-
|
|
12
|
+
import { a as isLoggerLocked, c as StringRedactor, i as isInitialized, l as createStringRedactor, o as lockLogger, r as init, s as ProcessHandlersConfig, t as AutotelConfig } from "./init-BHp-kqLJ.js";
|
|
13
13
|
import { a as SpanNameNormalizerPreset, i as SpanNameNormalizerFn, n as NORMALIZER_PRESETS, o as SpanNameNormalizingProcessor, r as SpanNameNormalizerConfig, s as SpanNameNormalizingProcessorOptions, t as NORMALIZER_PATTERNS } from "./span-name-normalizer-CN1-8C76.js";
|
|
14
14
|
import "./canonical-log-line-processor-CL_J7gb5.js";
|
|
15
15
|
import { i as defineEvent, n as DefinedEvent, r as SchemaLike, t as DefineEventOptions } from "./define-event-B2z1SBe7.js";
|
|
@@ -637,5 +637,4 @@ declare function defineEnricher<TEvent extends Record<string, unknown>, TValue e
|
|
|
637
637
|
*/
|
|
638
638
|
declare function formatDuration(ms: number): string;
|
|
639
639
|
//#endregion
|
|
640
|
-
export { AUTOTEL_SAMPLING_TAIL_EVALUATED, AUTOTEL_SAMPLING_TAIL_KEEP, AdaptiveSampler, AlwaysSampler, type AttributeGuardrails, type AttributePolicy, AttributeRedactingProcessor, type AttributeRedactingProcessorOptions, type AttributeRedactorConfig, type AttributeRedactorFn, type AttributeRedactorPreset, type AttributeValue, type Attributes, type AuditAction, type AuditCatalog, type AuditCatalogEntry, type AuditDescriptor, type AuditSeverity, type AutotelConfig, type Baggage, type BaggageEntry, type BaggageError, type BaggageFieldDefinition, type BaggageFieldType, BaggageSpanProcessor, type BaggageSpanProcessorOptions, type BuiltinPatternName, BusinessBaggage, type BusinessBaggageValues, CORRELATION_ID_BAGGAGE_KEY, type ClientAttrs, type CloudAttrs, type CodeAttrs, type ConsumerConfig, type ConsumerContext, type ContainerAttrs, type Context, type DBAttrs, type DBConfig, type DefineEventOptions, type DefinedEvent, type DeploymentAttrs, type DeviceAttrs, type DrainOptions, type DrainPipelineOptions, type EnrichContext, type EnricherDefinition, type EnricherOptions, type ErrorAttrs, type ErrorBuildOptions, type ErrorBuilder, type ErrorCatalog, type ErrorCatalogEntry, Event, type EventAttributes, type EventSubscriber, type EventsOptions, type Exception, type ExceptionAttrs, type FaaSAttrs, type FeatureFlagAttrs, FilteringSpanProcessor, type FilteringSpanProcessorOptions, type ForkLifecycle, type ForkOptions, type FunnelStatus, type GraphQLAttrs, HTTPAttributes, type HTTPClientAttrs, type HTTPConfig, type HTTPServerAttrs, type HrTime, type HttpDrainOptions, type HttpDrainRequest, type InstrumentOptions, type K8sAttrs, type LagMetricsConfig, type Link, type MaskFn, type MessagingAttrs, type MessagingConfig, type MessagingOperation, type MessagingSystem, Metric, type MetricsOptions, NORMALIZER_PATTERNS, NORMALIZER_PRESETS, type NetworkAttrs, NeverSampler, type OTelAttrs, type OperationContext, type TraceContext as OtelTraceContext, type OutcomeStatus, type ParsedError, type PeerAttrs, type PipelineDrainFn, type ProcessAttrs, type ProcessHandlersConfig, type ProducerConfig, type ProducerContext, REDACTOR_PATTERNS, REDACTOR_PRESETS, ROOT_CONTEXT, type RPCAttrs, RandomSampler, type RequestLogLevel, type RequestLogSnapshot, type RequestLogger, type RequestLoggerOptions, type SafeBaggageOptions, type SafeBaggageSchema, type Sampler, type SamplingContext, type SamplingPreset, type SchemaLike, type ServerAddressAttrs, ServiceAttributes, type ServiceAttrs, type SessionAttrs, type SingleInstrumentOptions, type Span, type SpanAttributes, type SpanContext, type SpanFilterPredicate, SpanKind, type SpanLink, type SpanNameNormalizerConfig, type SpanNameNormalizerFn, type SpanNameNormalizerPreset, SpanNameNormalizingProcessor, type SpanNameNormalizingProcessorOptions, type SpanOptions, SpanStatusCode, type StepConfig, type StepContext, type StepStatus, type StringRedactor, type StructuredError, type StructuredErrorInput, type TLSAttrs, type TextMapGetter, type TextMapSetter, type ThreadAttrs, type TimeInput, type TraceContext$1 as TraceContext, type TraceFlags, type TraceState, type Tracer, type TracerProvider, URLAttributes, type URLAttrs, type UserAttrs, UserIdSampler, type ValuePatternConfig, type WithBaggageOptions, type WithNewContextOptions, type WorkflowConfig, type WorkflowContext, type WorkflowStatus, attrs, autoRedactPII, builtinPatterns, context, createAttributeRedactor, createCounter, createDeterministicTraceId, createDrainPipeline, createHistogram, createLinkFromHeaders, createNoopRequestLogger, createObservableGauge, createRedactedSpan, createSafeBaggageSchema, createStringRedactor, createStructuredError, createUpDownCounter, ctx, dbClient, defineAuditCatalog, defineBaggageSchema, defineDrain, defineEnricher, defineErrorCatalog, defineEvent, defineHttpDrain, enrichWithTraceContext, extractLinksFromBatch, finalizeSpan, flattenMetadata, flattenToAttributes, flush, formatDuration, generateCorrelationId, getActiveContext, getActiveSpan, getActiveTraceContext, getAutotelTracer, getAutotelTracerProvider, getCatalogCode, getCorrelationId, getCurrentWorkflowContext, getEventQueue, getEvents, getMeter, getMetrics, getOperationContext, getOrCreateCorrelationId, getRequestLogger, getRequestLoggerSafe, getStructuredErrorAttributes, getTraceContext, getTracer, hasRequestContext, httpClient, httpRequestHeaderAttribute, httpResponseHeaderAttribute, httpServer, identify, init, instrument, isCatalogError, isInWorkflow, isInitialized, isLoggerLocked, isTracing, lockLogger, mergeAttrs, mergeServiceResource, normalizeAttributeRedactorConfig, otelTrace, parseError, propagation, recordStructuredError, request, resetEvents, resetMetrics, resolveSamplingPreset, resolveTraceUrl, runInOperationContext, runWithCorrelationId, runWithRequestContext, runWithSpan, safeSetAttributes, samplingPresets, setAutotelTracerProvider, setCorrelationId, setCorrelationIdInBaggage, setDevice, setError, setException, setSession, setUser, shutdown, span, structuredErrorToJSON, toAttributeValue, trace, traceConsumer, traceDB, traceHTTP, traceMessaging, traceProducer, traceStep, traceWorkflow, track, validateAttribute, withBaggage, withNewContext, withTracing };
|
|
641
|
-
//# sourceMappingURL=index.d.ts.map
|
|
640
|
+
export { AUTOTEL_SAMPLING_TAIL_EVALUATED, AUTOTEL_SAMPLING_TAIL_KEEP, AdaptiveSampler, AlwaysSampler, type AttributeGuardrails, type AttributePolicy, AttributeRedactingProcessor, type AttributeRedactingProcessorOptions, type AttributeRedactorConfig, type AttributeRedactorFn, type AttributeRedactorPreset, type AttributeValue, type Attributes, type AuditAction, type AuditCatalog, type AuditCatalogEntry, type AuditDescriptor, type AuditSeverity, type AutotelConfig, type Baggage, type BaggageEntry, type BaggageError, type BaggageFieldDefinition, type BaggageFieldType, BaggageSpanProcessor, type BaggageSpanProcessorOptions, type BuiltinPatternName, BusinessBaggage, type BusinessBaggageValues, CORRELATION_ID_BAGGAGE_KEY, type ClientAttrs, type CloudAttrs, type CodeAttrs, type ConsumerConfig, type ConsumerContext, type ContainerAttrs, type Context, type DBAttrs, type DBConfig, type DefineEventOptions, type DefinedEvent, type DeploymentAttrs, type DeviceAttrs, type DrainOptions, type DrainPipelineOptions, type EnrichContext, type EnricherDefinition, type EnricherOptions, type ErrorAttrs, type ErrorBuildOptions, type ErrorBuilder, type ErrorCatalog, type ErrorCatalogEntry, Event, type EventAttributes, type EventSubscriber, type EventsOptions, type Exception, type ExceptionAttrs, type FaaSAttrs, type FeatureFlagAttrs, FilteringSpanProcessor, type FilteringSpanProcessorOptions, type ForkLifecycle, type ForkOptions, type FunnelStatus, type GraphQLAttrs, HTTPAttributes, type HTTPClientAttrs, type HTTPConfig, type HTTPServerAttrs, type HrTime, type HttpDrainOptions, type HttpDrainRequest, type InstrumentOptions, type K8sAttrs, type LagMetricsConfig, type Link, type MaskFn, type MessagingAttrs, type MessagingConfig, type MessagingOperation, type MessagingSystem, Metric, type MetricsOptions, NORMALIZER_PATTERNS, NORMALIZER_PRESETS, type NetworkAttrs, NeverSampler, type OTelAttrs, type OperationContext, type TraceContext as OtelTraceContext, type OutcomeStatus, type ParsedError, type PeerAttrs, type PipelineDrainFn, type ProcessAttrs, type ProcessHandlersConfig, type ProducerConfig, type ProducerContext, REDACTOR_PATTERNS, REDACTOR_PRESETS, ROOT_CONTEXT, type RPCAttrs, RandomSampler, type RequestLogLevel, type RequestLogSnapshot, type RequestLogger, type RequestLoggerOptions, type SafeBaggageOptions, type SafeBaggageSchema, type Sampler, type SamplingContext, type SamplingPreset, type SchemaLike, type ServerAddressAttrs, ServiceAttributes, type ServiceAttrs, type SessionAttrs, type SingleInstrumentOptions, type Span, type SpanAttributes, type SpanContext, type SpanFilterPredicate, SpanKind, type SpanLink, type SpanNameNormalizerConfig, type SpanNameNormalizerFn, type SpanNameNormalizerPreset, SpanNameNormalizingProcessor, type SpanNameNormalizingProcessorOptions, type SpanOptions, SpanStatusCode, type StepConfig, type StepContext, type StepStatus, type StringRedactor, type StructuredError, type StructuredErrorInput, type TLSAttrs, type TextMapGetter, type TextMapSetter, type ThreadAttrs, type TimeInput, type TraceContext$1 as TraceContext, type TraceFlags, type TraceState, type Tracer, type TracerProvider, URLAttributes, type URLAttrs, type UserAttrs, UserIdSampler, type ValuePatternConfig, type WithBaggageOptions, type WithNewContextOptions, type WorkflowConfig, type WorkflowContext, type WorkflowStatus, attrs, autoRedactPII, builtinPatterns, context, createAttributeRedactor, createCounter, createDeterministicTraceId, createDrainPipeline, createHistogram, createLinkFromHeaders, createNoopRequestLogger, createObservableGauge, createRedactedSpan, createSafeBaggageSchema, createStringRedactor, createStructuredError, createUpDownCounter, ctx, dbClient, defineAuditCatalog, defineBaggageSchema, defineDrain, defineEnricher, defineErrorCatalog, defineEvent, defineHttpDrain, enrichWithTraceContext, extractLinksFromBatch, finalizeSpan, flattenMetadata, flattenToAttributes, flush, formatDuration, generateCorrelationId, getActiveContext, getActiveSpan, getActiveTraceContext, getAutotelTracer, getAutotelTracerProvider, getCatalogCode, getCorrelationId, getCurrentWorkflowContext, getEventQueue, getEvents, getMeter, getMetrics, getOperationContext, getOrCreateCorrelationId, getRequestLogger, getRequestLoggerSafe, getStructuredErrorAttributes, getTraceContext, getTracer, hasRequestContext, httpClient, httpRequestHeaderAttribute, httpResponseHeaderAttribute, httpServer, identify, init, instrument, isCatalogError, isInWorkflow, isInitialized, isLoggerLocked, isTracing, lockLogger, mergeAttrs, mergeServiceResource, normalizeAttributeRedactorConfig, otelTrace, parseError, propagation, recordStructuredError, request, resetEvents, resetMetrics, resolveSamplingPreset, resolveTraceUrl, runInOperationContext, runWithCorrelationId, runWithRequestContext, runWithSpan, safeSetAttributes, samplingPresets, setAutotelTracerProvider, setCorrelationId, setCorrelationIdInBaggage, setDevice, setError, setException, setSession, setUser, shutdown, span, structuredErrorToJSON, toAttributeValue, trace, traceConsumer, traceDB, traceHTTP, traceMessaging, traceProducer, traceStep, traceWorkflow, track, validateAttribute, withBaggage, withNewContext, withTracing };
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getAutotelTracer, getAutotelTracerProvider, setAutotelTracerProvider } from "./tracer-provider.js";
|
|
2
2
|
import { AUTOTEL_SAMPLING_TAIL_EVALUATED, AUTOTEL_SAMPLING_TAIL_KEEP, AdaptiveSampler, AlwaysSampler, NeverSampler, RandomSampler, UserIdSampler, createLinkFromHeaders, extractLinksFromBatch, resolveSamplingPreset, samplingPresets } from "./sampling.js";
|
|
3
|
-
import { A as BaggageSpanProcessor, C as setCorrelationId, E as defineBaggageSchema, S as runWithCorrelationId, T as createTraceContext, _ as CORRELATION_ID_BAGGAGE_KEY, a as isInitialized, c as flush, d as getEvents, f as resetEvents, g as track, h as getEventQueue, i as init, k as createStringRedactor, l as shutdown, m as runInOperationContext, o as isLoggerLocked, p as getOperationContext, s as lockLogger, u as Event, v as generateCorrelationId, w as setCorrelationIdInBaggage, x as getOrCreateCorrelationId, y as getCorrelationId } from "./init-
|
|
3
|
+
import { A as BaggageSpanProcessor, C as setCorrelationId, E as defineBaggageSchema, S as runWithCorrelationId, T as createTraceContext, _ as CORRELATION_ID_BAGGAGE_KEY, a as isInitialized, c as flush, d as getEvents, f as resetEvents, g as track, h as getEventQueue, i as init, k as createStringRedactor, l as shutdown, m as runInOperationContext, o as isLoggerLocked, p as getOperationContext, s as lockLogger, u as Event, v as generateCorrelationId, w as setCorrelationIdInBaggage, x as getOrCreateCorrelationId, y as getCorrelationId } from "./init-DDkh2brw.js";
|
|
4
4
|
import { FilteringSpanProcessor } from "./filtering-span-processor.js";
|
|
5
5
|
import { NORMALIZER_PATTERNS, NORMALIZER_PRESETS, SpanNameNormalizingProcessor } from "./span-name-normalizer.js";
|
|
6
6
|
import { AttributeRedactingProcessor, REDACTOR_PATTERNS, REDACTOR_PRESETS, builtinPatterns, createAttributeRedactor, createRedactedSpan, normalizeAttributeRedactorConfig } from "./attribute-redacting-processor.js";
|
|
@@ -8,7 +8,7 @@ import { n as formatDuration } from "./canonical-log-line-processor-mKABvGP0.js"
|
|
|
8
8
|
import { a as flattenToAttributes, i as structuredErrorToJSON, n as getStructuredErrorAttributes, o as toAttributeValue, r as recordStructuredError, t as createStructuredError } from "./structured-error-9--cxBay.js";
|
|
9
9
|
import { Metric, getMetrics, resetMetrics } from "./metric.js";
|
|
10
10
|
import { createDeterministicTraceId, enrichWithTraceContext, finalizeSpan, flattenMetadata, getActiveContext, getActiveSpan, getTraceContext, getTracer, isTracing, resolveTraceUrl, runWithSpan } from "./trace-helpers.js";
|
|
11
|
-
import { a as trace$2, c as withTracing, i as span, n as getActiveTraceContext, o as withBaggage, r as instrument, s as withNewContext, t as ctx } from "./functional-
|
|
11
|
+
import { a as trace$2, c as withTracing, i as span, n as getActiveTraceContext, o as withBaggage, r as instrument, s as withNewContext, t as ctx } from "./functional-DYAZiYxr.js";
|
|
12
12
|
import { t as hashJson } from "./stable-hash-ChFBIhNt.js";
|
|
13
13
|
import { t as emitCorrelatedEvent } from "./correlated-events-Bzh5y-UB.js";
|
|
14
14
|
import { parseError } from "./parse-error.js";
|
|
@@ -507,5 +507,4 @@ function defineEnricher(def, options = {}) {
|
|
|
507
507
|
}
|
|
508
508
|
|
|
509
509
|
//#endregion
|
|
510
|
-
export { AUTOTEL_SAMPLING_TAIL_EVALUATED, AUTOTEL_SAMPLING_TAIL_KEEP, AdaptiveSampler, AlwaysSampler, AttributeRedactingProcessor, BaggageSpanProcessor, BusinessBaggage, CORRELATION_ID_BAGGAGE_KEY, Event, FilteringSpanProcessor, HTTPAttributes, Metric, NORMALIZER_PATTERNS, NORMALIZER_PRESETS, NeverSampler, REDACTOR_PATTERNS, REDACTOR_PRESETS, ROOT_CONTEXT, RandomSampler, ServiceAttributes, SpanKind, SpanNameNormalizingProcessor, SpanStatusCode, URLAttributes, UserIdSampler, attrs, autoRedactPII, builtinPatterns, context, createAttributeRedactor, createCounter, createDeterministicTraceId, createDrainPipeline, createHistogram, createLinkFromHeaders, createNoopRequestLogger, createObservableGauge, createRedactedSpan, createSafeBaggageSchema, createStringRedactor, createStructuredError, createUpDownCounter, ctx, dbClient, defineAuditCatalog, defineBaggageSchema, defineDrain, defineEnricher, defineErrorCatalog, defineEvent, defineHttpDrain, enrichWithTraceContext, extractLinksFromBatch, finalizeSpan, flattenMetadata, flattenToAttributes, flush, formatDuration, generateCorrelationId, getActiveContext, getActiveSpan, getActiveTraceContext, getAutotelTracer, getAutotelTracerProvider, getCatalogCode, getCorrelationId, getCurrentWorkflowContext, getEventQueue, getEvents, getMeter, getMetrics, getOperationContext, getOrCreateCorrelationId, getRequestLogger, getRequestLoggerSafe, getStructuredErrorAttributes, getTraceContext, getTracer, hasRequestContext, httpClient, httpRequestHeaderAttribute, httpResponseHeaderAttribute, httpServer, identify, init, instrument, isCatalogError, isInWorkflow, isInitialized, isLoggerLocked, isTracing, lockLogger, mergeAttrs, mergeServiceResource, normalizeAttributeRedactorConfig, otelTrace, parseError, propagation, recordStructuredError, request, resetEvents, resetMetrics, resolveSamplingPreset, resolveTraceUrl, runInOperationContext, runWithCorrelationId, runWithRequestContext, runWithSpan, safeSetAttributes, samplingPresets, setAutotelTracerProvider, setCorrelationId, setCorrelationIdInBaggage, setDevice, setError, setException, setSession, setUser, shutdown, span, structuredErrorToJSON, toAttributeValue, trace, traceConsumer, traceDB, traceHTTP, traceMessaging, traceProducer, traceStep, traceWorkflow, track, validateAttribute, withBaggage, withNewContext, withTracing };
|
|
511
|
-
//# sourceMappingURL=index.js.map
|
|
510
|
+
export { AUTOTEL_SAMPLING_TAIL_EVALUATED, AUTOTEL_SAMPLING_TAIL_KEEP, AdaptiveSampler, AlwaysSampler, AttributeRedactingProcessor, BaggageSpanProcessor, BusinessBaggage, CORRELATION_ID_BAGGAGE_KEY, Event, FilteringSpanProcessor, HTTPAttributes, Metric, NORMALIZER_PATTERNS, NORMALIZER_PRESETS, NeverSampler, REDACTOR_PATTERNS, REDACTOR_PRESETS, ROOT_CONTEXT, RandomSampler, ServiceAttributes, SpanKind, SpanNameNormalizingProcessor, SpanStatusCode, URLAttributes, UserIdSampler, attrs, autoRedactPII, builtinPatterns, context, createAttributeRedactor, createCounter, createDeterministicTraceId, createDrainPipeline, createHistogram, createLinkFromHeaders, createNoopRequestLogger, createObservableGauge, createRedactedSpan, createSafeBaggageSchema, createStringRedactor, createStructuredError, createUpDownCounter, ctx, dbClient, defineAuditCatalog, defineBaggageSchema, defineDrain, defineEnricher, defineErrorCatalog, defineEvent, defineHttpDrain, enrichWithTraceContext, extractLinksFromBatch, finalizeSpan, flattenMetadata, flattenToAttributes, flush, formatDuration, generateCorrelationId, getActiveContext, getActiveSpan, getActiveTraceContext, getAutotelTracer, getAutotelTracerProvider, getCatalogCode, getCorrelationId, getCurrentWorkflowContext, getEventQueue, getEvents, getMeter, getMetrics, getOperationContext, getOrCreateCorrelationId, getRequestLogger, getRequestLoggerSafe, getStructuredErrorAttributes, getTraceContext, getTracer, hasRequestContext, httpClient, httpRequestHeaderAttribute, httpResponseHeaderAttribute, httpServer, identify, init, instrument, isCatalogError, isInWorkflow, isInitialized, isLoggerLocked, isTracing, lockLogger, mergeAttrs, mergeServiceResource, normalizeAttributeRedactorConfig, otelTrace, parseError, propagation, recordStructuredError, request, resetEvents, resetMetrics, resolveSamplingPreset, resolveTraceUrl, runInOperationContext, runWithCorrelationId, runWithRequestContext, runWithSpan, safeSetAttributes, samplingPresets, setAutotelTracerProvider, setCorrelationId, setCorrelationIdInBaggage, setDevice, setError, setException, setSession, setUser, shutdown, span, structuredErrorToJSON, toAttributeValue, trace, traceConsumer, traceDB, traceHTTP, traceMessaging, traceProducer, traceStep, traceWorkflow, track, validateAttribute, withBaggage, withNewContext, withTracing };
|
|
@@ -238,13 +238,22 @@ interface OtlpDestinationConfig {
|
|
|
238
238
|
/**
|
|
239
239
|
* Protocol for this destination. Falls back to top-level `protocol`.
|
|
240
240
|
*/
|
|
241
|
-
protocol?:
|
|
241
|
+
protocol?: AutotelProtocol;
|
|
242
242
|
/**
|
|
243
243
|
* Signals to send to this destination.
|
|
244
244
|
* Defaults to all signals supported by the current init() config.
|
|
245
245
|
*/
|
|
246
246
|
signals?: OtlpSignal[];
|
|
247
247
|
}
|
|
248
|
+
/**
|
|
249
|
+
* OTLP wire protocols.
|
|
250
|
+
*
|
|
251
|
+
* `http` is OTLP/HTTP with a JSON body; `http/protobuf` is OTLP/HTTP with a
|
|
252
|
+
* protobuf body. They are not interchangeable: several vendors (Pydantic
|
|
253
|
+
* Logfire, PostHog) accept protobuf only and drop JSON silently, which looks
|
|
254
|
+
* exactly like emitting no telemetry at all.
|
|
255
|
+
*/
|
|
256
|
+
type AutotelProtocol = 'http' | 'http/protobuf' | 'grpc';
|
|
248
257
|
interface AutotelConfig {
|
|
249
258
|
/** Service name (required) */
|
|
250
259
|
service: string;
|
|
@@ -576,7 +585,7 @@ interface AutotelConfig {
|
|
|
576
585
|
*
|
|
577
586
|
* @default 'http'
|
|
578
587
|
*/
|
|
579
|
-
protocol?:
|
|
588
|
+
protocol?: AutotelProtocol;
|
|
580
589
|
/**
|
|
581
590
|
* Optional factory to build a customised NodeSDK instance from our defaults.
|
|
582
591
|
*/
|
|
@@ -1234,5 +1243,4 @@ declare function init(cfg: AutotelConfig): void;
|
|
|
1234
1243
|
*/
|
|
1235
1244
|
declare function isInitialized(): boolean;
|
|
1236
1245
|
//#endregion
|
|
1237
|
-
export { isLoggerLocked as a, StringRedactor as c, isInitialized as i, createStringRedactor as l, OtlpSignal as n, lockLogger as o, init as r, ProcessHandlersConfig as s, AutotelConfig as t };
|
|
1238
|
-
//# sourceMappingURL=init-D6n2diBy.d.ts.map
|
|
1246
|
+
export { isLoggerLocked as a, StringRedactor as c, isInitialized as i, createStringRedactor as l, OtlpSignal as n, lockLogger as o, init as r, ProcessHandlersConfig as s, AutotelConfig as t };
|
|
@@ -238,13 +238,22 @@ interface OtlpDestinationConfig {
|
|
|
238
238
|
/**
|
|
239
239
|
* Protocol for this destination. Falls back to top-level `protocol`.
|
|
240
240
|
*/
|
|
241
|
-
protocol?:
|
|
241
|
+
protocol?: AutotelProtocol;
|
|
242
242
|
/**
|
|
243
243
|
* Signals to send to this destination.
|
|
244
244
|
* Defaults to all signals supported by the current init() config.
|
|
245
245
|
*/
|
|
246
246
|
signals?: OtlpSignal[];
|
|
247
247
|
}
|
|
248
|
+
/**
|
|
249
|
+
* OTLP wire protocols.
|
|
250
|
+
*
|
|
251
|
+
* `http` is OTLP/HTTP with a JSON body; `http/protobuf` is OTLP/HTTP with a
|
|
252
|
+
* protobuf body. They are not interchangeable: several vendors (Pydantic
|
|
253
|
+
* Logfire, PostHog) accept protobuf only and drop JSON silently, which looks
|
|
254
|
+
* exactly like emitting no telemetry at all.
|
|
255
|
+
*/
|
|
256
|
+
type AutotelProtocol = 'http' | 'http/protobuf' | 'grpc';
|
|
248
257
|
interface AutotelConfig {
|
|
249
258
|
/** Service name (required) */
|
|
250
259
|
service: string;
|
|
@@ -576,7 +585,7 @@ interface AutotelConfig {
|
|
|
576
585
|
*
|
|
577
586
|
* @default 'http'
|
|
578
587
|
*/
|
|
579
|
-
protocol?:
|
|
588
|
+
protocol?: AutotelProtocol;
|
|
580
589
|
/**
|
|
581
590
|
* Optional factory to build a customised NodeSDK instance from our defaults.
|
|
582
591
|
*/
|
|
@@ -1234,5 +1243,4 @@ declare function init(cfg: AutotelConfig): void;
|
|
|
1234
1243
|
*/
|
|
1235
1244
|
declare function isInitialized(): boolean;
|
|
1236
1245
|
//#endregion
|
|
1237
|
-
export { isLoggerLocked as a, StringRedactor as c, isInitialized as i, createStringRedactor as l, OtlpSignal as n, lockLogger as o, init as r, ProcessHandlersConfig as s, AutotelConfig as t };
|
|
1238
|
-
//# sourceMappingURL=init-XzXzrarP.d.cts.map
|
|
1246
|
+
export { isLoggerLocked as a, StringRedactor as c, isInitialized as i, createStringRedactor as l, OtlpSignal as n, lockLogger as o, init as r, ProcessHandlersConfig as s, AutotelConfig as t };
|
|
@@ -176,7 +176,8 @@ function resolveOtelEnv() {
|
|
|
176
176
|
}
|
|
177
177
|
if (process.env.OTEL_EXPORTER_OTLP_PROTOCOL) {
|
|
178
178
|
const value = process.env.OTEL_EXPORTER_OTLP_PROTOCOL.trim().toLowerCase();
|
|
179
|
-
if (value === "http" || value === "
|
|
179
|
+
if (value === "http" || value === "http/json") env.OTEL_EXPORTER_OTLP_PROTOCOL = "http";
|
|
180
|
+
else if (value === "http/protobuf" || value === "grpc") env.OTEL_EXPORTER_OTLP_PROTOCOL = value;
|
|
180
181
|
}
|
|
181
182
|
if (process.env.OTEL_TRACES_SAMPLER) {
|
|
182
183
|
const value = process.env.OTEL_TRACES_SAMPLER.trim();
|
|
@@ -2503,6 +2504,9 @@ function toOtelSampler(sampler) {
|
|
|
2503
2504
|
}
|
|
2504
2505
|
};
|
|
2505
2506
|
}
|
|
2507
|
+
let OTLPTraceExporterPROTO;
|
|
2508
|
+
let OTLPMetricExporterPROTO;
|
|
2509
|
+
let OTLPLogExporterPROTO;
|
|
2506
2510
|
let OTLPTraceExporterGRPC;
|
|
2507
2511
|
let OTLPMetricExporterGRPC;
|
|
2508
2512
|
let OTLPLogExporterGRPC;
|
|
@@ -2531,10 +2535,23 @@ function loadGRPCMetricExporter() {
|
|
|
2531
2535
|
}
|
|
2532
2536
|
}
|
|
2533
2537
|
/**
|
|
2538
|
+
* Helper: Lazy-load protobuf trace exporter
|
|
2539
|
+
*/
|
|
2540
|
+
function loadProtoTraceExporter() {
|
|
2541
|
+
if (OTLPTraceExporterPROTO) return OTLPTraceExporterPROTO;
|
|
2542
|
+
try {
|
|
2543
|
+
OTLPTraceExporterPROTO = require_node_require.requireModule("@opentelemetry/exporter-trace-otlp-proto").OTLPTraceExporter;
|
|
2544
|
+
return OTLPTraceExporterPROTO;
|
|
2545
|
+
} catch {
|
|
2546
|
+
throw new Error("Protobuf trace exporter not found. Install @opentelemetry/exporter-trace-otlp-proto");
|
|
2547
|
+
}
|
|
2548
|
+
}
|
|
2549
|
+
/**
|
|
2534
2550
|
* Helper: Create trace exporter based on protocol
|
|
2535
2551
|
*/
|
|
2536
2552
|
function createTraceExporter(protocol, config) {
|
|
2537
2553
|
if (protocol === "grpc") return new (loadGRPCTraceExporter())(config);
|
|
2554
|
+
if (protocol === "http/protobuf") return new (loadProtoTraceExporter())(config);
|
|
2538
2555
|
return new _opentelemetry_exporter_trace_otlp_http.OTLPTraceExporter(config);
|
|
2539
2556
|
}
|
|
2540
2557
|
/**
|
|
@@ -2542,6 +2559,14 @@ function createTraceExporter(protocol, config) {
|
|
|
2542
2559
|
*/
|
|
2543
2560
|
function createMetricExporter(protocol, config) {
|
|
2544
2561
|
if (protocol === "grpc") return new (loadGRPCMetricExporter())(config);
|
|
2562
|
+
if (protocol === "http/protobuf") {
|
|
2563
|
+
if (!OTLPMetricExporterPROTO) try {
|
|
2564
|
+
OTLPMetricExporterPROTO = require_node_require.requireModule("@opentelemetry/exporter-metrics-otlp-proto").OTLPMetricExporter;
|
|
2565
|
+
} catch {
|
|
2566
|
+
throw new Error("Protobuf metric exporter not found. Install @opentelemetry/exporter-metrics-otlp-proto");
|
|
2567
|
+
}
|
|
2568
|
+
return new OTLPMetricExporterPROTO(config);
|
|
2569
|
+
}
|
|
2545
2570
|
return new _opentelemetry_exporter_metrics_otlp_http.OTLPMetricExporter(config);
|
|
2546
2571
|
}
|
|
2547
2572
|
/**
|
|
@@ -2561,16 +2586,25 @@ function loadGRPCLogExporter() {
|
|
|
2561
2586
|
*/
|
|
2562
2587
|
function createLogExporter(protocol, config) {
|
|
2563
2588
|
if (protocol === "grpc") return new (loadGRPCLogExporter())(config);
|
|
2589
|
+
if (protocol === "http/protobuf") {
|
|
2590
|
+
if (!OTLPLogExporterPROTO) try {
|
|
2591
|
+
OTLPLogExporterPROTO = require_node_require.requireModule("@opentelemetry/exporter-logs-otlp-proto").OTLPLogExporter;
|
|
2592
|
+
} catch {
|
|
2593
|
+
throw new Error("Protobuf log exporter not found. Install @opentelemetry/exporter-logs-otlp-proto");
|
|
2594
|
+
}
|
|
2595
|
+
return new OTLPLogExporterPROTO(config);
|
|
2596
|
+
}
|
|
2564
2597
|
return new _opentelemetry_exporter_logs_otlp_http.OTLPLogExporter(config);
|
|
2565
2598
|
}
|
|
2566
2599
|
/**
|
|
2567
2600
|
* Helper: Resolve protocol from config and environment
|
|
2568
2601
|
*/
|
|
2569
2602
|
function resolveProtocol(configProtocol) {
|
|
2570
|
-
if (configProtocol === "grpc" || configProtocol === "http") return configProtocol;
|
|
2603
|
+
if (configProtocol === "grpc" || configProtocol === "http" || configProtocol === "http/protobuf") return configProtocol;
|
|
2571
2604
|
const envProtocol = process.env.OTEL_EXPORTER_OTLP_PROTOCOL;
|
|
2572
2605
|
if (envProtocol === "grpc") return "grpc";
|
|
2573
|
-
if (envProtocol === "http/protobuf"
|
|
2606
|
+
if (envProtocol === "http/protobuf") return "http/protobuf";
|
|
2607
|
+
if (envProtocol === "http/json" || envProtocol === "http") return "http";
|
|
2574
2608
|
return "http";
|
|
2575
2609
|
}
|
|
2576
2610
|
/**
|
|
@@ -3367,5 +3401,4 @@ Object.defineProperty(exports, 'track', {
|
|
|
3367
3401
|
get: function () {
|
|
3368
3402
|
return track;
|
|
3369
3403
|
}
|
|
3370
|
-
});
|
|
3371
|
-
//# sourceMappingURL=init-C3RApHKJ.cjs.map
|
|
3404
|
+
});
|
|
@@ -174,7 +174,8 @@ function resolveOtelEnv() {
|
|
|
174
174
|
}
|
|
175
175
|
if (process.env.OTEL_EXPORTER_OTLP_PROTOCOL) {
|
|
176
176
|
const value = process.env.OTEL_EXPORTER_OTLP_PROTOCOL.trim().toLowerCase();
|
|
177
|
-
if (value === "http" || value === "
|
|
177
|
+
if (value === "http" || value === "http/json") env.OTEL_EXPORTER_OTLP_PROTOCOL = "http";
|
|
178
|
+
else if (value === "http/protobuf" || value === "grpc") env.OTEL_EXPORTER_OTLP_PROTOCOL = value;
|
|
178
179
|
}
|
|
179
180
|
if (process.env.OTEL_TRACES_SAMPLER) {
|
|
180
181
|
const value = process.env.OTEL_TRACES_SAMPLER.trim();
|
|
@@ -2501,6 +2502,9 @@ function toOtelSampler(sampler) {
|
|
|
2501
2502
|
}
|
|
2502
2503
|
};
|
|
2503
2504
|
}
|
|
2505
|
+
let OTLPTraceExporterPROTO;
|
|
2506
|
+
let OTLPMetricExporterPROTO;
|
|
2507
|
+
let OTLPLogExporterPROTO;
|
|
2504
2508
|
let OTLPTraceExporterGRPC;
|
|
2505
2509
|
let OTLPMetricExporterGRPC;
|
|
2506
2510
|
let OTLPLogExporterGRPC;
|
|
@@ -2529,10 +2533,23 @@ function loadGRPCMetricExporter() {
|
|
|
2529
2533
|
}
|
|
2530
2534
|
}
|
|
2531
2535
|
/**
|
|
2536
|
+
* Helper: Lazy-load protobuf trace exporter
|
|
2537
|
+
*/
|
|
2538
|
+
function loadProtoTraceExporter() {
|
|
2539
|
+
if (OTLPTraceExporterPROTO) return OTLPTraceExporterPROTO;
|
|
2540
|
+
try {
|
|
2541
|
+
OTLPTraceExporterPROTO = requireModule("@opentelemetry/exporter-trace-otlp-proto").OTLPTraceExporter;
|
|
2542
|
+
return OTLPTraceExporterPROTO;
|
|
2543
|
+
} catch {
|
|
2544
|
+
throw new Error("Protobuf trace exporter not found. Install @opentelemetry/exporter-trace-otlp-proto");
|
|
2545
|
+
}
|
|
2546
|
+
}
|
|
2547
|
+
/**
|
|
2532
2548
|
* Helper: Create trace exporter based on protocol
|
|
2533
2549
|
*/
|
|
2534
2550
|
function createTraceExporter(protocol, config) {
|
|
2535
2551
|
if (protocol === "grpc") return new (loadGRPCTraceExporter())(config);
|
|
2552
|
+
if (protocol === "http/protobuf") return new (loadProtoTraceExporter())(config);
|
|
2536
2553
|
return new OTLPTraceExporter(config);
|
|
2537
2554
|
}
|
|
2538
2555
|
/**
|
|
@@ -2540,6 +2557,14 @@ function createTraceExporter(protocol, config) {
|
|
|
2540
2557
|
*/
|
|
2541
2558
|
function createMetricExporter(protocol, config) {
|
|
2542
2559
|
if (protocol === "grpc") return new (loadGRPCMetricExporter())(config);
|
|
2560
|
+
if (protocol === "http/protobuf") {
|
|
2561
|
+
if (!OTLPMetricExporterPROTO) try {
|
|
2562
|
+
OTLPMetricExporterPROTO = requireModule("@opentelemetry/exporter-metrics-otlp-proto").OTLPMetricExporter;
|
|
2563
|
+
} catch {
|
|
2564
|
+
throw new Error("Protobuf metric exporter not found. Install @opentelemetry/exporter-metrics-otlp-proto");
|
|
2565
|
+
}
|
|
2566
|
+
return new OTLPMetricExporterPROTO(config);
|
|
2567
|
+
}
|
|
2543
2568
|
return new OTLPMetricExporter(config);
|
|
2544
2569
|
}
|
|
2545
2570
|
/**
|
|
@@ -2559,16 +2584,25 @@ function loadGRPCLogExporter() {
|
|
|
2559
2584
|
*/
|
|
2560
2585
|
function createLogExporter(protocol, config) {
|
|
2561
2586
|
if (protocol === "grpc") return new (loadGRPCLogExporter())(config);
|
|
2587
|
+
if (protocol === "http/protobuf") {
|
|
2588
|
+
if (!OTLPLogExporterPROTO) try {
|
|
2589
|
+
OTLPLogExporterPROTO = requireModule("@opentelemetry/exporter-logs-otlp-proto").OTLPLogExporter;
|
|
2590
|
+
} catch {
|
|
2591
|
+
throw new Error("Protobuf log exporter not found. Install @opentelemetry/exporter-logs-otlp-proto");
|
|
2592
|
+
}
|
|
2593
|
+
return new OTLPLogExporterPROTO(config);
|
|
2594
|
+
}
|
|
2562
2595
|
return new OTLPLogExporter(config);
|
|
2563
2596
|
}
|
|
2564
2597
|
/**
|
|
2565
2598
|
* Helper: Resolve protocol from config and environment
|
|
2566
2599
|
*/
|
|
2567
2600
|
function resolveProtocol(configProtocol) {
|
|
2568
|
-
if (configProtocol === "grpc" || configProtocol === "http") return configProtocol;
|
|
2601
|
+
if (configProtocol === "grpc" || configProtocol === "http" || configProtocol === "http/protobuf") return configProtocol;
|
|
2569
2602
|
const envProtocol = process.env.OTEL_EXPORTER_OTLP_PROTOCOL;
|
|
2570
2603
|
if (envProtocol === "grpc") return "grpc";
|
|
2571
|
-
if (envProtocol === "http/protobuf"
|
|
2604
|
+
if (envProtocol === "http/protobuf") return "http/protobuf";
|
|
2605
|
+
if (envProtocol === "http/json" || envProtocol === "http") return "http";
|
|
2572
2606
|
return "http";
|
|
2573
2607
|
}
|
|
2574
2608
|
/**
|
|
@@ -3186,5 +3220,4 @@ function getSdk() {
|
|
|
3186
3220
|
}
|
|
3187
3221
|
|
|
3188
3222
|
//#endregion
|
|
3189
|
-
export { BaggageSpanProcessor as A, setCorrelationId as C, getActiveContextWithBaggage as D, defineBaggageSchema as E, getContextStorage as O, runWithCorrelationId as S, createTraceContext as T, CORRELATION_ID_BAGGAGE_KEY as _, isInitialized as a, getCorrelationStorage as b, flush as c, getEvents as d, resetEvents as f, track as g, getEventQueue as h, init as i, createStringRedactor as k, shutdown as l, runInOperationContext as m, getLogger as n, isLoggerLocked as o, getOperationContext as p, getSdk as r, lockLogger as s, getConfig as t, Event as u, generateCorrelationId as v, setCorrelationIdInBaggage as w, getOrCreateCorrelationId as x, getCorrelationId as y };
|
|
3190
|
-
//# sourceMappingURL=init-R-gSEXkJ.js.map
|
|
3223
|
+
export { BaggageSpanProcessor as A, setCorrelationId as C, getActiveContextWithBaggage as D, defineBaggageSchema as E, getContextStorage as O, runWithCorrelationId as S, createTraceContext as T, CORRELATION_ID_BAGGAGE_KEY as _, isInitialized as a, getCorrelationStorage as b, flush as c, getEvents as d, resetEvents as f, track as g, getEventQueue as h, init as i, createStringRedactor as k, shutdown as l, runInOperationContext as m, getLogger as n, isLoggerLocked as o, getOperationContext as p, getSdk as r, lockLogger as s, getConfig as t, Event as u, generateCorrelationId as v, setCorrelationIdInBaggage as w, getOrCreateCorrelationId as x, getCorrelationId as y };
|
package/dist/instrumentation.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
const require_node_require = require('./node-require-PFqDihze.cjs');
|
|
3
|
-
const require_init = require('./init-
|
|
3
|
+
const require_init = require('./init-CzNFWUd8.cjs');
|
|
4
4
|
const require_tail_sampling_processor = require('./tail-sampling-processor.cjs');
|
|
5
5
|
let _opentelemetry_sdk_node = require("@opentelemetry/sdk-node");
|
|
6
6
|
let _opentelemetry_sdk_trace_base = require("@opentelemetry/sdk-trace-base");
|
|
@@ -162,5 +162,4 @@ async function initInstrumentation(config) {
|
|
|
162
162
|
|
|
163
163
|
//#endregion
|
|
164
164
|
exports.initInstrumentation = initInstrumentation;
|
|
165
|
-
exports.shutdownInstrumentation = shutdownInstrumentation;
|
|
166
|
-
//# sourceMappingURL=instrumentation.cjs.map
|
|
165
|
+
exports.shutdownInstrumentation = shutdownInstrumentation;
|
|
@@ -46,5 +46,4 @@ interface InstrumentationConfig {
|
|
|
46
46
|
declare function shutdownInstrumentation(sdk?: NodeSDK): Promise<void>;
|
|
47
47
|
declare function initInstrumentation(config: InstrumentationConfig): Promise<NodeSDK>;
|
|
48
48
|
//#endregion
|
|
49
|
-
export { InstrumentationConfig, initInstrumentation, shutdownInstrumentation };
|
|
50
|
-
//# sourceMappingURL=instrumentation.d.cts.map
|
|
49
|
+
export { InstrumentationConfig, initInstrumentation, shutdownInstrumentation };
|
|
@@ -46,5 +46,4 @@ interface InstrumentationConfig {
|
|
|
46
46
|
declare function shutdownInstrumentation(sdk?: NodeSDK): Promise<void>;
|
|
47
47
|
declare function initInstrumentation(config: InstrumentationConfig): Promise<NodeSDK>;
|
|
48
48
|
//#endregion
|
|
49
|
-
export { InstrumentationConfig, initInstrumentation, shutdownInstrumentation };
|
|
50
|
-
//# sourceMappingURL=instrumentation.d.ts.map
|
|
49
|
+
export { InstrumentationConfig, initInstrumentation, shutdownInstrumentation };
|
package/dist/instrumentation.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as safeRequire, t as requireModule } from "./node-require-vROmTeJ8.js";
|
|
2
|
-
import { n as getLogger } from "./init-
|
|
2
|
+
import { n as getLogger } from "./init-DDkh2brw.js";
|
|
3
3
|
import { TailSamplingSpanProcessor } from "./tail-sampling-processor.js";
|
|
4
4
|
import { NodeSDK } from "@opentelemetry/sdk-node";
|
|
5
5
|
import { BatchSpanProcessor } from "@opentelemetry/sdk-trace-base";
|
|
@@ -160,5 +160,4 @@ async function initInstrumentation(config) {
|
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
//#endregion
|
|
163
|
-
export { initInstrumentation, shutdownInstrumentation };
|
|
164
|
-
//# sourceMappingURL=instrumentation.js.map
|
|
163
|
+
export { initInstrumentation, shutdownInstrumentation };
|
|
@@ -308,5 +308,4 @@ interface LoggedOperationOptions {
|
|
|
308
308
|
*/
|
|
309
309
|
declare function LoggedOperation(operationNameOrOptions: string | LoggedOperationOptions): <This, Args extends unknown[], Return>(originalMethod: (this: This, ...args: Args) => Promise<Return>, context: ClassMethodDecoratorContext<This, (this: This, ...args: Args) => Promise<Return>>) => (this: This, ...args: Args) => Promise<Return>;
|
|
310
310
|
//#endregion
|
|
311
|
-
export { LoggedOperation as a, LoggerConfig as c, BuiltinLoggerOptions as d, autotelLogger as f, runWithLogLevel as g, getTraceContext as h, LogLevel as i, PinoLogger as l, getActiveLogLevel as m, LOG_LEVEL as n, LoggedOperationOptions as o, createBuiltinLogger as p, LogFn as r, Logger as s, ILogger as t, BuiltinLogLevel as u };
|
|
312
|
-
//# sourceMappingURL=logger-CN4xpzMd.d.cts.map
|
|
311
|
+
export { LoggedOperation as a, LoggerConfig as c, BuiltinLoggerOptions as d, autotelLogger as f, runWithLogLevel as g, getTraceContext as h, LogLevel as i, PinoLogger as l, getActiveLogLevel as m, LOG_LEVEL as n, LoggedOperationOptions as o, createBuiltinLogger as p, LogFn as r, Logger as s, ILogger as t, BuiltinLogLevel as u };
|
|
@@ -308,5 +308,4 @@ interface LoggedOperationOptions {
|
|
|
308
308
|
*/
|
|
309
309
|
declare function LoggedOperation(operationNameOrOptions: string | LoggedOperationOptions): <This, Args extends unknown[], Return>(originalMethod: (this: This, ...args: Args) => Promise<Return>, context: ClassMethodDecoratorContext<This, (this: This, ...args: Args) => Promise<Return>>) => (this: This, ...args: Args) => Promise<Return>;
|
|
310
310
|
//#endregion
|
|
311
|
-
export { LoggedOperation as a, LoggerConfig as c, BuiltinLoggerOptions as d, autotelLogger as f, runWithLogLevel as g, getTraceContext as h, LogLevel as i, PinoLogger as l, getActiveLogLevel as m, LOG_LEVEL as n, LoggedOperationOptions as o, createBuiltinLogger as p, LogFn as r, Logger as s, ILogger as t, BuiltinLogLevel as u };
|
|
312
|
-
//# sourceMappingURL=logger-CN4xpzMd.d.ts.map
|
|
311
|
+
export { LoggedOperation as a, LoggerConfig as c, BuiltinLoggerOptions as d, autotelLogger as f, runWithLogLevel as g, getTraceContext as h, LogLevel as i, PinoLogger as l, getActiveLogLevel as m, LOG_LEVEL as n, LoggedOperationOptions as o, createBuiltinLogger as p, LogFn as r, Logger as s, ILogger as t, BuiltinLogLevel as u };
|
package/dist/logger-D3Ej3DII.js
CHANGED
|
@@ -442,5 +442,4 @@ function LoggedOperation(operationNameOrOptions) {
|
|
|
442
442
|
}
|
|
443
443
|
|
|
444
444
|
//#endregion
|
|
445
|
-
export { getActiveLogLevel as a, createBuiltinLogger as i, LoggedOperation as n, getTraceContext as o, autotelLogger as r, runWithLogLevel as s, LOG_LEVEL as t };
|
|
446
|
-
//# sourceMappingURL=logger-D3Ej3DII.js.map
|
|
445
|
+
export { getActiveLogLevel as a, createBuiltinLogger as i, LoggedOperation as n, getTraceContext as o, autotelLogger as r, runWithLogLevel as s, LOG_LEVEL as t };
|
package/dist/logger-thMPLpOG.cjs
CHANGED
|
@@ -305,5 +305,4 @@ exports.cloudflareQueuesAdapter = cloudflareQueuesAdapter;
|
|
|
305
305
|
exports.datadogContextExtractor = datadogContextExtractor;
|
|
306
306
|
exports.natsAdapter = natsAdapter;
|
|
307
307
|
exports.temporalAdapter = temporalAdapter;
|
|
308
|
-
exports.xrayContextExtractor = xrayContextExtractor;
|
|
309
|
-
//# sourceMappingURL=messaging-adapters.cjs.map
|
|
308
|
+
exports.xrayContextExtractor = xrayContextExtractor;
|