AICentral.Logging.AzureMonitor
0.6.1-pullrequest0027-0004
This is a prerelease version of AICentral.Logging.AzureMonitor.
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 AICentral.Logging.AzureMonitor --version 0.6.1-pullrequest0027-0004
NuGet\Install-Package AICentral.Logging.AzureMonitor -Version 0.6.1-pullrequest0027-0004
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="AICentral.Logging.AzureMonitor" Version="0.6.1-pullrequest0027-0004" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AICentral.Logging.AzureMonitor --version 0.6.1-pullrequest0027-0004
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AICentral.Logging.AzureMonitor, 0.6.1-pullrequest0027-0004"
#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.
// Install AICentral.Logging.AzureMonitor as a Cake Addin #addin nuget:?package=AICentral.Logging.AzureMonitor&version=0.6.1-pullrequest0027-0004&prerelease // Install AICentral.Logging.AzureMonitor as a Cake Tool #tool nuget:?package=AICentral.Logging.AzureMonitor&version=0.6.1-pullrequest0027-0004&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Azure Monitor Logger for use in AICentral
To use, add a config section like below:
{
"GenericSteps": [
{
"Type": "AspNetCoreFixedWindowRateLimiting",
"Name": "window-rate-limiter",
"Properties": {
"LimitType": "PerConsumer|PerAICentralEndpoint",
"MetricType": "Requests",
"Options": {
"Window": 10,
"PermitLimit": 100
}
}
},
{
"Type": "AzureMonitorLogger",
"Name": "azure-monitor-logger",
"Properties": {
"WorkspaceId": "<workspace-id>",
"Key": "<workspace-key>",
"LogPrompt": true,
"LogResponse": false
}
}
]
}
builder.Services.AddAICentral(
builder.Configuration,
additionalComponentAssemblies: typeof(AzureMonitorLoggerFactory).Assembly);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0
- AICentral.Core (>= 0.6.1-pullrequest0027-0004)
- Serilog (>= 3.1.1)
- Serilog.Sinks.AzureAnalytics (>= 5.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.