All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.build.cjs.propagationContext.js Maven / Gradle / Ivy

There is a newer version: 8.38.0
Show newest version
Object.defineProperty(exports, '__esModule', { value: true });

const misc = require('./misc.js');

/**
 * Returns a new minimal propagation context
 */
function generatePropagationContext() {
  return {
    traceId: misc.uuid4(),
    spanId: misc.uuid4().substring(16),
  };
}

exports.generatePropagationContext = generatePropagationContext;
//# sourceMappingURL=propagationContext.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy