sovereign 0.32.4__py3-none-any.whl → 0.32.6__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 sovereign might be problematic. Click here for more details.
- sovereign/statistics.py +6 -4
- {sovereign-0.32.4.dist-info → sovereign-0.32.6.dist-info}/METADATA +2 -2
- {sovereign-0.32.4.dist-info → sovereign-0.32.6.dist-info}/RECORD +6 -6
- {sovereign-0.32.4.dist-info → sovereign-0.32.6.dist-info}/LICENSE.txt +0 -0
- {sovereign-0.32.4.dist-info → sovereign-0.32.6.dist-info}/WHEEL +0 -0
- {sovereign-0.32.4.dist-info → sovereign-0.32.6.dist-info}/entry_points.txt +0 -0
sovereign/statistics.py
CHANGED
|
@@ -48,10 +48,12 @@ def configure_statsd(config: StatsdConfig) -> StatsDProxy:
|
|
|
48
48
|
from datadog import DogStatsd
|
|
49
49
|
|
|
50
50
|
class CustomStatsd(DogStatsd): # type: ignore
|
|
51
|
-
def _report(self,
|
|
52
|
-
super()._report(
|
|
53
|
-
|
|
54
|
-
|
|
51
|
+
def _report(self, *args, **kwargs) -> None: # type: ignore
|
|
52
|
+
super()._report(*args, **kwargs)
|
|
53
|
+
# Capture the metric name and increment its count for debugging
|
|
54
|
+
if metric := kwargs.get("metric"):
|
|
55
|
+
self.emitted: Dict[str, Any] = dict()
|
|
56
|
+
self.emitted[metric] = self.emitted.setdefault(metric, 0) + 1
|
|
55
57
|
|
|
56
58
|
module: Optional[CustomStatsd]
|
|
57
59
|
module = CustomStatsd()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sovereign
|
|
3
|
-
Version: 0.32.
|
|
3
|
+
Version: 0.32.6
|
|
4
4
|
Summary: Envoy Proxy control-plane written in Python
|
|
5
5
|
Home-page: https://pypi.org/project/sovereign/
|
|
6
6
|
License: Apache-2.0
|
|
@@ -39,7 +39,7 @@ Requires-Dist: cachelib (>=0.10.2,<0.11.0)
|
|
|
39
39
|
Requires-Dist: cachetools (>=5.3.2,<6.0.0)
|
|
40
40
|
Requires-Dist: cashews[redis] (>=6.3.0,<7.0.0) ; extra == "caching"
|
|
41
41
|
Requires-Dist: croniter (>=1.4.1,<2.0.0)
|
|
42
|
-
Requires-Dist: cryptography (
|
|
42
|
+
Requires-Dist: cryptography (==45.0.2)
|
|
43
43
|
Requires-Dist: datadog (>=0.50.1) ; extra == "statsd"
|
|
44
44
|
Requires-Dist: fastapi (>=0.116.0,<0.117.0)
|
|
45
45
|
Requires-Dist: glom (>=23.3.0,<24.0.0)
|
|
@@ -27,7 +27,7 @@ sovereign/static/panel.js,sha256=fgAGJo2d_MvAG5rcraY9rvY-TgmTtBbCs4SvzugYssE,200
|
|
|
27
27
|
sovereign/static/sass/style.scss,sha256=tPHPEm3sZeBFGDyyn3pHcA-nbaKT-h-UsSTsf6dHNDU,1158
|
|
28
28
|
sovereign/static/search_filter.js,sha256=StfTXTu9mGnkwObkIbuWk1DfwFTheXzrQ6OVq_7E3v4,697
|
|
29
29
|
sovereign/static/style.css,sha256=vG8HPsbCbPIZfHgy7gSeof97Pnp0okkyaXyJzIEEW-8,447517
|
|
30
|
-
sovereign/statistics.py,sha256=
|
|
30
|
+
sovereign/statistics.py,sha256=oXdxz6A_64rMY_-Bu0c0c3QyZjyeHIFmdX7MK36D5Ag,2415
|
|
31
31
|
sovereign/templates/base.html,sha256=5vw3-NmN291pXRdArpCwhSce9bAYBWCJVRhvO5EmE9g,2296
|
|
32
32
|
sovereign/templates/err.html,sha256=a3cEzOqyqWOIe3YxfTEjkxbTfxBxq1knD6GwzEFljfs,603
|
|
33
33
|
sovereign/templates/resources.html,sha256=feN7iClAUccPu7WQ-xIOyDZ7qEaTK5l5NahxzFGv2Wg,7803
|
|
@@ -58,8 +58,8 @@ sovereign/views/crypto.py,sha256=7y0eHWtt-bbr2CwHEkH7odPaJ1IEviU-71U-MYJD0Kc,336
|
|
|
58
58
|
sovereign/views/discovery.py,sha256=S8Mp3TfcEyfyFfr234xmXSUxH5x27OdBZ5NzrOsiIu0,6348
|
|
59
59
|
sovereign/views/healthchecks.py,sha256=8BA11nigm1btnBOdtXGN1B04Ow2uswWNNsuKoPLXgh0,1393
|
|
60
60
|
sovereign/views/interface.py,sha256=KoLB3YIZGulrYOV6MA6ucmQzlmSDrYEO8uq045awy1Q,7712
|
|
61
|
-
sovereign-0.32.
|
|
62
|
-
sovereign-0.32.
|
|
63
|
-
sovereign-0.32.
|
|
64
|
-
sovereign-0.32.
|
|
65
|
-
sovereign-0.32.
|
|
61
|
+
sovereign-0.32.6.dist-info/LICENSE.txt,sha256=2X125zvAb9AYLjCgdMDQZuufhm0kwcg31A8pGKj_-VY,560
|
|
62
|
+
sovereign-0.32.6.dist-info/METADATA,sha256=acqhsQLtbkVTES2SGAfw6vyvZWrN5AkF9CoP1t7yobQ,6260
|
|
63
|
+
sovereign-0.32.6.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
64
|
+
sovereign-0.32.6.dist-info/entry_points.txt,sha256=CTCjlomxNz2Ii4hYbN-gEZPBrZNUCcmJcb7NYqm4Nn8,1328
|
|
65
|
+
sovereign-0.32.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|