Skip to content

Commit

Permalink
Enable auto-instrumentation for AspNetCore lambda functions
Browse files Browse the repository at this point in the history
  • Loading branch information
tippmar-nr committed Aug 1, 2024
1 parent 7608af3 commit a6f1834
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,11 @@ SPDX-License-Identifier: Apache-2.0
<exactMethodMatcher methodName=".ctor" />
</match>
</tracerFactory>
<!-- Instrument Amazon.Lambda.AspNetCoreServer::Amazon.Lambda.AspNetCoreServer.AbstractAspNetCoreFunction`2::FunctionHandlerAsync -->
<tracerFactory name="NewRelic.Providers.Wrapper.AwsLambda.HandlerMethod">
<match assemblyName="Amazon.Lambda.AspNetCoreServer" className="Amazon.Lambda.AspNetCoreServer.AbstractAspNetCoreFunction`2">
<exactMethodMatcher methodName="FunctionHandlerAsync" />
</match>
</tracerFactory>
</instrumentation>
</extension>

0 comments on commit a6f1834

Please sign in to comment.