@opentelemetry/api
Advanced tools
Comparing version 1.6.0 to 1.7.0
@@ -15,3 +15,3 @@ export { BaggageEntry, BaggageEntryMetadata, Baggage } from './baggage/types'; | ||
export { MeterProvider } from './metrics/MeterProvider'; | ||
export { ValueType, Counter, Histogram, MetricOptions, Observable, ObservableCounter, ObservableGauge, ObservableUpDownCounter, UpDownCounter, BatchObservableCallback, MetricAttributes, MetricAttributeValue, ObservableCallback, } from './metrics/Metric'; | ||
export { ValueType, Counter, Histogram, MetricOptions, Observable, ObservableCounter, ObservableGauge, ObservableUpDownCounter, UpDownCounter, BatchObservableCallback, MetricAdvice, MetricAttributes, MetricAttributeValue, ObservableCallback, } from './metrics/Metric'; | ||
export { BatchObservableResult, ObservableResult, } from './metrics/ObservableResult'; | ||
@@ -18,0 +18,0 @@ export type { MetricsAPI } from './api/metrics'; |
@@ -5,2 +5,13 @@ import { Attributes, AttributeValue } from '../common/Attributes'; | ||
/** | ||
* Advisory options influencing aggregation configuration parameters. | ||
* @experimental | ||
*/ | ||
export interface MetricAdvice { | ||
/** | ||
* Hint the explicit bucket boundaries for SDK if the metric is been | ||
* aggregated with a HistogramAggregator. | ||
*/ | ||
explicitBucketBoundaries?: number[]; | ||
} | ||
/** | ||
* Options needed for metric creation | ||
@@ -24,2 +35,7 @@ */ | ||
valueType?: ValueType; | ||
/** | ||
* The advice influencing aggregation configuration parameters. | ||
* @experimental | ||
*/ | ||
advice?: MetricAdvice; | ||
} | ||
@@ -26,0 +42,0 @@ /** The Type of value. It describes how the data is reported. */ |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.6.0"; | ||
export declare const VERSION = "1.7.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -17,3 +17,3 @@ /* | ||
// this is autogenerated file, see scripts/version-update.js | ||
export var VERSION = '1.6.0'; | ||
export var VERSION = '1.7.0'; | ||
//# sourceMappingURL=version.js.map |
@@ -15,3 +15,3 @@ export { BaggageEntry, BaggageEntryMetadata, Baggage } from './baggage/types'; | ||
export { MeterProvider } from './metrics/MeterProvider'; | ||
export { ValueType, Counter, Histogram, MetricOptions, Observable, ObservableCounter, ObservableGauge, ObservableUpDownCounter, UpDownCounter, BatchObservableCallback, MetricAttributes, MetricAttributeValue, ObservableCallback, } from './metrics/Metric'; | ||
export { ValueType, Counter, Histogram, MetricOptions, Observable, ObservableCounter, ObservableGauge, ObservableUpDownCounter, UpDownCounter, BatchObservableCallback, MetricAdvice, MetricAttributes, MetricAttributeValue, ObservableCallback, } from './metrics/Metric'; | ||
export { BatchObservableResult, ObservableResult, } from './metrics/ObservableResult'; | ||
@@ -18,0 +18,0 @@ export type { MetricsAPI } from './api/metrics'; |
@@ -5,2 +5,13 @@ import { Attributes, AttributeValue } from '../common/Attributes'; | ||
/** | ||
* Advisory options influencing aggregation configuration parameters. | ||
* @experimental | ||
*/ | ||
export interface MetricAdvice { | ||
/** | ||
* Hint the explicit bucket boundaries for SDK if the metric is been | ||
* aggregated with a HistogramAggregator. | ||
*/ | ||
explicitBucketBoundaries?: number[]; | ||
} | ||
/** | ||
* Options needed for metric creation | ||
@@ -24,2 +35,7 @@ */ | ||
valueType?: ValueType; | ||
/** | ||
* The advice influencing aggregation configuration parameters. | ||
* @experimental | ||
*/ | ||
advice?: MetricAdvice; | ||
} | ||
@@ -26,0 +42,0 @@ /** The Type of value. It describes how the data is reported. */ |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.6.0"; | ||
export declare const VERSION = "1.7.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '1.6.0'; | ||
exports.VERSION = '1.7.0'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/api", | ||
"version": "1.6.0", | ||
"version": "1.7.0", | ||
"description": "Public API for OpenTelemetry", | ||
"main": "build/src/index.js", | ||
"module": "build/esm/index.js", | ||
"esnext": "build/esnext/index.js", | ||
"types": "build/src/index.d.ts", | ||
@@ -11,2 +12,3 @@ "browser": { | ||
"./build/esm/platform/index.js": "./build/esm/platform/browser/index.js", | ||
"./build/esnext/platform/index.js": "./build/esnext/platform/browser/index.js", | ||
"./build/src/platform/index.js": "./build/src/platform/browser/index.js" | ||
@@ -55,2 +57,5 @@ }, | ||
"build/esm/**/*.d.ts", | ||
"build/esnext/**/*.js", | ||
"build/esnext/**/*.js.map", | ||
"build/esnext/**/*.d.ts", | ||
"build/src/**/*.js", | ||
@@ -66,6 +71,6 @@ "build/src/**/*.js.map", | ||
"devDependencies": { | ||
"@types/mocha": "10.0.1", | ||
"@types/mocha": "10.0.3", | ||
"@types/node": "18.6.5", | ||
"@types/sinon": "10.0.16", | ||
"@types/webpack": "4.41.33", | ||
"@types/sinon": "10.0.20", | ||
"@types/webpack": "4.41.35", | ||
"@types/webpack-env": "1.16.3", | ||
@@ -83,3 +88,3 @@ "babel-plugin-istanbul": "6.1.1", | ||
"karma-webpack": "4.0.2", | ||
"lerna": "7.1.5", | ||
"lerna": "6.6.2", | ||
"memfs": "3.5.3", | ||
@@ -97,3 +102,3 @@ "mocha": "10.2.0", | ||
"sideEffects": false, | ||
"gitHead": "faf939c77591f709afbc23fadbe629c9d3607ef6" | ||
"gitHead": "73b446688f10fd8dc4cf403a085f0a39070df7b4" | ||
} |
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
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
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
1146473
615
13424