@opentelemetry/exporter-prometheus
Advanced tools
Comparing version 0.10.2 to 0.10.3-alpha.28
@@ -182,5 +182,8 @@ "use strict"; | ||
return new prom_client_1.Gauge(metricObject); | ||
// case MetricKind.VALUE_RECORDER: | ||
// case MetricKind.SUM_OBSERVER: | ||
// case MetricKind.UP_DOWN_SUM_OBSERVER: | ||
case metrics_1.MetricKind.VALUE_RECORDER: | ||
return new prom_client_1.Gauge(metricObject); | ||
case metrics_1.MetricKind.SUM_OBSERVER: | ||
return new prom_client_1.Counter(metricObject); | ||
case metrics_1.MetricKind.UP_DOWN_SUM_OBSERVER: | ||
return new prom_client_1.Gauge(metricObject); | ||
case metrics_1.MetricKind.VALUE_OBSERVER: | ||
@@ -187,0 +190,0 @@ return new prom_client_1.Gauge(metricObject); |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.10.2"; | ||
export declare const VERSION = "0.10.3-alpha.28+d68ff0f"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.10.2'; | ||
exports.VERSION = '0.10.3-alpha.28+d68ff0f'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/exporter-prometheus", | ||
"version": "0.10.2", | ||
"version": "0.10.3-alpha.28+d68ff0f", | ||
"description": "OpenTelemetry Exporter Prometheus provides a metrics endpoint for Prometheus", | ||
@@ -44,3 +44,3 @@ "main": "build/src/index.js", | ||
"devDependencies": { | ||
"@types/mocha": "8.0.0", | ||
"@types/mocha": "8.0.2", | ||
"@types/node": "14.0.27", | ||
@@ -59,6 +59,6 @@ "codecov": "3.7.2", | ||
"@opentelemetry/core": "^0.10.2", | ||
"@opentelemetry/metrics": "^0.10.2", | ||
"@opentelemetry/metrics": "^0.10.3-alpha.28+d68ff0f", | ||
"prom-client": "^11.5.3" | ||
}, | ||
"gitHead": "b247e69034a7888a842fe75e0a5ff06f8bea44a8" | ||
"gitHead": "d68ff0fb7594f6a367cb7a5057cfb2875e8c082f" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
41304
459
2
+ Added@opentelemetry/api@0.10.3-canary.0(transitive)
+ Added@opentelemetry/context-base@0.10.3-canary.0(transitive)
+ Added@opentelemetry/core@0.10.3-canary.0(transitive)
+ Added@opentelemetry/metrics@0.10.3-canary.0(transitive)
+ Added@opentelemetry/resources@0.10.3-canary.0(transitive)
- Removed@opentelemetry/metrics@0.10.2(transitive)
- Removed@opentelemetry/resources@0.10.2(transitive)