apitally 0.25.1 → 0.25.3
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/README.md +131 -88
- package/dist/adonisjs/index.cjs +0 -3
- package/dist/adonisjs/index.cjs.map +1 -1
- package/dist/adonisjs/index.d.cts +2 -2
- package/dist/adonisjs/index.d.ts +2 -2
- package/dist/adonisjs/index.js +0 -2
- package/dist/adonisjs/index.js.map +1 -1
- package/dist/common/client.cjs +1 -1
- package/dist/common/client.cjs.map +1 -1
- package/dist/common/client.js +1 -1
- package/dist/common/client.js.map +1 -1
- package/dist/common/requestLogger.d.cts +0 -2
- package/dist/common/requestLogger.d.ts +0 -2
- package/dist/common/spanCollector.cjs +20 -38
- package/dist/common/spanCollector.cjs.map +1 -1
- package/dist/common/spanCollector.d.cts +1 -6
- package/dist/common/spanCollector.d.ts +1 -6
- package/dist/common/spanCollector.js +20 -38
- package/dist/common/spanCollector.js.map +1 -1
- package/dist/elysia/index.cjs +0 -3
- package/dist/elysia/index.cjs.map +1 -1
- package/dist/elysia/index.d.cts +2 -2
- package/dist/elysia/index.d.ts +2 -2
- package/dist/elysia/index.js +0 -2
- package/dist/elysia/index.js.map +1 -1
- package/dist/elysia/plugin.d.cts +2 -2
- package/dist/elysia/plugin.d.ts +2 -2
- package/dist/express/index.cjs +0 -3
- package/dist/express/index.cjs.map +1 -1
- package/dist/express/index.d.cts +2 -2
- package/dist/express/index.d.ts +2 -2
- package/dist/express/index.js +0 -2
- package/dist/express/index.js.map +1 -1
- package/dist/express/middleware.d.cts +2 -2
- package/dist/express/middleware.d.ts +2 -2
- package/dist/fastify/index.cjs +0 -3
- package/dist/fastify/index.cjs.map +1 -1
- package/dist/fastify/index.d.cts +2 -2
- package/dist/fastify/index.d.ts +2 -2
- package/dist/fastify/index.js +0 -2
- package/dist/fastify/index.js.map +1 -1
- package/dist/fastify/plugin.d.cts +2 -2
- package/dist/fastify/plugin.d.ts +2 -2
- package/dist/h3/index.cjs +0 -3
- package/dist/h3/index.cjs.map +1 -1
- package/dist/h3/index.d.cts +2 -2
- package/dist/h3/index.d.ts +2 -2
- package/dist/h3/index.js +0 -2
- package/dist/h3/index.js.map +1 -1
- package/dist/h3/plugin.d.cts +2 -2
- package/dist/h3/plugin.d.ts +2 -2
- package/dist/hapi/index.cjs +0 -3
- package/dist/hapi/index.cjs.map +1 -1
- package/dist/hapi/index.d.cts +2 -2
- package/dist/hapi/index.d.ts +2 -2
- package/dist/hapi/index.js +0 -2
- package/dist/hapi/index.js.map +1 -1
- package/dist/hapi/plugin.d.cts +2 -2
- package/dist/hapi/plugin.d.ts +2 -2
- package/dist/hono/index.cjs +0 -3
- package/dist/hono/index.cjs.map +1 -1
- package/dist/hono/index.d.cts +2 -2
- package/dist/hono/index.d.ts +2 -2
- package/dist/hono/index.js +0 -2
- package/dist/hono/index.js.map +1 -1
- package/dist/hono/middleware.d.cts +2 -2
- package/dist/hono/middleware.d.ts +2 -2
- package/dist/hono/utils.d.cts +1 -1
- package/dist/hono/utils.d.ts +1 -1
- package/dist/koa/index.cjs +0 -3
- package/dist/koa/index.cjs.map +1 -1
- package/dist/koa/index.d.cts +2 -2
- package/dist/koa/index.d.ts +2 -2
- package/dist/koa/index.js +0 -2
- package/dist/koa/index.js.map +1 -1
- package/dist/koa/middleware.d.cts +2 -2
- package/dist/koa/middleware.d.ts +2 -2
- package/dist/loggers/console.d.cts +0 -2
- package/dist/loggers/console.d.ts +0 -2
- package/dist/loggers/hapi.d.cts +0 -2
- package/dist/loggers/hapi.d.ts +0 -2
- package/dist/loggers/index.d.cts +0 -2
- package/dist/loggers/index.d.ts +0 -2
- package/dist/loggers/nestjs.d.cts +0 -2
- package/dist/loggers/nestjs.d.ts +0 -2
- package/dist/loggers/pino.d.cts +0 -2
- package/dist/loggers/pino.d.ts +0 -2
- package/dist/loggers/winston.d.cts +0 -2
- package/dist/loggers/winston.d.ts +0 -2
- package/dist/nestjs/index.cjs +0 -3
- package/dist/nestjs/index.cjs.map +1 -1
- package/dist/nestjs/index.d.cts +3 -3
- package/dist/nestjs/index.d.ts +3 -3
- package/dist/nestjs/index.js +0 -2
- package/dist/nestjs/index.js.map +1 -1
- package/dist/otel/index.cjs +29 -0
- package/dist/otel/index.cjs.map +1 -0
- package/dist/otel/index.d.cts +2 -0
- package/dist/otel/index.d.ts +2 -0
- package/dist/otel/index.js +5 -0
- package/dist/otel/index.js.map +1 -0
- package/package.json +15 -2
package/dist/express/index.cjs
CHANGED
|
@@ -18,16 +18,13 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var express_exports = {};
|
|
20
20
|
__export(express_exports, {
|
|
21
|
-
ApitallySpanProcessor: () => import_spanCollector.ApitallySpanProcessor,
|
|
22
21
|
setConsumer: () => import_middleware.setConsumer,
|
|
23
22
|
useApitally: () => import_middleware.useApitally
|
|
24
23
|
});
|
|
25
24
|
module.exports = __toCommonJS(express_exports);
|
|
26
|
-
var import_spanCollector = require('../common/spanCollector.cjs');
|
|
27
25
|
var import_middleware = require('./middleware.cjs');
|
|
28
26
|
// Annotate the CommonJS export names for ESM import in node:
|
|
29
27
|
0 && (module.exports = {
|
|
30
|
-
ApitallySpanProcessor,
|
|
31
28
|
setConsumer,
|
|
32
29
|
useApitally
|
|
33
30
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/express/index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["../../src/express/index.ts"],"sourcesContent":["export type { ApitallyConfig, ApitallyConsumer } from \"../common/types.js\";\nexport { setConsumer, useApitally } from \"./middleware.js\";\n"],"mappings":";;;;;;;;;;;;;;;;;;AACA;;;;;;wBAAyC;","names":[]}
|
package/dist/express/index.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { ApitallySpanProcessor } from '../common/spanCollector.cjs';
|
|
2
1
|
export { ApitallyConfig, ApitallyConsumer } from '../common/types.cjs';
|
|
3
2
|
export { setConsumer, useApitally } from './middleware.cjs';
|
|
4
|
-
import '@opentelemetry/sdk-trace-base';
|
|
5
3
|
import '../common/logging.cjs';
|
|
6
4
|
import 'winston';
|
|
7
5
|
import '../common/requestLogger.cjs';
|
|
8
6
|
import 'node:buffer';
|
|
9
7
|
import 'node:http';
|
|
8
|
+
import '../common/spanCollector.cjs';
|
|
9
|
+
import '@opentelemetry/sdk-trace-base';
|
|
10
10
|
import '../common/tempGzipFile.cjs';
|
|
11
11
|
import 'express';
|
package/dist/express/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { ApitallySpanProcessor } from '../common/spanCollector.js';
|
|
2
1
|
export { ApitallyConfig, ApitallyConsumer } from '../common/types.js';
|
|
3
2
|
export { setConsumer, useApitally } from './middleware.js';
|
|
4
|
-
import '@opentelemetry/sdk-trace-base';
|
|
5
3
|
import '../common/logging.js';
|
|
6
4
|
import 'winston';
|
|
7
5
|
import '../common/requestLogger.js';
|
|
8
6
|
import 'node:buffer';
|
|
9
7
|
import 'node:http';
|
|
8
|
+
import '../common/spanCollector.js';
|
|
9
|
+
import '@opentelemetry/sdk-trace-base';
|
|
10
10
|
import '../common/tempGzipFile.js';
|
|
11
11
|
import 'express';
|
package/dist/express/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/express/index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["../../src/express/index.ts"],"sourcesContent":["export type { ApitallyConfig, ApitallyConsumer } from \"../common/types.js\";\nexport { setConsumer, useApitally } from \"./middleware.js\";\n"],"mappings":"AACA,SAASA,aAAaC,mBAAmB;","names":["setConsumer","useApitally"]}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import '../common/spanCollector.cjs';
|
|
2
1
|
import { ApitallyConsumer, ApitallyConfig } from '../common/types.cjs';
|
|
3
2
|
import { Request, Express, Router } from 'express';
|
|
4
|
-
import '@opentelemetry/sdk-trace-base';
|
|
5
3
|
import '../common/logging.cjs';
|
|
6
4
|
import 'winston';
|
|
7
5
|
import '../common/requestLogger.cjs';
|
|
8
6
|
import 'node:buffer';
|
|
9
7
|
import 'node:http';
|
|
8
|
+
import '../common/spanCollector.cjs';
|
|
9
|
+
import '@opentelemetry/sdk-trace-base';
|
|
10
10
|
import '../common/tempGzipFile.cjs';
|
|
11
11
|
|
|
12
12
|
declare module "express" {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import '../common/spanCollector.js';
|
|
2
1
|
import { ApitallyConsumer, ApitallyConfig } from '../common/types.js';
|
|
3
2
|
import { Request, Express, Router } from 'express';
|
|
4
|
-
import '@opentelemetry/sdk-trace-base';
|
|
5
3
|
import '../common/logging.js';
|
|
6
4
|
import 'winston';
|
|
7
5
|
import '../common/requestLogger.js';
|
|
8
6
|
import 'node:buffer';
|
|
9
7
|
import 'node:http';
|
|
8
|
+
import '../common/spanCollector.js';
|
|
9
|
+
import '@opentelemetry/sdk-trace-base';
|
|
10
10
|
import '../common/tempGzipFile.js';
|
|
11
11
|
|
|
12
12
|
declare module "express" {
|
package/dist/fastify/index.cjs
CHANGED
|
@@ -28,16 +28,13 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
29
|
var fastify_exports = {};
|
|
30
30
|
__export(fastify_exports, {
|
|
31
|
-
ApitallySpanProcessor: () => import_spanCollector.ApitallySpanProcessor,
|
|
32
31
|
apitallyPlugin: () => import_plugin.default,
|
|
33
32
|
setConsumer: () => import_plugin.setConsumer
|
|
34
33
|
});
|
|
35
34
|
module.exports = __toCommonJS(fastify_exports);
|
|
36
|
-
var import_spanCollector = require('../common/spanCollector.cjs');
|
|
37
35
|
var import_plugin = __toESM(require('./plugin.cjs'), 1);
|
|
38
36
|
// Annotate the CommonJS export names for ESM import in node:
|
|
39
37
|
0 && (module.exports = {
|
|
40
|
-
ApitallySpanProcessor,
|
|
41
38
|
apitallyPlugin,
|
|
42
39
|
setConsumer
|
|
43
40
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/fastify/index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["../../src/fastify/index.ts"],"sourcesContent":["export type { ApitallyConfig, ApitallyConsumer } from \"../common/types.js\";\nexport { default as apitallyPlugin, setConsumer } from \"./plugin.js\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;;;;;;oBAAuD;","names":[]}
|
package/dist/fastify/index.d.cts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { ApitallySpanProcessor } from '../common/spanCollector.cjs';
|
|
2
1
|
export { ApitallyConfig, ApitallyConsumer } from '../common/types.cjs';
|
|
3
2
|
export { default as apitallyPlugin, setConsumer } from './plugin.cjs';
|
|
4
|
-
import '@opentelemetry/sdk-trace-base';
|
|
5
3
|
import '../common/logging.cjs';
|
|
6
4
|
import 'winston';
|
|
7
5
|
import '../common/requestLogger.cjs';
|
|
8
6
|
import 'node:buffer';
|
|
9
7
|
import 'node:http';
|
|
8
|
+
import '../common/spanCollector.cjs';
|
|
9
|
+
import '@opentelemetry/sdk-trace-base';
|
|
10
10
|
import '../common/tempGzipFile.cjs';
|
|
11
11
|
import 'fastify';
|
|
12
12
|
import 'node:async_hooks';
|
package/dist/fastify/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { ApitallySpanProcessor } from '../common/spanCollector.js';
|
|
2
1
|
export { ApitallyConfig, ApitallyConsumer } from '../common/types.js';
|
|
3
2
|
export { default as apitallyPlugin, setConsumer } from './plugin.js';
|
|
4
|
-
import '@opentelemetry/sdk-trace-base';
|
|
5
3
|
import '../common/logging.js';
|
|
6
4
|
import 'winston';
|
|
7
5
|
import '../common/requestLogger.js';
|
|
8
6
|
import 'node:buffer';
|
|
9
7
|
import 'node:http';
|
|
8
|
+
import '../common/spanCollector.js';
|
|
9
|
+
import '@opentelemetry/sdk-trace-base';
|
|
10
10
|
import '../common/tempGzipFile.js';
|
|
11
11
|
import 'fastify';
|
|
12
12
|
import 'node:async_hooks';
|
package/dist/fastify/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/fastify/index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["../../src/fastify/index.ts"],"sourcesContent":["export type { ApitallyConfig, ApitallyConsumer } from \"../common/types.js\";\nexport { default as apitallyPlugin, setConsumer } from \"./plugin.js\";\n"],"mappings":"AACA,SAAoBA,WAAXC,UAA2BC,mBAAmB;","names":["apitallyPlugin","default","setConsumer"]}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { SpanHandle } from '../common/spanCollector.cjs';
|
|
2
1
|
import { ApitallyConsumer, ApitallyConfig } from '../common/types.cjs';
|
|
3
2
|
import { FastifyError, FastifyPluginAsync, FastifyRequest } from 'fastify';
|
|
4
3
|
import { AsyncResource } from 'node:async_hooks';
|
|
5
4
|
import { LogRecord } from '../common/requestLogger.cjs';
|
|
6
|
-
import '
|
|
5
|
+
import { SpanHandle } from '../common/spanCollector.cjs';
|
|
7
6
|
import '../common/logging.cjs';
|
|
8
7
|
import 'winston';
|
|
9
8
|
import 'node:buffer';
|
|
10
9
|
import 'node:http';
|
|
10
|
+
import '@opentelemetry/sdk-trace-base';
|
|
11
11
|
import '../common/tempGzipFile.cjs';
|
|
12
12
|
|
|
13
13
|
declare const LOGS_SYMBOL: unique symbol;
|
package/dist/fastify/plugin.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { SpanHandle } from '../common/spanCollector.js';
|
|
2
1
|
import { ApitallyConsumer, ApitallyConfig } from '../common/types.js';
|
|
3
2
|
import { FastifyError, FastifyPluginAsync, FastifyRequest } from 'fastify';
|
|
4
3
|
import { AsyncResource } from 'node:async_hooks';
|
|
5
4
|
import { LogRecord } from '../common/requestLogger.js';
|
|
6
|
-
import '
|
|
5
|
+
import { SpanHandle } from '../common/spanCollector.js';
|
|
7
6
|
import '../common/logging.js';
|
|
8
7
|
import 'winston';
|
|
9
8
|
import 'node:buffer';
|
|
10
9
|
import 'node:http';
|
|
10
|
+
import '@opentelemetry/sdk-trace-base';
|
|
11
11
|
import '../common/tempGzipFile.js';
|
|
12
12
|
|
|
13
13
|
declare const LOGS_SYMBOL: unique symbol;
|
package/dist/h3/index.cjs
CHANGED
|
@@ -18,16 +18,13 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var h3_exports = {};
|
|
20
20
|
__export(h3_exports, {
|
|
21
|
-
ApitallySpanProcessor: () => import_spanCollector.ApitallySpanProcessor,
|
|
22
21
|
apitallyPlugin: () => import_plugin.apitallyPlugin,
|
|
23
22
|
setConsumer: () => import_plugin.setConsumer
|
|
24
23
|
});
|
|
25
24
|
module.exports = __toCommonJS(h3_exports);
|
|
26
|
-
var import_spanCollector = require('../common/spanCollector.cjs');
|
|
27
25
|
var import_plugin = require('./plugin.cjs');
|
|
28
26
|
// Annotate the CommonJS export names for ESM import in node:
|
|
29
27
|
0 && (module.exports = {
|
|
30
|
-
ApitallySpanProcessor,
|
|
31
28
|
apitallyPlugin,
|
|
32
29
|
setConsumer
|
|
33
30
|
});
|
package/dist/h3/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/h3/index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["../../src/h3/index.ts"],"sourcesContent":["export type { ApitallyConfig, ApitallyConsumer } from \"../common/types.js\";\nexport { apitallyPlugin, setConsumer } from \"./plugin.js\";\n"],"mappings":";;;;;;;;;;;;;;;;;;AACA;;;;;;oBAA4C;","names":[]}
|
package/dist/h3/index.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { ApitallySpanProcessor } from '../common/spanCollector.cjs';
|
|
2
1
|
export { ApitallyConfig, ApitallyConsumer } from '../common/types.cjs';
|
|
3
2
|
export { apitallyPlugin, setConsumer } from './plugin.cjs';
|
|
4
|
-
import '@opentelemetry/sdk-trace-base';
|
|
5
3
|
import '../common/logging.cjs';
|
|
6
4
|
import 'winston';
|
|
7
5
|
import '../common/requestLogger.cjs';
|
|
8
6
|
import 'node:buffer';
|
|
9
7
|
import 'node:http';
|
|
8
|
+
import '../common/spanCollector.cjs';
|
|
9
|
+
import '@opentelemetry/sdk-trace-base';
|
|
10
10
|
import '../common/tempGzipFile.cjs';
|
|
11
11
|
import 'h3';
|
package/dist/h3/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { ApitallySpanProcessor } from '../common/spanCollector.js';
|
|
2
1
|
export { ApitallyConfig, ApitallyConsumer } from '../common/types.js';
|
|
3
2
|
export { apitallyPlugin, setConsumer } from './plugin.js';
|
|
4
|
-
import '@opentelemetry/sdk-trace-base';
|
|
5
3
|
import '../common/logging.js';
|
|
6
4
|
import 'winston';
|
|
7
5
|
import '../common/requestLogger.js';
|
|
8
6
|
import 'node:buffer';
|
|
9
7
|
import 'node:http';
|
|
8
|
+
import '../common/spanCollector.js';
|
|
9
|
+
import '@opentelemetry/sdk-trace-base';
|
|
10
10
|
import '../common/tempGzipFile.js';
|
|
11
11
|
import 'h3';
|
package/dist/h3/index.js
CHANGED
package/dist/h3/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/h3/index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["../../src/h3/index.ts"],"sourcesContent":["export type { ApitallyConfig, ApitallyConsumer } from \"../common/types.js\";\nexport { apitallyPlugin, setConsumer } from \"./plugin.js\";\n"],"mappings":"AACA,SAASA,gBAAgBC,mBAAmB;","names":["apitallyPlugin","setConsumer"]}
|
package/dist/h3/plugin.d.cts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { SpanHandle } from '../common/spanCollector.cjs';
|
|
2
1
|
import { ApitallyConsumer, ApitallyConfig } from '../common/types.cjs';
|
|
3
2
|
import * as h3 from 'h3';
|
|
4
3
|
import { H3Event } from 'h3';
|
|
5
|
-
import '
|
|
4
|
+
import { SpanHandle } from '../common/spanCollector.cjs';
|
|
6
5
|
import '../common/logging.cjs';
|
|
7
6
|
import 'winston';
|
|
8
7
|
import '../common/requestLogger.cjs';
|
|
9
8
|
import 'node:buffer';
|
|
10
9
|
import 'node:http';
|
|
11
10
|
import '../common/tempGzipFile.cjs';
|
|
11
|
+
import '@opentelemetry/sdk-trace-base';
|
|
12
12
|
|
|
13
13
|
declare const REQUEST_TIMESTAMP_SYMBOL: unique symbol;
|
|
14
14
|
declare const REQUEST_BODY_SYMBOL: unique symbol;
|
package/dist/h3/plugin.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { SpanHandle } from '../common/spanCollector.js';
|
|
2
1
|
import { ApitallyConsumer, ApitallyConfig } from '../common/types.js';
|
|
3
2
|
import * as h3 from 'h3';
|
|
4
3
|
import { H3Event } from 'h3';
|
|
5
|
-
import '
|
|
4
|
+
import { SpanHandle } from '../common/spanCollector.js';
|
|
6
5
|
import '../common/logging.js';
|
|
7
6
|
import 'winston';
|
|
8
7
|
import '../common/requestLogger.js';
|
|
9
8
|
import 'node:buffer';
|
|
10
9
|
import 'node:http';
|
|
11
10
|
import '../common/tempGzipFile.js';
|
|
11
|
+
import '@opentelemetry/sdk-trace-base';
|
|
12
12
|
|
|
13
13
|
declare const REQUEST_TIMESTAMP_SYMBOL: unique symbol;
|
|
14
14
|
declare const REQUEST_BODY_SYMBOL: unique symbol;
|
package/dist/hapi/index.cjs
CHANGED
|
@@ -28,16 +28,13 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
29
|
var hapi_exports = {};
|
|
30
30
|
__export(hapi_exports, {
|
|
31
|
-
ApitallySpanProcessor: () => import_spanCollector.ApitallySpanProcessor,
|
|
32
31
|
apitallyPlugin: () => import_plugin.default,
|
|
33
32
|
setConsumer: () => import_plugin.setConsumer
|
|
34
33
|
});
|
|
35
34
|
module.exports = __toCommonJS(hapi_exports);
|
|
36
|
-
var import_spanCollector = require('../common/spanCollector.cjs');
|
|
37
35
|
var import_plugin = __toESM(require('./plugin.cjs'), 1);
|
|
38
36
|
// Annotate the CommonJS export names for ESM import in node:
|
|
39
37
|
0 && (module.exports = {
|
|
40
|
-
ApitallySpanProcessor,
|
|
41
38
|
apitallyPlugin,
|
|
42
39
|
setConsumer
|
|
43
40
|
});
|
package/dist/hapi/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/hapi/index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["../../src/hapi/index.ts"],"sourcesContent":["export type { ApitallyConfig, ApitallyConsumer } from \"../common/types.js\";\nexport { default as apitallyPlugin, setConsumer } from \"./plugin.js\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;;;;;;oBAAuD;","names":[]}
|
package/dist/hapi/index.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { ApitallySpanProcessor } from '../common/spanCollector.cjs';
|
|
2
1
|
export { ApitallyConfig, ApitallyConsumer } from '../common/types.cjs';
|
|
3
2
|
export { default as apitallyPlugin, setConsumer } from './plugin.cjs';
|
|
4
|
-
import '@opentelemetry/sdk-trace-base';
|
|
5
3
|
import '../common/logging.cjs';
|
|
6
4
|
import 'winston';
|
|
7
5
|
import '../common/requestLogger.cjs';
|
|
8
6
|
import 'node:buffer';
|
|
9
7
|
import 'node:http';
|
|
8
|
+
import '../common/spanCollector.cjs';
|
|
9
|
+
import '@opentelemetry/sdk-trace-base';
|
|
10
10
|
import '../common/tempGzipFile.cjs';
|
|
11
11
|
import '@hapi/hapi';
|
package/dist/hapi/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { ApitallySpanProcessor } from '../common/spanCollector.js';
|
|
2
1
|
export { ApitallyConfig, ApitallyConsumer } from '../common/types.js';
|
|
3
2
|
export { default as apitallyPlugin, setConsumer } from './plugin.js';
|
|
4
|
-
import '@opentelemetry/sdk-trace-base';
|
|
5
3
|
import '../common/logging.js';
|
|
6
4
|
import 'winston';
|
|
7
5
|
import '../common/requestLogger.js';
|
|
8
6
|
import 'node:buffer';
|
|
9
7
|
import 'node:http';
|
|
8
|
+
import '../common/spanCollector.js';
|
|
9
|
+
import '@opentelemetry/sdk-trace-base';
|
|
10
10
|
import '../common/tempGzipFile.js';
|
|
11
11
|
import '@hapi/hapi';
|
package/dist/hapi/index.js
CHANGED
package/dist/hapi/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/hapi/index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["../../src/hapi/index.ts"],"sourcesContent":["export type { ApitallyConfig, ApitallyConsumer } from \"../common/types.js\";\nexport { default as apitallyPlugin, setConsumer } from \"./plugin.js\";\n"],"mappings":"AACA,SAAoBA,WAAXC,UAA2BC,mBAAmB;","names":["apitallyPlugin","default","setConsumer"]}
|
package/dist/hapi/plugin.d.cts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { SpanHandle } from '../common/spanCollector.cjs';
|
|
2
1
|
import { ApitallyConsumer, ApitallyConfig } from '../common/types.cjs';
|
|
3
2
|
import { Server, Request } from '@hapi/hapi';
|
|
4
3
|
import { LogRecord } from '../common/requestLogger.cjs';
|
|
5
|
-
import '
|
|
4
|
+
import { SpanHandle } from '../common/spanCollector.cjs';
|
|
6
5
|
import '../common/logging.cjs';
|
|
7
6
|
import 'winston';
|
|
8
7
|
import 'node:buffer';
|
|
9
8
|
import 'node:http';
|
|
9
|
+
import '@opentelemetry/sdk-trace-base';
|
|
10
10
|
import '../common/tempGzipFile.cjs';
|
|
11
11
|
|
|
12
12
|
declare const START_TIME_SYMBOL: unique symbol;
|
package/dist/hapi/plugin.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { SpanHandle } from '../common/spanCollector.js';
|
|
2
1
|
import { ApitallyConsumer, ApitallyConfig } from '../common/types.js';
|
|
3
2
|
import { Server, Request } from '@hapi/hapi';
|
|
4
3
|
import { LogRecord } from '../common/requestLogger.js';
|
|
5
|
-
import '
|
|
4
|
+
import { SpanHandle } from '../common/spanCollector.js';
|
|
6
5
|
import '../common/logging.js';
|
|
7
6
|
import 'winston';
|
|
8
7
|
import 'node:buffer';
|
|
9
8
|
import 'node:http';
|
|
9
|
+
import '@opentelemetry/sdk-trace-base';
|
|
10
10
|
import '../common/tempGzipFile.js';
|
|
11
11
|
|
|
12
12
|
declare const START_TIME_SYMBOL: unique symbol;
|
package/dist/hono/index.cjs
CHANGED
|
@@ -18,16 +18,13 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var hono_exports = {};
|
|
20
20
|
__export(hono_exports, {
|
|
21
|
-
ApitallySpanProcessor: () => import_spanCollector.ApitallySpanProcessor,
|
|
22
21
|
setConsumer: () => import_middleware.setConsumer,
|
|
23
22
|
useApitally: () => import_middleware.useApitally
|
|
24
23
|
});
|
|
25
24
|
module.exports = __toCommonJS(hono_exports);
|
|
26
|
-
var import_spanCollector = require('../common/spanCollector.cjs');
|
|
27
25
|
var import_middleware = require('./middleware.cjs');
|
|
28
26
|
// Annotate the CommonJS export names for ESM import in node:
|
|
29
27
|
0 && (module.exports = {
|
|
30
|
-
ApitallySpanProcessor,
|
|
31
28
|
setConsumer,
|
|
32
29
|
useApitally
|
|
33
30
|
});
|
package/dist/hono/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/hono/index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["../../src/hono/index.ts"],"sourcesContent":["export type { ApitallyConfig, ApitallyConsumer } from \"../common/types.js\";\nexport { setConsumer, useApitally } from \"./middleware.js\";\n"],"mappings":";;;;;;;;;;;;;;;;;;AACA;;;;;;wBAAyC;","names":[]}
|
package/dist/hono/index.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { ApitallySpanProcessor } from '../common/spanCollector.cjs';
|
|
2
1
|
export { ApitallyConfig, ApitallyConsumer } from '../common/types.cjs';
|
|
3
2
|
export { setConsumer, useApitally } from './middleware.cjs';
|
|
4
|
-
import '@opentelemetry/sdk-trace-base';
|
|
5
3
|
import '../common/logging.cjs';
|
|
6
4
|
import 'winston';
|
|
7
5
|
import '../common/requestLogger.cjs';
|
|
8
6
|
import 'node:buffer';
|
|
9
7
|
import 'node:http';
|
|
8
|
+
import '../common/spanCollector.cjs';
|
|
9
|
+
import '@opentelemetry/sdk-trace-base';
|
|
10
10
|
import '../common/tempGzipFile.cjs';
|
|
11
11
|
import 'hono';
|
package/dist/hono/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { ApitallySpanProcessor } from '../common/spanCollector.js';
|
|
2
1
|
export { ApitallyConfig, ApitallyConsumer } from '../common/types.js';
|
|
3
2
|
export { setConsumer, useApitally } from './middleware.js';
|
|
4
|
-
import '@opentelemetry/sdk-trace-base';
|
|
5
3
|
import '../common/logging.js';
|
|
6
4
|
import 'winston';
|
|
7
5
|
import '../common/requestLogger.js';
|
|
8
6
|
import 'node:buffer';
|
|
9
7
|
import 'node:http';
|
|
8
|
+
import '../common/spanCollector.js';
|
|
9
|
+
import '@opentelemetry/sdk-trace-base';
|
|
10
10
|
import '../common/tempGzipFile.js';
|
|
11
11
|
import 'hono';
|
package/dist/hono/index.js
CHANGED
package/dist/hono/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/hono/index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["../../src/hono/index.ts"],"sourcesContent":["export type { ApitallyConfig, ApitallyConsumer } from \"../common/types.js\";\nexport { setConsumer, useApitally } from \"./middleware.js\";\n"],"mappings":"AACA,SAASA,aAAaC,mBAAmB;","names":["setConsumer","useApitally"]}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import '../common/spanCollector.cjs';
|
|
2
1
|
import { ApitallyConsumer, ApitallyConfig } from '../common/types.cjs';
|
|
3
2
|
import { Context, Hono } from 'hono';
|
|
4
|
-
import '@opentelemetry/sdk-trace-base';
|
|
5
3
|
import '../common/logging.cjs';
|
|
6
4
|
import 'winston';
|
|
7
5
|
import '../common/requestLogger.cjs';
|
|
8
6
|
import 'node:buffer';
|
|
9
7
|
import 'node:http';
|
|
8
|
+
import '../common/spanCollector.cjs';
|
|
9
|
+
import '@opentelemetry/sdk-trace-base';
|
|
10
10
|
import '../common/tempGzipFile.cjs';
|
|
11
11
|
|
|
12
12
|
declare module "hono" {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import '../common/spanCollector.js';
|
|
2
1
|
import { ApitallyConsumer, ApitallyConfig } from '../common/types.js';
|
|
3
2
|
import { Context, Hono } from 'hono';
|
|
4
|
-
import '@opentelemetry/sdk-trace-base';
|
|
5
3
|
import '../common/logging.js';
|
|
6
4
|
import 'winston';
|
|
7
5
|
import '../common/requestLogger.js';
|
|
8
6
|
import 'node:buffer';
|
|
9
7
|
import 'node:http';
|
|
8
|
+
import '../common/spanCollector.js';
|
|
9
|
+
import '@opentelemetry/sdk-trace-base';
|
|
10
10
|
import '../common/tempGzipFile.js';
|
|
11
11
|
|
|
12
12
|
declare module "hono" {
|
package/dist/hono/utils.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Hono } from 'hono';
|
|
2
|
-
import { StartupData, PathInfo
|
|
2
|
+
import { ValidationError, StartupData, PathInfo } from '../common/types.cjs';
|
|
3
3
|
import '../common/logging.cjs';
|
|
4
4
|
import 'winston';
|
|
5
5
|
import '../common/requestLogger.cjs';
|
package/dist/hono/utils.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Hono } from 'hono';
|
|
2
|
-
import { StartupData, PathInfo
|
|
2
|
+
import { ValidationError, StartupData, PathInfo } from '../common/types.js';
|
|
3
3
|
import '../common/logging.js';
|
|
4
4
|
import 'winston';
|
|
5
5
|
import '../common/requestLogger.js';
|
package/dist/koa/index.cjs
CHANGED
|
@@ -18,16 +18,13 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var koa_exports = {};
|
|
20
20
|
__export(koa_exports, {
|
|
21
|
-
ApitallySpanProcessor: () => import_spanCollector.ApitallySpanProcessor,
|
|
22
21
|
setConsumer: () => import_middleware.setConsumer,
|
|
23
22
|
useApitally: () => import_middleware.useApitally
|
|
24
23
|
});
|
|
25
24
|
module.exports = __toCommonJS(koa_exports);
|
|
26
|
-
var import_spanCollector = require('../common/spanCollector.cjs');
|
|
27
25
|
var import_middleware = require('./middleware.cjs');
|
|
28
26
|
// Annotate the CommonJS export names for ESM import in node:
|
|
29
27
|
0 && (module.exports = {
|
|
30
|
-
ApitallySpanProcessor,
|
|
31
28
|
setConsumer,
|
|
32
29
|
useApitally
|
|
33
30
|
});
|
package/dist/koa/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/koa/index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["../../src/koa/index.ts"],"sourcesContent":["export type { ApitallyConfig, ApitallyConsumer } from \"../common/types.js\";\nexport { setConsumer, useApitally } from \"./middleware.js\";\n"],"mappings":";;;;;;;;;;;;;;;;;;AACA;;;;;;wBAAyC;","names":[]}
|
package/dist/koa/index.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { ApitallySpanProcessor } from '../common/spanCollector.cjs';
|
|
2
1
|
export { ApitallyConfig, ApitallyConsumer } from '../common/types.cjs';
|
|
3
2
|
export { setConsumer, useApitally } from './middleware.cjs';
|
|
4
|
-
import '@opentelemetry/sdk-trace-base';
|
|
5
3
|
import '../common/logging.cjs';
|
|
6
4
|
import 'winston';
|
|
7
5
|
import '../common/requestLogger.cjs';
|
|
8
6
|
import 'node:buffer';
|
|
9
7
|
import 'node:http';
|
|
8
|
+
import '../common/spanCollector.cjs';
|
|
9
|
+
import '@opentelemetry/sdk-trace-base';
|
|
10
10
|
import '../common/tempGzipFile.cjs';
|
|
11
11
|
import 'koa';
|
package/dist/koa/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { ApitallySpanProcessor } from '../common/spanCollector.js';
|
|
2
1
|
export { ApitallyConfig, ApitallyConsumer } from '../common/types.js';
|
|
3
2
|
export { setConsumer, useApitally } from './middleware.js';
|
|
4
|
-
import '@opentelemetry/sdk-trace-base';
|
|
5
3
|
import '../common/logging.js';
|
|
6
4
|
import 'winston';
|
|
7
5
|
import '../common/requestLogger.js';
|
|
8
6
|
import 'node:buffer';
|
|
9
7
|
import 'node:http';
|
|
8
|
+
import '../common/spanCollector.js';
|
|
9
|
+
import '@opentelemetry/sdk-trace-base';
|
|
10
10
|
import '../common/tempGzipFile.js';
|
|
11
11
|
import 'koa';
|
package/dist/koa/index.js
CHANGED
package/dist/koa/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/koa/index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["../../src/koa/index.ts"],"sourcesContent":["export type { ApitallyConfig, ApitallyConsumer } from \"../common/types.js\";\nexport { setConsumer, useApitally } from \"./middleware.js\";\n"],"mappings":"AACA,SAASA,aAAaC,mBAAmB;","names":["setConsumer","useApitally"]}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import '../common/spanCollector.cjs';
|
|
2
1
|
import { ApitallyConsumer, ApitallyConfig } from '../common/types.cjs';
|
|
3
2
|
import Koa from 'koa';
|
|
4
|
-
import '@opentelemetry/sdk-trace-base';
|
|
5
3
|
import '../common/logging.cjs';
|
|
6
4
|
import 'winston';
|
|
7
5
|
import '../common/requestLogger.cjs';
|
|
8
6
|
import 'node:buffer';
|
|
9
7
|
import 'node:http';
|
|
8
|
+
import '../common/spanCollector.cjs';
|
|
9
|
+
import '@opentelemetry/sdk-trace-base';
|
|
10
10
|
import '../common/tempGzipFile.cjs';
|
|
11
11
|
|
|
12
12
|
declare function useApitally(app: Koa, config: ApitallyConfig): void;
|