New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@opentelemetry/exporter-prometheus

Package Overview
Dependencies
Maintainers
5
Versions
189
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/exporter-prometheus - npm Package Compare versions

Comparing version 0.7.0 to 0.8.0

5

build/src/export/types.d.ts

@@ -16,3 +16,3 @@ /*!

*/
import * as types from '@opentelemetry/api';
import * as api from '@opentelemetry/api';
/**

@@ -47,3 +47,4 @@ * Configuration interface for prometheus exporter

/** Standard logging interface */
logger?: types.Logger;
logger?: api.Logger;
}
//# sourceMappingURL=types.d.ts.map

1

build/src/index.d.ts

@@ -18,1 +18,2 @@ /*!

export * from './export/types';
//# sourceMappingURL=index.d.ts.map

@@ -16,3 +16,3 @@ /*!

*/
import { ExportResult } from '@opentelemetry/base';
import { ExportResult } from '@opentelemetry/core';
import { MetricExporter, MetricRecord } from '@opentelemetry/metrics';

@@ -117,1 +117,2 @@ import { ExporterConfig } from './export/types';

}
//# sourceMappingURL=prometheus.d.ts.map

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

Object.defineProperty(exports, "__esModule", { value: true });
const base_1 = require("@opentelemetry/base");
const core_1 = require("@opentelemetry/core");

@@ -96,3 +95,3 @@ const metrics_1 = require("@opentelemetry/metrics");

// However unlikely, if this happens the caller may retry the export
cb(base_1.ExportResult.FAILED_RETRYABLE);
cb(core_1.ExportResult.FAILED_RETRYABLE);
return;

@@ -104,3 +103,3 @@ }

}
cb(base_1.ExportResult.SUCCESS);
cb(core_1.ExportResult.SUCCESS);
}

@@ -107,0 +106,0 @@ /**

@@ -16,2 +16,3 @@ /*!

*/
export declare const VERSION = "0.7.0";
export declare const VERSION = "0.8.0";
//# sourceMappingURL=version.d.ts.map

@@ -19,3 +19,3 @@ "use strict";

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.7.0';
exports.VERSION = '0.8.0';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/exporter-prometheus",
"version": "0.7.0",
"version": "0.8.0",
"description": "OpenTelemetry Exporter Prometheus provides a metrics endpoint for Prometheus",

@@ -57,8 +57,7 @@ "main": "build/src/index.js",

"dependencies": {
"@opentelemetry/api": "^0.7.0",
"@opentelemetry/base": "^0.7.0",
"@opentelemetry/core": "^0.7.0",
"@opentelemetry/metrics": "^0.7.0",
"@opentelemetry/api": "^0.8.0",
"@opentelemetry/core": "^0.8.0",
"@opentelemetry/metrics": "^0.8.0",
"prom-client": "^11.5.3"
}
}
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