@opentelemetry/exporter-prometheus
Advanced tools
Comparing version 0.7.0 to 0.8.0
@@ -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 |
@@ -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" | ||
} | ||
} |
36889
4
506
+ Added@opentelemetry/api@0.8.3(transitive)
+ Added@opentelemetry/context-base@0.8.3(transitive)
+ Added@opentelemetry/core@0.8.3(transitive)
+ Added@opentelemetry/metrics@0.8.3(transitive)
+ Added@opentelemetry/resources@0.8.3(transitive)
- Removed@opentelemetry/base@^0.7.0
- Removed@opentelemetry/api@0.7.0(transitive)
- Removed@opentelemetry/base@0.7.0(transitive)
- Removed@opentelemetry/context-base@0.7.0(transitive)
- Removed@opentelemetry/core@0.7.0(transitive)
- Removed@opentelemetry/metrics@0.7.0(transitive)
- Removed@opentelemetry/resources@0.7.0(transitive)
Updated@opentelemetry/api@^0.8.0
Updated@opentelemetry/core@^0.8.0