nucliadb-telemetry 6.7.0.post4800__py3-none-any.whl → 6.7.0.post4806__py3-none-any.whl
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 nucliadb-telemetry might be problematic. Click here for more details.
- nucliadb_telemetry/logs.py +2 -2
- {nucliadb_telemetry-6.7.0.post4800.dist-info → nucliadb_telemetry-6.7.0.post4806.dist-info}/METADATA +1 -1
- {nucliadb_telemetry-6.7.0.post4800.dist-info → nucliadb_telemetry-6.7.0.post4806.dist-info}/RECORD +5 -5
- {nucliadb_telemetry-6.7.0.post4800.dist-info → nucliadb_telemetry-6.7.0.post4806.dist-info}/WHEEL +0 -0
- {nucliadb_telemetry-6.7.0.post4800.dist-info → nucliadb_telemetry-6.7.0.post4806.dist-info}/top_level.txt +0 -0
nucliadb_telemetry/logs.py
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
import logging
|
|
18
18
|
import os
|
|
19
19
|
from copy import copy
|
|
20
|
-
from datetime import datetime
|
|
20
|
+
from datetime import datetime, timezone
|
|
21
21
|
from logging.handlers import RotatingFileHandler
|
|
22
22
|
from typing import Any, Dict, Optional
|
|
23
23
|
|
|
@@ -99,7 +99,7 @@ class JSONFormatter(logging.Formatter):
|
|
|
99
99
|
|
|
100
100
|
def fill_log_data(self, data: Dict[str, Any], record: logging.LogRecord) -> None:
|
|
101
101
|
if "time" not in data:
|
|
102
|
-
data["time"] = datetime.
|
|
102
|
+
data["time"] = datetime.now(timezone.utc)
|
|
103
103
|
|
|
104
104
|
if record.exc_info:
|
|
105
105
|
data["exc_info"] = self.formatException(record.exc_info)
|
{nucliadb_telemetry-6.7.0.post4800.dist-info → nucliadb_telemetry-6.7.0.post4806.dist-info}/RECORD
RENAMED
|
@@ -8,7 +8,7 @@ nucliadb_telemetry/grpc_metrics.py,sha256=ZH9c0GMb7psdrnz5T2mCyv0Fj4KXeaW5JY9Tnj
|
|
|
8
8
|
nucliadb_telemetry/grpc_sentry.py,sha256=GgncQqN4ZCRyatXLbJbxnJNY9H9o9Jx1eWVuqcXSVPY,2409
|
|
9
9
|
nucliadb_telemetry/jaeger.py,sha256=BWFJ8-i_7b7UVnRqjxZz_QgyIiq9W1xCCyCsWlNMfAo,6786
|
|
10
10
|
nucliadb_telemetry/jetstream.py,sha256=0wkdo78SEY0P2qIvlfTHZELQnMquUHD2oToDL6BzbuM,11803
|
|
11
|
-
nucliadb_telemetry/logs.py,sha256=
|
|
11
|
+
nucliadb_telemetry/logs.py,sha256=L74RiKvnIFwP7EukkYi_9g9cNNELGBF5KYKih7_WM7M,9080
|
|
12
12
|
nucliadb_telemetry/metrics.py,sha256=SjNCl7erLxV1n4i_5WyFEZo-oq3HuCKpjFOkOb7sWZ4,8402
|
|
13
13
|
nucliadb_telemetry/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
14
|
nucliadb_telemetry/settings.py,sha256=3pskwvZ165lshedP8SJA4GbX2iR17nvKBLgkn1lnBP8,2261
|
|
@@ -30,7 +30,7 @@ nucliadb_telemetry/tests/grpc/helloworld_pb2.py,sha256=ht4dmi0pAy6qDrwcjkbtSf_hO
|
|
|
30
30
|
nucliadb_telemetry/tests/grpc/helloworld_pb2.pyi,sha256=mBZCQE6z7riQw6fOegJgZ5lHmXqO23_zxL8iQMqSqms,1191
|
|
31
31
|
nucliadb_telemetry/tests/grpc/helloworld_pb2_grpc.py,sha256=_jxUNxl4Fx-JztK9RO5R6osjNP2sVNVPAxLnmczEYOc,2677
|
|
32
32
|
nucliadb_telemetry/tests/grpc/helloworld_pb2_grpc.pyi,sha256=Y6teCx-PhPU-rI6w5ItLBKaTb34FLpngPnuDVWtNve4,958
|
|
33
|
-
nucliadb_telemetry-6.7.0.
|
|
34
|
-
nucliadb_telemetry-6.7.0.
|
|
35
|
-
nucliadb_telemetry-6.7.0.
|
|
36
|
-
nucliadb_telemetry-6.7.0.
|
|
33
|
+
nucliadb_telemetry-6.7.0.post4806.dist-info/METADATA,sha256=kRv-3CjOLVQujP6YT9zLQh8vs9iV1NGFY6lNSUhboY8,10986
|
|
34
|
+
nucliadb_telemetry-6.7.0.post4806.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
35
|
+
nucliadb_telemetry-6.7.0.post4806.dist-info/top_level.txt,sha256=3qEHI_5ttqQIL2gkNYwSlKsFyBBiEzDiIy9UKISzOaQ,19
|
|
36
|
+
nucliadb_telemetry-6.7.0.post4806.dist-info/RECORD,,
|
{nucliadb_telemetry-6.7.0.post4800.dist-info → nucliadb_telemetry-6.7.0.post4806.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|