OutWit.Shared.Logging.Provider.NewRelic 1.1.2

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

OutWit.Shared.Logging.Provider.NewRelic

NewRelic NerdGraph log provider plugin for OutWit hosts. Thin wrapper over OutWit.Common.Logging.NewRelic that registers an ILogQueryProvider which translates neutral LogQuery requests into NRQL and dispatches them through NerdGraph.

The plugin additionally registers the NR-specific INewRelicProvider superset for consumers that want the billing-style GetDataConsumptionAsync — they can resolve either interface from DI (both point at the same singleton).

Configuration

Plugin reads its own appsettings.json from inside the deployed module folder:

{
  "NewRelic": {
    "ApiKey": "",
    "AccountId": 0,
    "Endpoint": "https://api.newrelic.com/graphql",
    "DefaultPageSize": 100,
    "MaxPageSize": 1000
  }
}
Setting Default Description
ApiKey (required) User API key for NerdGraph. Should be supplied via env var NewRelic__ApiKey — keep the JSON value blank.
AccountId (required) NewRelic account id (integer). Supply via NewRelic__AccountId.
Endpoint https://api.newrelic.com/graphql GraphQL endpoint. Override for EU region (https://api.eu.newrelic.com/graphql).
DefaultPageSize 100 Page size when the caller does not specify one.
MaxPageSize 1000 Upper bound enforced server-side; queries with larger page sizes are clamped.

Env-var override convention

NewRelic__ApiKey=NRAK-xxxxxxxxxxxxxxxxxx        # never put this in JSON
NewRelic__AccountId=1234567

Installation

dotnet add package OutWit.Shared.Logging.Provider.NewRelic

The plugin's build/.targets auto-copies the module to your output @Logging/newrelic.module/ at build time. The host's WitPluginLoader<ILogProviderPlugin> discovers it.

License

Apache 2.0 — see LICENSE.txt.

Product Compatible and additional computed target framework versions.
.NET 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. 
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
1.1.2 27 5/27/2026
1.1.1 33 5/27/2026
1.1.0 103 5/16/2026
1.0.0 105 5/13/2026