@opentelemetry/api-metrics
Advanced tools
Comparing version 0.24.1-alpha.31 to 0.25.1-alpha.21
@@ -6,2 +6,3 @@ import { BatchObserverResult } from './types/BatchObserverResult'; | ||
import { ObserverResult } from './types/ObserverResult'; | ||
import { Observation } from './types/Observation'; | ||
/** | ||
@@ -87,6 +88,3 @@ * NoopMeter is a noop implementation of the {@link Meter} interface. It reuses | ||
export declare class NoopBaseObserverMetric extends NoopMetric<BoundBaseObserver> implements BaseObserver { | ||
observation(): { | ||
observer: BaseObserver; | ||
value: number; | ||
}; | ||
observation(): Observation; | ||
} | ||
@@ -93,0 +91,0 @@ export declare class NoopBatchObserver { |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.24.0"; | ||
export declare const VERSION = "0.25.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -17,3 +17,3 @@ /* | ||
// this is autogenerated file, see scripts/version-update.js | ||
export var VERSION = '0.24.0'; | ||
export var VERSION = '0.25.0'; | ||
//# sourceMappingURL=version.js.map |
@@ -6,2 +6,3 @@ import { BatchObserverResult } from './types/BatchObserverResult'; | ||
import { ObserverResult } from './types/ObserverResult'; | ||
import { Observation } from './types/Observation'; | ||
/** | ||
@@ -87,6 +88,3 @@ * NoopMeter is a noop implementation of the {@link Meter} interface. It reuses | ||
export declare class NoopBaseObserverMetric extends NoopMetric<BoundBaseObserver> implements BaseObserver { | ||
observation(): { | ||
observer: BaseObserver; | ||
value: number; | ||
}; | ||
observation(): Observation; | ||
} | ||
@@ -93,0 +91,0 @@ export declare class NoopBatchObserver { |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.24.0"; | ||
export declare const VERSION = "0.25.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.24.0'; | ||
exports.VERSION = '0.25.0'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/api-metrics", | ||
"version": "0.24.1-alpha.31+fd2410cc", | ||
"version": "0.25.1-alpha.21+0ef1fc28", | ||
"description": "Public metrics API for OpenTelemetry", | ||
@@ -56,8 +56,8 @@ "main": "build/src/index.js", | ||
"peerDependencies": { | ||
"@opentelemetry/api": "^1.0.1" | ||
"@opentelemetry/api": "^1.0.2" | ||
}, | ||
"devDependencies": { | ||
"@opentelemetry/api": "^1.0.1", | ||
"@opentelemetry/api": "^1.0.2", | ||
"@types/mocha": "8.2.3", | ||
"@types/node": "14.17.5", | ||
"@types/node": "14.17.9", | ||
"@types/webpack-env": "1.16.2", | ||
@@ -79,3 +79,3 @@ "codecov": "3.8.3", | ||
}, | ||
"gitHead": "fd2410cc9e8d43210b6ea44b8193fa70ee900499" | ||
"gitHead": "0ef1fc28d366b74d98b73b5d6334ffdc75342fe2" | ||
} |
@@ -24,3 +24,3 @@ # OpenTelemetry API for JavaScript | ||
@opentelemetry/api-metrics \ | ||
@opentelemetry/metrics \ | ||
@opentelemetry/sdk-metrics-base \ | ||
@opentelemetry/exporter-prometheus # add exporters as needed | ||
@@ -41,3 +41,3 @@ ``` | ||
const api = require("@opentelemetry/api-metrics"); | ||
const { MeterProvider } = require("@opentelemetry/metrics"); | ||
const { MeterProvider } = require("@opentelemetry/sdk-metrics-base"); | ||
const { PrometheusExporter } = require("@opentelemetry/exporter-prometheus"); | ||
@@ -107,7 +107,7 @@ | ||
[web]: https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-web | ||
[tracing]: https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-tracing | ||
[node]: https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-node | ||
[metrics]: https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-metrics | ||
[web]: https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-sdk-trace-web | ||
[tracing]: https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-sdk-trace-base | ||
[node]: https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-sdk-trace-node | ||
[metrics]: https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-sdk-metrics-base | ||
[other-tracing-backends]: https://github.com/open-telemetry/opentelemetry-js#trace-exporters |
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
126020
2182