@gabrielhicks/solv 5.6.8 → 5.6.10
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.
|
@@ -25,7 +25,7 @@ class JsonEncoder(json.JSONEncoder):
|
|
|
25
25
|
def default(self, obj):
|
|
26
26
|
if isinstance(obj, (numpy.int_, numpy.intc, numpy.intp, numpy.int8,
|
|
27
27
|
numpy.int16, numpy.int32, numpy.int64, numpy.uint8,
|
|
28
|
-
numpy.
|
|
28
|
+
numpy.int16, numpy.uint32, numpy.uint64)):
|
|
29
29
|
return int(obj)
|
|
30
30
|
elif isinstance(obj, (numpy.float_, numpy.float16, numpy.float32,
|
|
31
31
|
numpy.float64)):
|
|
@@ -60,4 +60,3 @@ def measurement_from_fields(name, data, tags, config, legacy_tags=None):
|
|
|
60
60
|
measurement.update(legacy_tags)
|
|
61
61
|
|
|
62
62
|
return measurement
|
|
63
|
-
|
|
@@ -333,6 +333,10 @@ def calculate_output_data(config: ValidatorConfig):
|
|
|
333
333
|
}
|
|
334
334
|
|
|
335
335
|
legacy_tags = {
|
|
336
|
+
"tags_validator_name": config.validator_name,
|
|
337
|
+
"tags_validator_identity_pubkey": data['identity_account_pubkey'],
|
|
338
|
+
"tags_validator_vote_pubkey": data['vote_account_pubkey'],
|
|
339
|
+
"tags_cluster_environment": config.cluster_environment,
|
|
336
340
|
"validator_identity_pubkey": data['identity_account_pubkey'],
|
|
337
341
|
"validator_vote_pubkey": data['vote_account_pubkey'],
|
|
338
342
|
"validator_name": config.validator_name,
|