@payloops/observability 0.0.11 → 0.0.12

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -388,8 +388,7 @@ function emitToOtel(level, message, attributes) {
388
388
  env: NODE_ENV,
389
389
  ...attributes
390
390
  },
391
- timestamp: Date.now() * 1e6,
392
- // nanoseconds
391
+ // Don't set timestamp - let OTel SDK use current time automatically
393
392
  ...spanContext && {
394
393
  spanId: spanContext.spanId,
395
394
  traceId: spanContext.traceId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payloops/observability",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",