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

@opentelemetry/exporter-prometheus

Package Overview
Dependencies
Maintainers
5
Versions
188
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.3.2 to 0.3.3

2

build/src/version.d.ts

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

*/
export declare const VERSION = "0.3.2";
export declare const VERSION = "0.3.3";

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

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

@@ -50,3 +50,3 @@ "main": "build/src/index.js",

"ts-mocha": "^6.0.0",
"ts-node": "^8.3.0",
"ts-node": "^8.6.2",
"tslint-consistent-codestyle": "^1.16.0",

@@ -57,8 +57,8 @@ "tslint-microsoft-contrib": "^6.2.0",

"dependencies": {
"@opentelemetry/base": "^0.3.2",
"@opentelemetry/core": "^0.3.2",
"@opentelemetry/metrics": "^0.3.2",
"@opentelemetry/types": "^0.3.2",
"@opentelemetry/base": "^0.3.3",
"@opentelemetry/core": "^0.3.3",
"@opentelemetry/metrics": "^0.3.3",
"@opentelemetry/types": "^0.3.3",
"prom-client": "^11.5.3"
}
}

@@ -25,3 +25,3 @@ # OpenTelemetry Prometheus Exporter

const { PrometheusExporter } = require('@opentelemetry/exporter-prometheus');
const { Meter } = require('@opentelemetry/metrics');
const { MeterRegistry } = require('@opentelemetry/metrics');

@@ -33,3 +33,3 @@ // Add your port and startServer to the Prometheus options

// Register the exporter
const meter = new Meter();
const meter = new MeterRegistry().getMeter('exporter-prometheus');
meter.addExporter(exporter);

@@ -36,0 +36,0 @@

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