python-opencensus-ext-azure/python313.patch
John Paul Adrian Glaubitz c7b01e4fde - Refresh opencensus-pr1002-remove-mock.patch with latest code
- Add python313.patch to make it compatible with python313,
  gh#census-instrumentation/opencensus-python#1248
- Update to 1.1.14
  * Remove status code 206 from retry code + only count batch level for statsbeat (#1247)
- from version 1.1.13
  * Changed bit-mapping for httpx and fastapi integrations
- from version 1.1.12
  * Fix missing/None fields in ExceptionDetails (#1232)
  * Fix missing/None typeName field in ExceptionDetails (#1234)
- from version 1.1.11
  * Add str fallback to envelope serialization (#1196)
  * Remove outerId from exceptiondata (#1221)
- from version 1.1.10
  * Various bug fixes
- from version 1.1.9
  * Fix export of exception information in traces (#1187)
  * Modify metrics exporter to include setting export interval to 60s
- from version 1.1.8
  * Disable storage for statsbeat if storage is disabled for exporter (#1155)
  * Add UK to eu statsbeats (#1181)
- from version 1.1.7
  * Add storage existence checks to storing and transmitting in exporter (#1150)
  * Add 502 and 504 status codes as retriable (#1153)
  * Fix statsbeat bug - exporting zero values for network statsbeat

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opencensus-ext-azure?expand=0&rev=12
2025-02-06 13:00:40 +00:00

15 lines
687 B
Diff

Index: opencensus-python-0.11.4-1.1.14/contrib/opencensus-ext-azure/opencensus/ext/azure/log_exporter/__init__.py
===================================================================
--- opencensus-python-0.11.4-1.1.14.orig/contrib/opencensus-ext-azure/opencensus/ext/azure/log_exporter/__init__.py
+++ opencensus-python-0.11.4-1.1.14/contrib/opencensus-ext-azure/opencensus/ext/azure/log_exporter/__init__.py
@@ -102,9 +102,6 @@ class BaseLogHandler(logging.Handler):
self._worker.stop(timeout)
super(BaseLogHandler, self).close()
- def createLock(self):
- self.lock = None
-
def emit(self, record):
self._queue.put(record, block=False)