mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
feat(consumer): add workflow_id field in traces for consumer tasks (#480)
This commit is contained in:
@ -50,6 +50,7 @@ const MERCHANT_ID: &str = "merchant_id";
|
||||
const REQUEST_METHOD: &str = "request_method";
|
||||
const REQUEST_URL_PATH: &str = "request_url_path";
|
||||
const REQUEST_ID: &str = "request_id";
|
||||
const WORKFLOW_ID: &str = "workflow_id";
|
||||
|
||||
/// Set of predefined implicit keys.
|
||||
pub static IMPLICIT_KEYS: Lazy<rustc_hash::FxHashSet<&str>> = Lazy::new(|| {
|
||||
@ -84,6 +85,7 @@ pub static EXTRA_IMPLICIT_KEYS: Lazy<rustc_hash::FxHashSet<&str>> = Lazy::new(||
|
||||
set.insert(REQUEST_METHOD);
|
||||
set.insert(REQUEST_URL_PATH);
|
||||
set.insert(REQUEST_ID);
|
||||
set.insert(WORKFLOW_ID);
|
||||
|
||||
set
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user