mirror of
https://github.com/EDCD/EDDN.git
synced 2025-06-20 00:33:55 +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:
parent
bf952a736a
commit
592084973f
@ -128,6 +128,8 @@ def parse_and_error_handle(data):
|
|||||||
|
|
||||||
if validationResults.severity <= ValidationSeverity.WARN:
|
if validationResults.severity <= ValidationSeverity.WARN:
|
||||||
|
|
||||||
|
statsCollector.tally(parsed_message["$schemaRef"])
|
||||||
|
|
||||||
parsed_message['header']['gatewayTimestamp'] = datetime.utcnow().isoformat()
|
parsed_message['header']['gatewayTimestamp'] = datetime.utcnow().isoformat()
|
||||||
|
|
||||||
ip_hash_salt = Settings.GATEWAY_IP_KEY_SALT
|
ip_hash_salt = Settings.GATEWAY_IP_KEY_SALT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user