mirror of
https://github.com/EDCD/EDDN.git
synced 2026-12-04 02:35:13 +03:00
Tally each type of message we see, so we can track use of new schemas as
they get deployed.
This commit is contained in:
1 parent
bf952a736a
commit
592084973f
1 file changed
+2
@@ -128,6 +128,8 @@ def parse_and_error_handle(data):
|
||||
|
||||
if validationResults.severity <= ValidationSeverity.WARN:
|
||||
|
||||
statsCollector.tally(parsed_message["$schemaRef"])
|
||||
|
||||
parsed_message['header']['gatewayTimestamp'] = datetime.utcnow().isoformat()
|
||||
|
||||
ip_hash_salt = Settings.GATEWAY_IP_KEY_SALT
|
||||
|
||||
Reference in new issue
Block a user