c2cwsgiutils 6.1.9.dev19__py3-none-any.whl → 6.1.9.dev39__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 c2cwsgiutils might be problematic. Click here for more details.
- c2cwsgiutils/acceptance/package-lock.json +3 -3
- c2cwsgiutils/prometheus.py +5 -0
- {c2cwsgiutils-6.1.9.dev19.dist-info → c2cwsgiutils-6.1.9.dev39.dist-info}/LICENSE +1 -1
- {c2cwsgiutils-6.1.9.dev19.dist-info → c2cwsgiutils-6.1.9.dev39.dist-info}/METADATA +1 -1
- {c2cwsgiutils-6.1.9.dev19.dist-info → c2cwsgiutils-6.1.9.dev39.dist-info}/RECORD +7 -7
- {c2cwsgiutils-6.1.9.dev19.dist-info → c2cwsgiutils-6.1.9.dev39.dist-info}/WHEEL +0 -0
- {c2cwsgiutils-6.1.9.dev19.dist-info → c2cwsgiutils-6.1.9.dev39.dist-info}/entry_points.txt +0 -0
|
@@ -735,9 +735,9 @@
|
|
|
735
735
|
"license": "MIT"
|
|
736
736
|
},
|
|
737
737
|
"node_modules/js-yaml": {
|
|
738
|
-
"version": "4.1.
|
|
739
|
-
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.
|
|
740
|
-
"integrity": "sha512-
|
|
738
|
+
"version": "4.1.1",
|
|
739
|
+
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz",
|
|
740
|
+
"integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==",
|
|
741
741
|
"license": "MIT",
|
|
742
742
|
"dependencies": {
|
|
743
743
|
"argparse": "^2.0.1"
|
c2cwsgiutils/prometheus.py
CHANGED
|
@@ -132,6 +132,7 @@ class MultiProcessCustomCollector(prometheus_client.registry.Collector):
|
|
|
132
132
|
def _deserialize_collected_data(
|
|
133
133
|
results: list[list[SerializedMetric]],
|
|
134
134
|
) -> Generator[prometheus_client.core.Metric, None, None]:
|
|
135
|
+
imported = set()
|
|
135
136
|
for serialized_collection in results:
|
|
136
137
|
if serialized_collection is None:
|
|
137
138
|
continue
|
|
@@ -149,6 +150,10 @@ def _deserialize_collected_data(
|
|
|
149
150
|
else:
|
|
150
151
|
raise NotImplementedError()
|
|
151
152
|
for sample in serialized_metric["samples"]:
|
|
153
|
+
canonical = (sample["name"], frozenset(sample.get("labels", {}).items()))
|
|
154
|
+
if canonical in imported:
|
|
155
|
+
continue
|
|
156
|
+
imported.add(canonical)
|
|
152
157
|
metric.samples.append(
|
|
153
158
|
prometheus_client.metrics_core.Sample(**sample), # type: ignore[attr-defined]
|
|
154
159
|
)
|
|
@@ -2,7 +2,7 @@ c2cwsgiutils/__init__.py,sha256=HVSc-4O8i2aB0ozEI4AI8Xsb-4S6fAwhl8uRhv-DsFg,4057
|
|
|
2
2
|
c2cwsgiutils/acceptance/__init__.py,sha256=TJA1yzmyPujkg80oj-LBj2ueOQVYL8HLW87pejWTIDY,1501
|
|
3
3
|
c2cwsgiutils/acceptance/connection.py,sha256=yqChhHBpYhQL0Cb7K8FqeP16jg1UtmxGAi6Tw1TXEbI,9783
|
|
4
4
|
c2cwsgiutils/acceptance/image.py,sha256=Wi4EXDTKZ-uyIIQFn8SpRpUTzbpj5LlCwSkLjcYRGTk,9269
|
|
5
|
-
c2cwsgiutils/acceptance/package-lock.json,sha256=
|
|
5
|
+
c2cwsgiutils/acceptance/package-lock.json,sha256=s9K_-AtzWSi5G6G6fokW80YKdmG39VZ8hu7WnqhAfVI,47966
|
|
6
6
|
c2cwsgiutils/acceptance/package.json,sha256=DiJUVhci1sP-qu71s3RzxcsF4GsZdo2ZOUeqX3148ss,101
|
|
7
7
|
c2cwsgiutils/acceptance/print.py,sha256=qdh6pqlHgkIjUCJxS3rcgpOV4fDk9RxFlkfH5aAwDsQ,2567
|
|
8
8
|
c2cwsgiutils/acceptance/screenshot.js,sha256=FAJYIWOLJFMm0MNggKzo3mIybtN-VtKLdMzPhQ9pO1g,2041
|
|
@@ -30,7 +30,7 @@ c2cwsgiutils/logging_view.py,sha256=d0UkvYRGkVUMY9_vbjEzXmm8-6CCec2B43a3mJAqWyw,
|
|
|
30
30
|
c2cwsgiutils/models_graph.py,sha256=q5dW_gZ5iUZCzBya5Kpy57y9oqsG-rGi9AvrXCDgYqs,2679
|
|
31
31
|
c2cwsgiutils/pretty_json.py,sha256=WQlgNVeWPD_QMEjkNq5rFVGdFwQ7xDyICf0uxj0Hu2U,1697
|
|
32
32
|
c2cwsgiutils/profiler.py,sha256=3tIwoDSzOKQ06ug_U6j5VDR1BQ9auUOqdJRRLRhDoHw,739
|
|
33
|
-
c2cwsgiutils/prometheus.py,sha256=
|
|
33
|
+
c2cwsgiutils/prometheus.py,sha256=Sc4Zysbm93aR9ejJxettzK-inKvywXtXSlOKJ2YMwuM,7035
|
|
34
34
|
c2cwsgiutils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
35
35
|
c2cwsgiutils/pyramid.py,sha256=MnVMskHMlJ4KQDjDR7CQdYaH70YXOtJ-1ThTPBqa03c,1387
|
|
36
36
|
c2cwsgiutils/pyramid_logging.py,sha256=M4XtWQZStreEoyC5qlwxcDDKCp4PZOr9SN05GnaYvvA,3732
|
|
@@ -60,8 +60,8 @@ c2cwsgiutils/stats_pyramid/_db_spy.py,sha256=T6q26_6Q-ObjXPNUip5TsX-YkBl11v8vfFL
|
|
|
60
60
|
c2cwsgiutils/stats_pyramid/_pyramid_spy.py,sha256=mRiOmQXV9x8JjkGV4MsaC7sD3qO6dWUTog0bharLLD0,3517
|
|
61
61
|
c2cwsgiutils/templates/index.html.mako,sha256=e54pfSL0nGRsnJkahFRLevNyUhvlCNb_2uVaO8rDhbg,1416
|
|
62
62
|
c2cwsgiutils/version.py,sha256=1ghPu-aKMJdfCSUrxgBENNqNQ-7JMKJr6tS14dDmW4Q,3110
|
|
63
|
-
c2cwsgiutils-6.1.9.
|
|
64
|
-
c2cwsgiutils-6.1.9.
|
|
65
|
-
c2cwsgiutils-6.1.9.
|
|
66
|
-
c2cwsgiutils-6.1.9.
|
|
67
|
-
c2cwsgiutils-6.1.9.
|
|
63
|
+
c2cwsgiutils-6.1.9.dev39.dist-info/LICENSE,sha256=hCNci_ppSy6SKe_nTdgzjCsTIaNQgAKqDSghWn_G-1I,1304
|
|
64
|
+
c2cwsgiutils-6.1.9.dev39.dist-info/METADATA,sha256=z01HptgN2oM7oZy6Mp1aechbqu2ufn1lRN9U1J0uSaw,34425
|
|
65
|
+
c2cwsgiutils-6.1.9.dev39.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
66
|
+
c2cwsgiutils-6.1.9.dev39.dist-info/entry_points.txt,sha256=ujgqMTL1awN9qDg8WXmrF7m0fgR-hslUM6zKH86pvy0,703
|
|
67
|
+
c2cwsgiutils-6.1.9.dev39.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|