Zzdats.Lgp.Common.Apm
10.0.4
Prefix Reserved
dotnet add package Zzdats.Lgp.Common.Apm --version 10.0.4
NuGet\Install-Package Zzdats.Lgp.Common.Apm -Version 10.0.4
<PackageReference Include="Zzdats.Lgp.Common.Apm" Version="10.0.4" />
<PackageVersion Include="Zzdats.Lgp.Common.Apm" Version="10.0.4" />
<PackageReference Include="Zzdats.Lgp.Common.Apm" />
paket add Zzdats.Lgp.Common.Apm --version 10.0.4
#r "nuget: Zzdats.Lgp.Common.Apm, 10.0.4"
#:package Zzdats.Lgp.Common.Apm@10.0.4
#addin nuget:?package=Zzdats.Lgp.Common.Apm&version=10.0.4
#tool nuget:?package=Zzdats.Lgp.Common.Apm&version=10.0.4
Zzdats.Lgp.Common.APM .NET10
Repozitorijs satur koplietošanas metodes priekš .NET aplikāciju veiktspējas analīzes.
Šis repozitorijs ir kā daļa no LGP .Net Core projekta.
Pakas
Pakas nosaukums
Zzdats.Lgp.Common.Apm
Lietošana
Lai nomērīt koda izpildes veiktspēju, tam apkārt jāpieliek sekojoša konstrukcija:
public class MyClass
{
...
private readonly IApmAnalyzer _apmAnalyzer;
public MyClass(
...,
IApmAnalyzer apmAnalyzer)
{
...
_apmAnalyzer = apmAnalyzer;
}
public <return_type> MyMethod()
{
...
using (var mySpan = _apmAnalyzer.StartApmSpan(<span_name>, <code_block_type_name>, <code_block_subtype_name>))
{
result = mySpan.MonitorExecution(
() => myMeasuredMethod());
if (mySpan.HasException)
{
...
}
}
...
}
Šādā veidā analizators uzņem visus nepieciešamus veikspējas datus un gadījumā, ja kodā izpildes laikā notiek izņēmums, piefiksē arī to.
| 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 is compatible. 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 | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Elastic.Apm (>= 1.34.5)
- Elastic.Apm.AspNetCore (>= 1.34.5)
- Elastic.Apm.Extensions.Hosting (>= 1.34.5)
- Microsoft.Extensions.Configuration (>= 10.0.9)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.9)
- Serilog (>= 4.3.1)
- System.Text.Encodings.Web (>= 10.0.9)
- Zzdats.Lgp.Common.Core (>= 10.0.1)
-
net10.0
- Elastic.Apm (>= 1.34.5)
- Elastic.Apm.AspNetCore (>= 1.34.5)
- Elastic.Apm.Extensions.Hosting (>= 1.34.5)
- Microsoft.Extensions.Configuration (>= 10.0.9)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.9)
- Serilog (>= 4.3.1)
- Zzdats.Lgp.Common.Core (>= 10.0.1)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Zzdats.Lgp.Common.Apm:
| Package | Downloads |
|---|---|
|
Zzdats.Lgp.Common.Web
LGP common web components |
|
|
Zzdats.Lgp.Common.BackgroundService.RabbitMQ
LGP Console Application background service component based on RabbitMQ queue for NetStandard 2.1 |
|
|
Zzdats.Lgp.Common.JsonDB.PostgreSQL
LGP JSON DB component PostgreSQL database implementation |
|
|
Zzdats.Lgp.Common.ConsoleHost
LGP Console Application base components for NetStandard 2.1 |
|
|
Zzdats.Lgp.Common.BackgroundService.Cron
LGP common component for cron based services |
GitHub repositories
This package is not used by any popular GitHub repositories.