AICentral.Logging.AzureMonitor
0.16.2
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.16.2
NuGet\Install-Package AICentral.Logging.AzureMonitor -Version 0.16.2
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.16.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AICentral.Logging.AzureMonitor --version 0.16.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AICentral.Logging.AzureMonitor, 0.16.2"
#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.16.2 // Install AICentral.Logging.AzureMonitor as a Cake Tool #tool nuget:?package=AICentral.Logging.AzureMonitor&version=0.16.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Extensions for use in AI Central
Azure Monitor advanced usage and quota Logging
To use, add a config section like below:
{
"GenericSteps": [
{
"Type": "AspNetCoreFixedWindowRateLimiting",
"Name": "window-rate-limiter",
"Properties": {
"LimitType": "PerConsumer|PerAICentralEndpoint",
"MetricType": "Requests",
"Options": {
"Window": "00:00: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 | net8.0 is compatible. 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.
-
net8.0
- AICentral.Core (>= 0.16.0)
- 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.