## Problem

`application_name` for HTTP is not being recorded

## Summary of changes

get `application_name` query param
This commit is contained in:
Conrad Ludgate
2024-02-20 10:58:01 +00:00
committed by GitHub
parent 686b3c79c8
commit 21a86487a2

View File

@@ -166,9 +166,12 @@ fn get_conn_info(
let mut options = Option::None;
for (key, value) in pairs {
if key == "options" {
options = Some(NeonOptions::parse_options_raw(&value));
break;
match &*key {
"options" => {
options = Some(NeonOptions::parse_options_raw(&value));
}
"application_name" => ctx.set_application(Some(value.into())),
_ => {}
}
}