measure decryption time
This commit is contained in:
parent
d13001efff
commit
d45b9d1ff5
|
@ -32,6 +32,7 @@ class ServiceTaskDelegate:
|
||||||
if value.startswith(secret_prefix):
|
if value.startswith(secret_prefix):
|
||||||
key = value.removeprefix(secret_prefix)
|
key = value.removeprefix(secret_prefix)
|
||||||
secret = SecretService.get_secret(key)
|
secret = SecretService.get_secret(key)
|
||||||
|
with sentry_sdk.start_span(op="task", description="decrypt_secret"):
|
||||||
return SecretService._decrypt(secret.value)
|
return SecretService._decrypt(secret.value)
|
||||||
|
|
||||||
file_prefix = "file:"
|
file_prefix = "file:"
|
||||||
|
|
Loading…
Reference in New Issue