otel-utils 0.1.15__tar.gz → 0.1.16__tar.gz

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.

Potentially problematic release.


This version of otel-utils might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: otel-utils
3
- Version: 0.1.15
3
+ Version: 0.1.16
4
4
  Summary: Utilidades simplificadas para instrumentación con OpenTelemetry
5
5
  License: Proprietary
6
6
  Author: Harold Portocarrero
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "otel-utils"
3
- version = "0.1.15"
3
+ version = "0.1.16"
4
4
  description = "Utilidades simplificadas para instrumentación con OpenTelemetry"
5
5
  authors = ["Harold Portocarrero <harold@getcometa.com>"]
6
6
  readme = "README.md"
@@ -50,8 +50,7 @@ class StructuredLogger:
50
50
  **self.default_attributes,
51
51
  "timestamp": datetime.utcnow().isoformat(),
52
52
  "severity": logging.getLevelName(level),
53
- "logger.name": self.logger.name,
54
- **trace_context
53
+ "logger.name": self.logger.name
55
54
  }
56
55
 
57
56
  additional_info = []
@@ -83,8 +82,6 @@ class StructuredLogger:
83
82
  "structured": True,
84
83
  "otel.name": "log",
85
84
  "otel.kind": "event",
86
- "otelTraceID": trace_context.get("trace_id", ""),
87
- "otelSpanID": trace_context.get("span_id", ""),
88
85
  **log_attributes
89
86
  }
90
87
  )
File without changes