From 344abbda667df09a7eed6dcb36f99670fc1d4611 Mon Sep 17 00:00:00 2001 From: kevgliss Date: Fri, 2 Dec 2016 13:48:50 -0800 Subject: [PATCH] fixing signature (#556) --- lemur/plugins/lemur_digicert/plugin.py | 2 +- lemur/plugins/lemur_verisign/plugin.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lemur/plugins/lemur_digicert/plugin.py b/lemur/plugins/lemur_digicert/plugin.py index 5383c1d0..b3ab7b79 100644 --- a/lemur/plugins/lemur_digicert/plugin.py +++ b/lemur/plugins/lemur_digicert/plugin.py @@ -39,7 +39,7 @@ def log_status_code(r, *args, **kwargs): :param kwargs: :return: """ - metrics.send('digicert_status_code_{}'.format(r.status_code)) + metrics.send('digicert_status_code_{}'.format(r.status_code), 'counter', 1) def signature_hash(signing_algorithm): diff --git a/lemur/plugins/lemur_verisign/plugin.py b/lemur/plugins/lemur_verisign/plugin.py index fa57e032..a6c07b84 100644 --- a/lemur/plugins/lemur_verisign/plugin.py +++ b/lemur/plugins/lemur_verisign/plugin.py @@ -73,7 +73,7 @@ def log_status_code(r, *args, **kwargs): :param kwargs: :return: """ - metrics.send('symantec_status_code_{}'.format(r.status_code)) + metrics.send('symantec_status_code_{}'.format(r.status_code), 'counter', 1) def process_options(options):