@opentelemetry/exporter-prometheus
Advanced tools
Comparing version 0.40.0 to 0.41.0
@@ -17,16 +17,7 @@ "use strict"; | ||
*/ | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./PrometheusExporter"), exports); | ||
__exportStar(require("./PrometheusSerializer"), exports); | ||
__exportStar(require("./export/types"), exports); | ||
const tslib_1 = require("tslib"); | ||
(0, tslib_1.__exportStar)(require("./PrometheusExporter"), exports); | ||
(0, tslib_1.__exportStar)(require("./PrometheusSerializer"), exports); | ||
(0, tslib_1.__exportStar)(require("./export/types"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -171,4 +171,4 @@ "use strict"; | ||
prefix: '', | ||
appendTimestamp: true, | ||
appendTimestamp: false, | ||
}; | ||
//# sourceMappingURL=PrometheusExporter.js.map |
@@ -132,3 +132,3 @@ "use strict"; | ||
class PrometheusSerializer { | ||
constructor(prefix, appendTimestamp = true) { | ||
constructor(prefix, appendTimestamp = false) { | ||
if (prefix) { | ||
@@ -135,0 +135,0 @@ this._prefix = prefix + '_'; |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.40.0"; | ||
export declare const VERSION = "0.41.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.40.0'; | ||
exports.VERSION = '0.41.0'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/exporter-prometheus", | ||
"version": "0.40.0", | ||
"version": "0.41.0", | ||
"description": "OpenTelemetry Exporter Prometheus provides a metrics endpoint for Prometheus", | ||
@@ -19,3 +19,3 @@ "main": "build/src/index.js", | ||
"watch": "tsc --build --watch", | ||
"precompile": "lerna run version --scope $(npm pkg get name) --include-dependencies", | ||
"precompile": "cross-var lerna run version --scope $npm_package_name --include-dependencies", | ||
"prewatch": "npm run precompile", | ||
@@ -48,10 +48,12 @@ "peer-api-check": "node ../../../scripts/peer-api-check.js" | ||
"@opentelemetry/api": "1.4.1", | ||
"@opentelemetry/semantic-conventions": "1.14.0", | ||
"@types/mocha": "10.0.0", | ||
"@opentelemetry/semantic-conventions": "1.15.0", | ||
"@types/mocha": "10.0.1", | ||
"@types/node": "18.6.5", | ||
"@types/sinon": "10.0.13", | ||
"@types/sinon": "10.0.15", | ||
"codecov": "3.8.3", | ||
"mocha": "10.0.0", | ||
"cross-var": "1.1.0", | ||
"lerna": "7.1.1", | ||
"mocha": "10.2.0", | ||
"nyc": "15.1.0", | ||
"sinon": "15.0.0", | ||
"sinon": "15.1.2", | ||
"ts-mocha": "10.0.0", | ||
@@ -64,9 +66,10 @@ "typescript": "4.4.4" | ||
"dependencies": { | ||
"@opentelemetry/core": "1.14.0", | ||
"@opentelemetry/resources": "1.14.0", | ||
"@opentelemetry/sdk-metrics": "1.14.0" | ||
"@opentelemetry/core": "1.15.0", | ||
"@opentelemetry/resources": "1.15.0", | ||
"@opentelemetry/sdk-metrics": "1.15.0", | ||
"tslib": "^2.3.1" | ||
}, | ||
"homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-exporter-prometheus", | ||
"sideEffects": false, | ||
"gitHead": "edebbcc757535bc88f01340409dbbecc0bb6ccf8" | ||
"gitHead": "06e919d6c909e8cc8e28b6624d9843f401d9b059" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1
70225
5
13
589
+ Addedtslib@^2.3.1
+ Added@opentelemetry/core@1.15.0(transitive)
+ Added@opentelemetry/resources@1.15.0(transitive)
+ Added@opentelemetry/sdk-metrics@1.15.0(transitive)
+ Added@opentelemetry/semantic-conventions@1.15.0(transitive)
+ Addedtslib@2.8.1(transitive)
- Removed@opentelemetry/core@1.14.0(transitive)
- Removed@opentelemetry/resources@1.14.0(transitive)
- Removed@opentelemetry/sdk-metrics@1.14.0(transitive)
- Removed@opentelemetry/semantic-conventions@1.14.0(transitive)
Updated@opentelemetry/core@1.15.0