Lumigo.DotNET
1.0.36
.NET Standard 2.0
Install-Package Lumigo.DotNET -Version 1.0.36
dotnet add package Lumigo.DotNET --version 1.0.36
<PackageReference Include="Lumigo.DotNET" Version="1.0.36" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Lumigo.DotNET --version 1.0.36
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Lumigo.DotNET, 1.0.36"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Lumigo.DotNET as a Cake Addin
#addin nuget:?package=Lumigo.DotNET&version=1.0.36
// Install Lumigo.DotNET as a Cake Tool
#tool nuget:?package=Lumigo.DotNET&version=1.0.36
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
<p align="center"> <img src="lumigo-logo.png"/> </p>
Easily trace your .NET Lambda functions using the Lumigo platform 🚀
Supported Runtimes
- .NET Core 2.1
- .NET Core 3.1
Setup
Installation
Add the Lumigo tracer package via NuGet by running:
Install-Package Lumigo.DotNET
Wrapping Your Lambda
Wrap your lambda function by implementing a supplier which contains your code:
sync handler:
using Lumigo.DotNET;
using Lumigo.DotNET.Instrumentation;
...
public class Function : LumigoRequestHandler
{
public Function()
{
LumigoBootstrap.Bootstrap();
}
public Response FunctionHandler(string input, ILambdaContext context)
{
return Handle(input, context, () =>
{
//Your lambda code
//return <result>; - For void functions remove the return statements
});
}
}
async handler:
using Lumigo.DotNET;
using Lumigo.DotNET.Instrumentation;
...
public class Function : LumigoRequestHandler
{
public Function()
{
LumigoBootstrap.Bootstrap();
}
public async Task<Response> FunctionHandler(string input, ILambdaContext context)
{
return await Handle(input, context, async () =>
{
//Your lambda code
//return <result>; - For void functions remove the return statements
});
}
}
Connect Your Lumigo Account
Add LUMIGO_TRACER_TOKEN
environment variable to connect the tracing to your Lumigo account.
Track HTTP Requests
To track HTTP requests add UseLumigo
to the HTTP client:
using Lumigo.DotNET.Utilities.Extensions;
...
var httpClient = new HttpClient().UseLumigo();
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net461 net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
-
- Amazon.AspNetCore.DataProtection.SSM (>= 2.1.0)
- Amazon.Extensions.CognitoAuthentication (>= 2.2.2)
- Amazon.Lambda.APIGatewayEvents (>= 2.4.0)
- Amazon.Lambda.CloudWatchEvents (>= 3.0.0)
- Amazon.Lambda.CloudWatchLogsEvents (>= 2.1.0)
- Amazon.Lambda.CognitoEvents (>= 2.0.0)
- Amazon.Lambda.ConfigEvents (>= 2.0.0)
- Amazon.Lambda.Core (>= 2.0.0)
- Amazon.Lambda.DynamoDBEvents (>= 2.0.0)
- Amazon.Lambda.KinesisAnalyticsEvents (>= 2.2.1)
- Amazon.Lambda.KinesisEvents (>= 2.0.0)
- Amazon.Lambda.KinesisFirehoseEvents (>= 2.1.0)
- Amazon.Lambda.LexEvents (>= 3.0.0)
- Amazon.Lambda.S3Events (>= 2.0.1)
- Amazon.Lambda.SNSEvents (>= 2.0.0)
- Amazon.Lambda.SQSEvents (>= 2.0.0)
- AWSSDK.CloudWatch (>= 3.7.2.10)
- AWSSDK.CloudWatchEvents (>= 3.7.3.21)
- AWSSDK.CloudWatchLogs (>= 3.7.1.29)
- AWSSDK.CognitoIdentityProvider (>= 3.7.1.26)
- AWSSDK.Core (>= 3.7.2.6)
- AWSSDK.Lambda (>= 3.7.3.3)
- AWSSDK.S3 (>= 3.7.1.26)
- AWSSDK.SimpleNotificationService (>= 3.7.2.25)
- AWSSDK.SQS (>= 3.7.0.55)
- Newtonsoft.Json (>= 13.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.36 | 296 | 1/4/2022 |
1.0.35 | 109 | 12/22/2021 |
1.0.34 | 97 | 12/16/2021 |
1.0.33 | 108 | 12/16/2021 |
1.0.32 | 101 | 12/16/2021 |
1.0.31 | 226 | 12/14/2021 |
1.0.30 | 84 | 12/14/2021 |
1.0.29 | 103 | 12/13/2021 |
1.0.28 | 93 | 12/12/2021 |
1.0.27 | 107 | 12/1/2021 |
1.0.26 | 95 | 11/30/2021 |
1.0.25 | 98 | 11/30/2021 |
1.0.24 | 98 | 11/29/2021 |
1.0.23 | 96 | 11/29/2021 |
1.0.22 | 536 | 11/18/2021 |
1.0.21 | 107 | 11/18/2021 |
1.0.20 | 293 | 11/3/2021 |
1.0.19 | 140 | 11/3/2021 |
1.0.18 | 120 | 11/1/2021 |
1.0.17 | 204 | 10/31/2021 |
1.0.16 | 172 | 10/27/2021 |
1.0.15 | 123 | 10/27/2021 |
1.0.14 | 135 | 10/27/2021 |
1.0.13 | 146 | 10/25/2021 |
1.0.12 | 115 | 10/14/2021 |
1.0.11 | 121 | 10/13/2021 |
1.0.10 | 262 | 9/29/2021 |
1.0.2.2 | 199 | 9/14/2021 |
1.0.2.1 | 377 | 8/24/2021 |
1.0.2 | 128 | 8/24/2021 |
1.0.1.6 | 130 | 8/24/2021 |
1.0.1.5 | 128 | 8/24/2021 |
1.0.1.4 | 140 | 8/24/2021 |
1.0.1.3 | 139 | 8/24/2021 |
1.0.1.2 | 162 | 8/23/2021 |
1.0.1.1 | 137 | 8/23/2021 |
1.0.1 | 154 | 8/19/2021 |