mirror of
https://github.com/storytold/voder-proxy.git
synced 2026-10-20 07:44:42 +00:00
add logging to attributes
This commit is contained in:
@@ -49,6 +49,7 @@ impl MaybeNewRelicTransaction {
|
|||||||
|
|
||||||
pub fn add_attribute(&self, name: &str, value: &str) {
|
pub fn add_attribute(&self, name: &str, value: &str) {
|
||||||
if let Some(ref transaction) = self.transaction {
|
if let Some(ref transaction) = self.transaction {
|
||||||
|
info!("Logging attribute to NewRelic");
|
||||||
let _result = transaction.add_attribute(name, value);
|
let _result = transaction.add_attribute(name, value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user