You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -112,6 +112,41 @@ public object GetInputObject(InstrumentedMethodCall instrumentedMethodCall)
112
112
}
113
113
114
114
publicboolIsWebRequest=>EventTypeisAwsLambdaEventType.APIGatewayProxyRequest or AwsLambdaEventType.APIGatewayHttpApiV2ProxyRequest or AwsLambdaEventType.ApplicationLoadBalancerRequest;
agent.Logger.Debug($"Invalid or missing web request parameters. HttpMethod and Path are required for {_functionDetails.EventType}. Not instrumenting this function invocation.");
Copy file name to clipboardExpand all lines: tests/Agent/IntegrationTests/IntegrationTests/RemoteServiceFixtures/AwsLambda/LambdaAPIGatewayHttpApiV2ProxyRequestTriggerFixture.cs
+13
Original file line number
Diff line number
Diff line change
@@ -203,6 +203,19 @@ public void EnqueueMinimalAPIGatewayHttpApiV2ProxyRequest()
203
203
""";
204
204
EnqueueLambdaEvent(apiGatewayProxyRequestJson);
205
205
}
206
+
207
+
/// <summary>
208
+
/// An invalid payload to validate the fix for https://github.com/newrelic/newrelic-dotnet-agent/issues/2652
Copy file name to clipboardExpand all lines: tests/Agent/IntegrationTests/IntegrationTests/RemoteServiceFixtures/AwsLambda/LambdaAPIGatewayProxyRequestTriggerFixture.cs
+13
Original file line number
Diff line number
Diff line change
@@ -166,6 +166,19 @@ public void EnqueueMinimalAPIGatewayProxyRequest()
166
166
""";
167
167
EnqueueLambdaEvent(apiGatewayProxyRequestJson);
168
168
}
169
+
170
+
/// <summary>
171
+
/// An invalid payload to validate the fix for https://github.com/newrelic/newrelic-dotnet-agent/issues/2652
Copy file name to clipboardExpand all lines: tests/Agent/IntegrationTests/IntegrationTests/RemoteServiceFixtures/AwsLambda/LambdaApplicationLoadBalancerRequestTriggerFixture.cs
+13
Original file line number
Diff line number
Diff line change
@@ -93,6 +93,19 @@ public void EnqueueApplicationLoadBalancerRequestWithDTHeaders(string traceId, s
0 commit comments