-
Notifications
You must be signed in to change notification settings - Fork 219
Closed
Labels
bugSomething isn't workingSomething isn't workingfrom a real userThis issue is from a real user (i.e., not an issue we found during internal testing)This issue is from a real user (i.e., not an issue we found during internal testing)
Milestone
Description
Reproducer also included in the comment - copying here:
[HttpPost("send")]
public JsonResult Send([FromBody] BaseReportFilter<SendMessageFilter> filter)
{
//Do something
return new JsonResult("");
}
public class BaseReportFilter<T>
{
public T ReportFilter { get; set; }
}
public class SendMessageFilter{
public string SenderApplicationCode { get; set; }
public string MediaType { get; set; }
public string Body { get; set; }
public List<string> Recipients { get; set; }
}
//appsettings.json:
"ElasticApm": {
"ServerUrls": "http://localhost:8200",
"ServiceName": "ServiceName",
"CaptureHeaders": true,
"CaptureBody": "all",
"CaptureBodyContentTypes": "application/x-www-form-urlencoded*, text/*, application/json*, application/xml*",
"LogLevel": "Info",
"StackTraceLimit": -1
}
"CaptureBodyContentTypes": "application/x-www-form-urlencoded*, text/*, application/json*, application/xml*",
Without agent the filter parameter is populated, once the agent is activated it became null.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingfrom a real userThis issue is from a real user (i.e., not an issue we found during internal testing)This issue is from a real user (i.e., not an issue we found during internal testing)
Type
Fields
Give feedbackNo fields configured for issues without a type.