Lumigo.DotNET
1.0.36
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Lumigo.DotNET --version 1.0.36
NuGet\Install-Package Lumigo.DotNET -Version 1.0.36
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<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.
<PackageVersion Include="Lumigo.DotNET" Version="1.0.36" />
<PackageReference Include="Lumigo.DotNET" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version 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 and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Lumigo.DotNET@1.0.36
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Lumigo.DotNET&version=1.0.36
#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 Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
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.51 | 41,303 | 9/9/2024 |
| 1.0.50 | 286 | 9/8/2024 |
| 1.0.49 | 415 | 9/3/2024 |
| 1.0.48 | 376 | 9/1/2024 |
| 1.0.47 | 12,905 | 6/4/2023 |
| 1.0.46 | 326 | 5/15/2023 |
| 1.0.45 | 20,788 | 1/18/2023 |
| 1.0.44 | 452 | 1/18/2023 |
| 1.0.43 | 525 | 12/15/2022 |
| 1.0.42 | 434 | 12/14/2022 |
| 1.0.41 | 465 | 12/13/2022 |
| 1.0.40 | 7,176 | 12/13/2022 |
| 1.0.39 | 446 | 12/8/2022 |
| 1.0.38 | 680 | 10/2/2022 |
| 1.0.37 | 537 | 10/2/2022 |
| 1.0.36 | 753 | 1/4/2022 |
| 1.0.35 | 483 | 12/22/2021 |
| 1.0.34 | 491 | 12/16/2021 |
| 1.0.33 | 500 | 12/16/2021 |
| 1.0.32 | 474 | 12/16/2021 |
Loading failed