Lightrun .NET agent
$ dotnet add package LightrunLightrun is a developer-native observability platform. It's a way to add logs, inspect the state of the current execution (in a familiar, debugger-like view), and extract any type of code-level metric on the fly - without redeploying, restarting or even stopping the running application.
Check out our docs to learn more.
To get started with Lightrun you'll need three things:
Once you've signed up for an account and downloaded the plugin, you can install the agent in your application.
In order to install the Lightrun .NET Agent please follow these steps:
Add the Lightrun NuGet package to your project
Import Lightrun at the start of your application file (i.e. Program.cs) and then start it:
using Lightrun;
LightrunAgent.Start(new AgentOptions {
Secret = "<COMPANY-SECRET>",
});
You will have a <COMPANY-SECRET> auto-generated for you during the onboarding process, right after signing up for an account.