@zuplo/runtime 6.44.2 → 6.44.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/esm/index.js +27 -27
- package/out/types/index.d.ts +38 -0
- package/package.json +1 -1
package/out/types/index.d.ts
CHANGED
|
@@ -3489,6 +3489,44 @@ declare interface MultiRequests {
|
|
|
3489
3489
|
RequestReference: RequestReference;
|
|
3490
3490
|
}
|
|
3491
3491
|
|
|
3492
|
+
declare interface NewRelicLoggingOptions {
|
|
3493
|
+
url?: string;
|
|
3494
|
+
apiKey: string;
|
|
3495
|
+
/**
|
|
3496
|
+
* Any custom log fields to include in each log entry.
|
|
3497
|
+
*/
|
|
3498
|
+
fields?: CustomLogFields;
|
|
3499
|
+
/**
|
|
3500
|
+
* Service name to identify the source of the logs.
|
|
3501
|
+
*/
|
|
3502
|
+
service?: string;
|
|
3503
|
+
}
|
|
3504
|
+
|
|
3505
|
+
export declare class NewRelicLoggingPlugin extends LogPlugin {
|
|
3506
|
+
private options;
|
|
3507
|
+
constructor(options: NewRelicLoggingOptions);
|
|
3508
|
+
/* Excluded from this release type: getTransport */
|
|
3509
|
+
}
|
|
3510
|
+
|
|
3511
|
+
declare interface NewRelicMetricsContext {
|
|
3512
|
+
attributes: Record<string, string | number | boolean | null | undefined>;
|
|
3513
|
+
}
|
|
3514
|
+
|
|
3515
|
+
declare interface NewRelicMetricsOptions {
|
|
3516
|
+
url?: string;
|
|
3517
|
+
apiKey: string;
|
|
3518
|
+
attributes?: Record<string, string | number | boolean | null | undefined>;
|
|
3519
|
+
metrics?: MetricsType;
|
|
3520
|
+
include?: IncludeMetrics;
|
|
3521
|
+
}
|
|
3522
|
+
|
|
3523
|
+
export declare class NewRelicMetricsPlugin extends MetricsPlugin {
|
|
3524
|
+
private options;
|
|
3525
|
+
constructor(options: NewRelicMetricsOptions);
|
|
3526
|
+
/* Excluded from this release type: getTransport */
|
|
3527
|
+
static setContext(context: ZuploContext, data: NewRelicMetricsContext): void;
|
|
3528
|
+
}
|
|
3529
|
+
|
|
3492
3530
|
declare interface NotFoundOptions {
|
|
3493
3531
|
routesMatchedByPathOnly: RouteConfiguration[];
|
|
3494
3532
|
}
|