![]() |
VOOZH | about |
dotnet add package OutWit.Shared.Logging.Provider.NewRelic --version 1.1.2
NuGet\Install-Package OutWit.Shared.Logging.Provider.NewRelic -Version 1.1.2
<PackageReference Include="OutWit.Shared.Logging.Provider.NewRelic" Version="1.1.2" />
<PackageVersion Include="OutWit.Shared.Logging.Provider.NewRelic" Version="1.1.2" />Directory.Packages.props
<PackageReference Include="OutWit.Shared.Logging.Provider.NewRelic" />Project file
paket add OutWit.Shared.Logging.Provider.NewRelic --version 1.1.2
#r "nuget: OutWit.Shared.Logging.Provider.NewRelic, 1.1.2"
#:package OutWit.Shared.Logging.Provider.NewRelic@1.1.2
#addin nuget:?package=OutWit.Shared.Logging.Provider.NewRelic&version=1.1.2Install as a Cake Addin
#tool nuget:?package=OutWit.Shared.Logging.Provider.NewRelic&version=1.1.2Install as a Cake Tool
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).
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. |
NewRelic__ApiKey=NRAK-xxxxxxxxxxxxxxxxxx # never put this in JSON
NewRelic__AccountId=1234567
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.
Apache 2.0 — see LICENSE.txt.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.