@opentelemetry/exporter-prometheus
Advanced tools
Comparing version 0.11.1-alpha.15 to 0.11.1-alpha.35
@@ -26,6 +26,6 @@ import * as api from '@opentelemetry/api'; | ||
/** | ||
* Define if the Prometheus exporter server will be started | ||
* Prevent the Prometheus exporter server from starting | ||
* @default false | ||
*/ | ||
startServer?: boolean; | ||
preventServerStart?: boolean; | ||
/** Standard logging interface */ | ||
@@ -32,0 +32,0 @@ logger?: api.Logger; |
@@ -7,3 +7,2 @@ import { ExportResult } from '@opentelemetry/core'; | ||
port: number; | ||
startServer: boolean; | ||
endpoint: string; | ||
@@ -10,0 +9,0 @@ prefix: string; |
@@ -75,3 +75,3 @@ "use strict"; | ||
this._endpoint = (config.endpoint || PrometheusExporter.DEFAULT_OPTIONS.endpoint).replace(/^([^/])/, '/$1'); | ||
if (config.startServer || PrometheusExporter.DEFAULT_OPTIONS.startServer) { | ||
if (config.preventServerStart !== true) { | ||
this.startServer().then(callback); | ||
@@ -155,3 +155,2 @@ } | ||
port: 9464, | ||
startServer: false, | ||
endpoint: '/metrics', | ||
@@ -158,0 +157,0 @@ prefix: '', |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.11.1-alpha.15+e170039"; | ||
export declare const VERSION = "0.11.1-alpha.35+c6c993bb"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.11.1-alpha.15+e170039'; | ||
exports.VERSION = '0.11.1-alpha.35+c6c993bb'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/exporter-prometheus", | ||
"version": "0.11.1-alpha.15+e170039", | ||
"version": "0.11.1-alpha.35+c6c993bb", | ||
"description": "OpenTelemetry Exporter Prometheus provides a metrics endpoint for Prometheus", | ||
@@ -56,7 +56,7 @@ "main": "build/src/index.js", | ||
"dependencies": { | ||
"@opentelemetry/api": "^0.11.1-alpha.15+e170039", | ||
"@opentelemetry/core": "^0.11.1-alpha.15+e170039", | ||
"@opentelemetry/metrics": "^0.11.1-alpha.15+e170039" | ||
"@opentelemetry/api": "^0.11.1-alpha.35+c6c993bb", | ||
"@opentelemetry/core": "^0.11.1-alpha.35+c6c993bb", | ||
"@opentelemetry/metrics": "^0.11.1-alpha.35+c6c993bb" | ||
}, | ||
"gitHead": "e170039015e8a1a7419bb835a00659b2a734b8a6" | ||
"gitHead": "c6c993bb16c58ba907337a5667da01b3c248e350" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
49883
575