AICentral.Logging.AzureMonitor 0.21.0

dotnet add package AICentral.Logging.AzureMonitor --version 0.21.0
                    
NuGet\Install-Package AICentral.Logging.AzureMonitor -Version 0.21.0
                    
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.21.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AICentral.Logging.AzureMonitor" Version="0.21.0" />
                    
Directory.Packages.props
<PackageReference Include="AICentral.Logging.AzureMonitor" />
                    
Project file
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 AICentral.Logging.AzureMonitor --version 0.21.0
                    
#r "nuget: AICentral.Logging.AzureMonitor, 0.21.0"
                    
#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 AICentral.Logging.AzureMonitor@0.21.0
                    
#: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=AICentral.Logging.AzureMonitor&version=0.21.0
                    
Install as a Cake Addin
#tool nuget:?package=AICentral.Logging.AzureMonitor&version=0.21.0
                    
Install as a Cake Tool

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 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.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
0.21.0 3,176 12/9/2024
0.21.0-pullrequest0152-0005 157 12/9/2024
0.21.0-pullrequest0152-0004 146 12/9/2024
0.20.5-pullrequest0148-0004 155 9/30/2024
0.20.5-pullrequest0148-0003 152 9/30/2024
0.20.5-pullrequest0148-0002 146 9/30/2024
0.20.3 820 9/5/2024
0.20.3-pullrequest0146-0005 175 9/5/2024
0.20.3-pullrequest0146-0004 174 9/5/2024
0.20.0 239 8/17/2024
0.20.0-pullrequest0143-0013 181 8/17/2024
0.20.0-pullrequest0143-0012 172 8/17/2024
0.20.0-pullrequest0143-0011 184 8/17/2024
0.20.0-pullrequest0143-0010 185 8/17/2024
0.20.0-pullrequest0143-0009 182 8/17/2024
0.19.6-pullrequest0143-0008 167 8/17/2024
0.19.0 189 7/29/2024
0.19.0-pullrequest0136-0014 137 7/29/2024
0.19.0-pullrequest0136-0013 142 7/29/2024
0.19.0-pullrequest0136-0012 137 7/29/2024
Loading failed