Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aurox/telemetry

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aurox/telemetry - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

dist/external/metakits.d.ts

1

dist/external/index.d.ts
export * from './axios';
export * from './axpg';
export * from './ioredis';
export * from './metakits';
export * from './pws';
export * from './uws';

@@ -7,4 +7,5 @@ "use strict";

(0, tslib_1.__exportStar)(require("./ioredis"), exports);
(0, tslib_1.__exportStar)(require("./metakits"), exports);
(0, tslib_1.__exportStar)(require("./pws"), exports);
(0, tslib_1.__exportStar)(require("./uws"), exports);
//# sourceMappingURL=index.js.map
import client, { Registry } from 'prom-client';
import { TelemetryService } from '../service';
import { createInitializableMetakitsMetricsHook } from './instrument/metakits';
import { createAxpgMetricsInterceptorsBuilder } from './instrument/axpg';

@@ -9,2 +10,5 @@ import { createKoaMetricsMiddlewareBuilder } from './instrument/koa';

export interface MetricsInstrumentation {
metakits: {
initializable: ReturnType<typeof createInitializableMetakitsMetricsHook>;
};
axpg: {

@@ -11,0 +15,0 @@ interceptors: ReturnType<typeof createAxpgMetricsInterceptorsBuilder>;

@@ -8,2 +8,3 @@ "use strict";

const config_1 = require("../config");
const metakits_1 = require("./instrument/metakits");
const axpg_1 = require("./instrument/axpg");

@@ -28,2 +29,3 @@ const koa_1 = require("./instrument/koa");

metrics.instrument = {
metakits: { initializable: (0, metakits_1.createInitializableMetakitsMetricsHook)(metrics) },
axpg: { interceptors: (0, axpg_1.createAxpgMetricsInterceptorsBuilder)(metrics) },

@@ -30,0 +32,0 @@ koa: { middleware: (0, koa_1.createKoaMetricsMiddlewareBuilder)(metrics) },

2

package.json
{
"name": "@aurox/telemetry",
"version": "0.6.1",
"version": "0.6.2",
"description": "A universal solution for logging, tracing, metrics, health-checks and more",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

export * from './axios';
export * from './axpg';
export * from './ioredis';
export * from './metakits';
export * from './pws';
export * from './uws';

@@ -7,2 +7,3 @@ import client, { collectDefaultMetrics, Registry } from 'prom-client';

import { createInitializableMetakitsMetricsHook } from './instrument/metakits';
import { createAxpgMetricsInterceptorsBuilder } from './instrument/axpg';

@@ -15,2 +16,3 @@ import { createKoaMetricsMiddlewareBuilder } from './instrument/koa';

export interface MetricsInstrumentation {
metakits: { initializable: ReturnType<typeof createInitializableMetakitsMetricsHook> };
axpg: { interceptors: ReturnType<typeof createAxpgMetricsInterceptorsBuilder> };

@@ -58,2 +60,3 @@ koa: { middleware: ReturnType<typeof createKoaMetricsMiddlewareBuilder> };

metrics.instrument = {
metakits: { initializable: createInitializableMetakitsMetricsHook(metrics) },
axpg: { interceptors: createAxpgMetricsInterceptorsBuilder(metrics) },

@@ -60,0 +63,0 @@ koa: { middleware: createKoaMetricsMiddlewareBuilder(metrics) },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc