@opentelemetry/api
Advanced tools
Comparing version 1.8.0 to 1.9.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, MetricAdvice, MetricAttributes, MetricAttributeValue, ObservableCallback, } from './metrics/Metric'; | ||
export { ValueType, Counter, Gauge, 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'; |
@@ -1,2 +0,2 @@ | ||
import { BatchObservableCallback, Counter, Histogram, MetricAttributes, MetricOptions, Observable, ObservableCounter, ObservableGauge, ObservableUpDownCounter, UpDownCounter } from './Metric'; | ||
import { BatchObservableCallback, Counter, Gauge, Histogram, MetricAttributes, MetricOptions, Observable, ObservableCounter, ObservableGauge, ObservableUpDownCounter, UpDownCounter } from './Metric'; | ||
/** | ||
@@ -20,2 +20,8 @@ * An interface describes additional metadata of a meter. | ||
/** | ||
* Creates and returns a new `Gauge`. | ||
* @param name the name of the metric. | ||
* @param [options] the metric options. | ||
*/ | ||
createGauge<AttributesTypes extends MetricAttributes = MetricAttributes>(name: string, options?: MetricOptions): Gauge<AttributesTypes>; | ||
/** | ||
* Creates and returns a new `Histogram`. | ||
@@ -22,0 +28,0 @@ * @param name the name of the metric. |
@@ -72,2 +72,8 @@ import { Attributes, AttributeValue } from '../common/Attributes'; | ||
} | ||
export interface Gauge<AttributesTypes extends MetricAttributes = MetricAttributes> { | ||
/** | ||
* Records a measurement. | ||
*/ | ||
record(value: number, attributes?: AttributesTypes, context?: Context): void; | ||
} | ||
export interface Histogram<AttributesTypes extends MetricAttributes = MetricAttributes> { | ||
@@ -74,0 +80,0 @@ /** |
import { Meter } from './Meter'; | ||
import { BatchObservableCallback, Counter, Histogram, MetricOptions, ObservableCallback, ObservableCounter, ObservableGauge, ObservableUpDownCounter, UpDownCounter, MetricAttributes, Observable } from './Metric'; | ||
import { BatchObservableCallback, Counter, Gauge, Histogram, MetricAttributes, MetricOptions, Observable, ObservableCallback, ObservableCounter, ObservableGauge, ObservableUpDownCounter, UpDownCounter } from './Metric'; | ||
/** | ||
@@ -10,2 +10,6 @@ * NoopMeter is a noop implementation of the {@link Meter} interface. It reuses | ||
/** | ||
* @see {@link Meter.createGauge} | ||
*/ | ||
createGauge(_name: string, _options?: MetricOptions): Gauge; | ||
/** | ||
* @see {@link Meter.createHistogram} | ||
@@ -51,2 +55,5 @@ */ | ||
} | ||
export declare class NoopGaugeMetric extends NoopMetric implements Gauge { | ||
record(_value: number, _attributes: MetricAttributes): void; | ||
} | ||
export declare class NoopHistogramMetric extends NoopMetric implements Histogram { | ||
@@ -67,2 +74,3 @@ record(_value: number, _attributes: MetricAttributes): void; | ||
export declare const NOOP_COUNTER_METRIC: NoopCounterMetric; | ||
export declare const NOOP_GAUGE_METRIC: NoopGaugeMetric; | ||
export declare const NOOP_HISTOGRAM_METRIC: NoopHistogramMetric; | ||
@@ -69,0 +77,0 @@ export declare const NOOP_UP_DOWN_COUNTER_METRIC: NoopUpDownCounterMetric; |
@@ -39,2 +39,8 @@ /* | ||
/** | ||
* @see {@link Meter.createGauge} | ||
*/ | ||
NoopMeter.prototype.createGauge = function (_name, _options) { | ||
return NOOP_GAUGE_METRIC; | ||
}; | ||
/** | ||
* @see {@link Meter.createHistogram} | ||
@@ -110,2 +116,11 @@ */ | ||
export { NoopUpDownCounterMetric }; | ||
var NoopGaugeMetric = /** @class */ (function (_super) { | ||
__extends(NoopGaugeMetric, _super); | ||
function NoopGaugeMetric() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
NoopGaugeMetric.prototype.record = function (_value, _attributes) { }; | ||
return NoopGaugeMetric; | ||
}(NoopMetric)); | ||
export { NoopGaugeMetric }; | ||
var NoopHistogramMetric = /** @class */ (function (_super) { | ||
@@ -155,2 +170,3 @@ __extends(NoopHistogramMetric, _super); | ||
export var NOOP_COUNTER_METRIC = new NoopCounterMetric(); | ||
export var NOOP_GAUGE_METRIC = new NoopGaugeMetric(); | ||
export var NOOP_HISTOGRAM_METRIC = new NoopHistogramMetric(); | ||
@@ -157,0 +173,0 @@ export var NOOP_UP_DOWN_COUNTER_METRIC = new NoopUpDownCounterMetric(); |
@@ -7,2 +7,3 @@ import { Exception } from '../common/Exception'; | ||
import { SpanStatus } from './status'; | ||
import { Link } from './link'; | ||
/** | ||
@@ -20,2 +21,4 @@ * The NonRecordingSpan is the default {@link Span} that is used when no Span | ||
addEvent(_name: string, _attributes?: SpanAttributes): this; | ||
addLink(_link: Link): this; | ||
addLinks(_links: Link[]): this; | ||
setStatus(_status: SpanStatus): this; | ||
@@ -22,0 +25,0 @@ updateName(_name: string): this; |
@@ -43,2 +43,8 @@ /* | ||
}; | ||
NonRecordingSpan.prototype.addLink = function (_link) { | ||
return this; | ||
}; | ||
NonRecordingSpan.prototype.addLinks = function (_links) { | ||
return this; | ||
}; | ||
// By default does nothing | ||
@@ -45,0 +51,0 @@ NonRecordingSpan.prototype.setStatus = function (_status) { |
@@ -6,2 +6,3 @@ import { Exception } from '../common/Exception'; | ||
import { SpanStatus } from './status'; | ||
import { Link } from './link'; | ||
/** | ||
@@ -56,2 +57,20 @@ * An interface that represents a span. A span represents a single operation | ||
/** | ||
* Adds a single link to the span. | ||
* | ||
* Links added after the creation will not affect the sampling decision. | ||
* It is preferred span links be added at span creation. | ||
* | ||
* @param link the link to add. | ||
*/ | ||
addLink(link: Link): this; | ||
/** | ||
* Adds multiple links to the span. | ||
* | ||
* Links added after the creation will not affect the sampling decision. | ||
* It is preferred span links be added at span creation. | ||
* | ||
* @param links the links to add. | ||
*/ | ||
addLinks(links: Link[]): this; | ||
/** | ||
* Sets a status to the span. If used, this will override the default Span | ||
@@ -58,0 +77,0 @@ * status. Default is {@link SpanStatusCode.UNSET}. SetStatus overrides the value |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.8.0"; | ||
export declare const VERSION = "1.9.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -17,3 +17,3 @@ /* | ||
// this is autogenerated file, see scripts/version-update.js | ||
export var VERSION = '1.8.0'; | ||
export var VERSION = '1.9.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, MetricAdvice, MetricAttributes, MetricAttributeValue, ObservableCallback, } from './metrics/Metric'; | ||
export { ValueType, Counter, Gauge, 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'; |
@@ -1,2 +0,2 @@ | ||
import { BatchObservableCallback, Counter, Histogram, MetricAttributes, MetricOptions, Observable, ObservableCounter, ObservableGauge, ObservableUpDownCounter, UpDownCounter } from './Metric'; | ||
import { BatchObservableCallback, Counter, Gauge, Histogram, MetricAttributes, MetricOptions, Observable, ObservableCounter, ObservableGauge, ObservableUpDownCounter, UpDownCounter } from './Metric'; | ||
/** | ||
@@ -20,2 +20,8 @@ * An interface describes additional metadata of a meter. | ||
/** | ||
* Creates and returns a new `Gauge`. | ||
* @param name the name of the metric. | ||
* @param [options] the metric options. | ||
*/ | ||
createGauge<AttributesTypes extends MetricAttributes = MetricAttributes>(name: string, options?: MetricOptions): Gauge<AttributesTypes>; | ||
/** | ||
* Creates and returns a new `Histogram`. | ||
@@ -22,0 +28,0 @@ * @param name the name of the metric. |
@@ -72,2 +72,8 @@ import { Attributes, AttributeValue } from '../common/Attributes'; | ||
} | ||
export interface Gauge<AttributesTypes extends MetricAttributes = MetricAttributes> { | ||
/** | ||
* Records a measurement. | ||
*/ | ||
record(value: number, attributes?: AttributesTypes, context?: Context): void; | ||
} | ||
export interface Histogram<AttributesTypes extends MetricAttributes = MetricAttributes> { | ||
@@ -74,0 +80,0 @@ /** |
import { Meter } from './Meter'; | ||
import { BatchObservableCallback, Counter, Histogram, MetricOptions, ObservableCallback, ObservableCounter, ObservableGauge, ObservableUpDownCounter, UpDownCounter, MetricAttributes, Observable } from './Metric'; | ||
import { BatchObservableCallback, Counter, Gauge, Histogram, MetricAttributes, MetricOptions, Observable, ObservableCallback, ObservableCounter, ObservableGauge, ObservableUpDownCounter, UpDownCounter } from './Metric'; | ||
/** | ||
@@ -10,2 +10,6 @@ * NoopMeter is a noop implementation of the {@link Meter} interface. It reuses | ||
/** | ||
* @see {@link Meter.createGauge} | ||
*/ | ||
createGauge(_name: string, _options?: MetricOptions): Gauge; | ||
/** | ||
* @see {@link Meter.createHistogram} | ||
@@ -51,2 +55,5 @@ */ | ||
} | ||
export declare class NoopGaugeMetric extends NoopMetric implements Gauge { | ||
record(_value: number, _attributes: MetricAttributes): void; | ||
} | ||
export declare class NoopHistogramMetric extends NoopMetric implements Histogram { | ||
@@ -67,2 +74,3 @@ record(_value: number, _attributes: MetricAttributes): void; | ||
export declare const NOOP_COUNTER_METRIC: NoopCounterMetric; | ||
export declare const NOOP_GAUGE_METRIC: NoopGaugeMetric; | ||
export declare const NOOP_HISTOGRAM_METRIC: NoopHistogramMetric; | ||
@@ -69,0 +77,0 @@ export declare const NOOP_UP_DOWN_COUNTER_METRIC: NoopUpDownCounterMetric; |
@@ -23,2 +23,8 @@ /* | ||
/** | ||
* @see {@link Meter.createGauge} | ||
*/ | ||
createGauge(_name, _options) { | ||
return NOOP_GAUGE_METRIC; | ||
} | ||
/** | ||
* @see {@link Meter.createHistogram} | ||
@@ -76,2 +82,5 @@ */ | ||
} | ||
export class NoopGaugeMetric extends NoopMetric { | ||
record(_value, _attributes) { } | ||
} | ||
export class NoopHistogramMetric extends NoopMetric { | ||
@@ -93,2 +102,3 @@ record(_value, _attributes) { } | ||
export const NOOP_COUNTER_METRIC = new NoopCounterMetric(); | ||
export const NOOP_GAUGE_METRIC = new NoopGaugeMetric(); | ||
export const NOOP_HISTOGRAM_METRIC = new NoopHistogramMetric(); | ||
@@ -95,0 +105,0 @@ export const NOOP_UP_DOWN_COUNTER_METRIC = new NoopUpDownCounterMetric(); |
@@ -7,2 +7,3 @@ import { Exception } from '../common/Exception'; | ||
import { SpanStatus } from './status'; | ||
import { Link } from './link'; | ||
/** | ||
@@ -20,2 +21,4 @@ * The NonRecordingSpan is the default {@link Span} that is used when no Span | ||
addEvent(_name: string, _attributes?: SpanAttributes): this; | ||
addLink(_link: Link): this; | ||
addLinks(_links: Link[]): this; | ||
setStatus(_status: SpanStatus): this; | ||
@@ -22,0 +25,0 @@ updateName(_name: string): this; |
@@ -42,2 +42,8 @@ /* | ||
} | ||
addLink(_link) { | ||
return this; | ||
} | ||
addLinks(_links) { | ||
return this; | ||
} | ||
// By default does nothing | ||
@@ -44,0 +50,0 @@ setStatus(_status) { |
@@ -6,2 +6,3 @@ import { Exception } from '../common/Exception'; | ||
import { SpanStatus } from './status'; | ||
import { Link } from './link'; | ||
/** | ||
@@ -56,2 +57,20 @@ * An interface that represents a span. A span represents a single operation | ||
/** | ||
* Adds a single link to the span. | ||
* | ||
* Links added after the creation will not affect the sampling decision. | ||
* It is preferred span links be added at span creation. | ||
* | ||
* @param link the link to add. | ||
*/ | ||
addLink(link: Link): this; | ||
/** | ||
* Adds multiple links to the span. | ||
* | ||
* Links added after the creation will not affect the sampling decision. | ||
* It is preferred span links be added at span creation. | ||
* | ||
* @param links the links to add. | ||
*/ | ||
addLinks(links: Link[]): this; | ||
/** | ||
* Sets a status to the span. If used, this will override the default Span | ||
@@ -58,0 +77,0 @@ * status. Default is {@link SpanStatusCode.UNSET}. SetStatus overrides the value |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.8.0"; | ||
export declare const VERSION = "1.9.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -17,3 +17,3 @@ /* | ||
// this is autogenerated file, see scripts/version-update.js | ||
export const VERSION = '1.8.0'; | ||
export const VERSION = '1.9.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, MetricAdvice, MetricAttributes, MetricAttributeValue, ObservableCallback, } from './metrics/Metric'; | ||
export { ValueType, Counter, Gauge, 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'; |
@@ -1,2 +0,2 @@ | ||
import { BatchObservableCallback, Counter, Histogram, MetricAttributes, MetricOptions, Observable, ObservableCounter, ObservableGauge, ObservableUpDownCounter, UpDownCounter } from './Metric'; | ||
import { BatchObservableCallback, Counter, Gauge, Histogram, MetricAttributes, MetricOptions, Observable, ObservableCounter, ObservableGauge, ObservableUpDownCounter, UpDownCounter } from './Metric'; | ||
/** | ||
@@ -20,2 +20,8 @@ * An interface describes additional metadata of a meter. | ||
/** | ||
* Creates and returns a new `Gauge`. | ||
* @param name the name of the metric. | ||
* @param [options] the metric options. | ||
*/ | ||
createGauge<AttributesTypes extends MetricAttributes = MetricAttributes>(name: string, options?: MetricOptions): Gauge<AttributesTypes>; | ||
/** | ||
* Creates and returns a new `Histogram`. | ||
@@ -22,0 +28,0 @@ * @param name the name of the metric. |
@@ -72,2 +72,8 @@ import { Attributes, AttributeValue } from '../common/Attributes'; | ||
} | ||
export interface Gauge<AttributesTypes extends MetricAttributes = MetricAttributes> { | ||
/** | ||
* Records a measurement. | ||
*/ | ||
record(value: number, attributes?: AttributesTypes, context?: Context): void; | ||
} | ||
export interface Histogram<AttributesTypes extends MetricAttributes = MetricAttributes> { | ||
@@ -74,0 +80,0 @@ /** |
import { Meter } from './Meter'; | ||
import { BatchObservableCallback, Counter, Histogram, MetricOptions, ObservableCallback, ObservableCounter, ObservableGauge, ObservableUpDownCounter, UpDownCounter, MetricAttributes, Observable } from './Metric'; | ||
import { BatchObservableCallback, Counter, Gauge, Histogram, MetricAttributes, MetricOptions, Observable, ObservableCallback, ObservableCounter, ObservableGauge, ObservableUpDownCounter, UpDownCounter } from './Metric'; | ||
/** | ||
@@ -10,2 +10,6 @@ * NoopMeter is a noop implementation of the {@link Meter} interface. It reuses | ||
/** | ||
* @see {@link Meter.createGauge} | ||
*/ | ||
createGauge(_name: string, _options?: MetricOptions): Gauge; | ||
/** | ||
* @see {@link Meter.createHistogram} | ||
@@ -51,2 +55,5 @@ */ | ||
} | ||
export declare class NoopGaugeMetric extends NoopMetric implements Gauge { | ||
record(_value: number, _attributes: MetricAttributes): void; | ||
} | ||
export declare class NoopHistogramMetric extends NoopMetric implements Histogram { | ||
@@ -67,2 +74,3 @@ record(_value: number, _attributes: MetricAttributes): void; | ||
export declare const NOOP_COUNTER_METRIC: NoopCounterMetric; | ||
export declare const NOOP_GAUGE_METRIC: NoopGaugeMetric; | ||
export declare const NOOP_HISTOGRAM_METRIC: NoopHistogramMetric; | ||
@@ -69,0 +77,0 @@ export declare const NOOP_UP_DOWN_COUNTER_METRIC: NoopUpDownCounterMetric; |
@@ -18,3 +18,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.createNoopMeter = exports.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC = exports.NOOP_OBSERVABLE_GAUGE_METRIC = exports.NOOP_OBSERVABLE_COUNTER_METRIC = exports.NOOP_UP_DOWN_COUNTER_METRIC = exports.NOOP_HISTOGRAM_METRIC = exports.NOOP_COUNTER_METRIC = exports.NOOP_METER = exports.NoopObservableUpDownCounterMetric = exports.NoopObservableGaugeMetric = exports.NoopObservableCounterMetric = exports.NoopObservableMetric = exports.NoopHistogramMetric = exports.NoopUpDownCounterMetric = exports.NoopCounterMetric = exports.NoopMetric = exports.NoopMeter = void 0; | ||
exports.createNoopMeter = exports.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC = exports.NOOP_OBSERVABLE_GAUGE_METRIC = exports.NOOP_OBSERVABLE_COUNTER_METRIC = exports.NOOP_UP_DOWN_COUNTER_METRIC = exports.NOOP_HISTOGRAM_METRIC = exports.NOOP_GAUGE_METRIC = exports.NOOP_COUNTER_METRIC = exports.NOOP_METER = exports.NoopObservableUpDownCounterMetric = exports.NoopObservableGaugeMetric = exports.NoopObservableCounterMetric = exports.NoopObservableMetric = exports.NoopHistogramMetric = exports.NoopGaugeMetric = exports.NoopUpDownCounterMetric = exports.NoopCounterMetric = exports.NoopMetric = exports.NoopMeter = void 0; | ||
/** | ||
@@ -27,2 +27,8 @@ * NoopMeter is a noop implementation of the {@link Meter} interface. It reuses | ||
/** | ||
* @see {@link Meter.createGauge} | ||
*/ | ||
createGauge(_name, _options) { | ||
return exports.NOOP_GAUGE_METRIC; | ||
} | ||
/** | ||
* @see {@link Meter.createHistogram} | ||
@@ -84,2 +90,6 @@ */ | ||
exports.NoopUpDownCounterMetric = NoopUpDownCounterMetric; | ||
class NoopGaugeMetric extends NoopMetric { | ||
record(_value, _attributes) { } | ||
} | ||
exports.NoopGaugeMetric = NoopGaugeMetric; | ||
class NoopHistogramMetric extends NoopMetric { | ||
@@ -106,2 +116,3 @@ record(_value, _attributes) { } | ||
exports.NOOP_COUNTER_METRIC = new NoopCounterMetric(); | ||
exports.NOOP_GAUGE_METRIC = new NoopGaugeMetric(); | ||
exports.NOOP_HISTOGRAM_METRIC = new NoopHistogramMetric(); | ||
@@ -108,0 +119,0 @@ exports.NOOP_UP_DOWN_COUNTER_METRIC = new NoopUpDownCounterMetric(); |
@@ -7,2 +7,3 @@ import { Exception } from '../common/Exception'; | ||
import { SpanStatus } from './status'; | ||
import { Link } from './link'; | ||
/** | ||
@@ -20,2 +21,4 @@ * The NonRecordingSpan is the default {@link Span} that is used when no Span | ||
addEvent(_name: string, _attributes?: SpanAttributes): this; | ||
addLink(_link: Link): this; | ||
addLinks(_links: Link[]): this; | ||
setStatus(_status: SpanStatus): this; | ||
@@ -22,0 +25,0 @@ updateName(_name: string): this; |
@@ -45,2 +45,8 @@ "use strict"; | ||
} | ||
addLink(_link) { | ||
return this; | ||
} | ||
addLinks(_links) { | ||
return this; | ||
} | ||
// By default does nothing | ||
@@ -47,0 +53,0 @@ setStatus(_status) { |
@@ -6,2 +6,3 @@ import { Exception } from '../common/Exception'; | ||
import { SpanStatus } from './status'; | ||
import { Link } from './link'; | ||
/** | ||
@@ -56,2 +57,20 @@ * An interface that represents a span. A span represents a single operation | ||
/** | ||
* Adds a single link to the span. | ||
* | ||
* Links added after the creation will not affect the sampling decision. | ||
* It is preferred span links be added at span creation. | ||
* | ||
* @param link the link to add. | ||
*/ | ||
addLink(link: Link): this; | ||
/** | ||
* Adds multiple links to the span. | ||
* | ||
* Links added after the creation will not affect the sampling decision. | ||
* It is preferred span links be added at span creation. | ||
* | ||
* @param links the links to add. | ||
*/ | ||
addLinks(links: Link[]): this; | ||
/** | ||
* Sets a status to the span. If used, this will override the default Span | ||
@@ -58,0 +77,0 @@ * status. Default is {@link SpanStatusCode.UNSET}. SetStatus overrides the value |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.8.0"; | ||
export declare const VERSION = "1.9.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '1.8.0'; | ||
exports.VERSION = '1.9.0'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/api", | ||
"version": "1.8.0", | ||
"version": "1.9.0", | ||
"description": "Public API for OpenTelemetry", | ||
@@ -85,3 +85,3 @@ "main": "build/src/index.js", | ||
"@types/node": "18.6.5", | ||
"@types/sinon": "10.0.20", | ||
"@types/sinon": "17.0.3", | ||
"@types/webpack": "5.28.5", | ||
@@ -93,3 +93,3 @@ "@types/webpack-env": "1.16.3", | ||
"dpdm": "3.13.1", | ||
"karma": "6.4.2", | ||
"karma": "6.4.3", | ||
"karma-chrome-launcher": "3.1.0", | ||
@@ -100,3 +100,3 @@ "karma-coverage": "2.2.1", | ||
"karma-spec-reporter": "0.0.36", | ||
"karma-webpack": "4.0.2", | ||
"karma-webpack": "5.0.1", | ||
"lerna": "6.6.2", | ||
@@ -107,6 +107,6 @@ "memfs": "3.5.3", | ||
"sinon": "15.1.2", | ||
"ts-loader": "8.4.0", | ||
"ts-loader": "9.5.1", | ||
"ts-mocha": "10.0.0", | ||
"typescript": "4.4.4", | ||
"unionfs": "4.5.1", | ||
"unionfs": "4.5.4", | ||
"webpack": "5.89.0" | ||
@@ -116,3 +116,3 @@ }, | ||
"sideEffects": false, | ||
"gitHead": "7be35c7845e206b27b682e8ce1cee850b09cec04" | ||
"gitHead": "c4d3351b6b3f5593c8d7cbfec97b45cea9fe1511" | ||
} |
@@ -39,3 +39,3 @@ # OpenTelemetry API for JavaScript | ||
In order to get started with tracing, you will need to first register an SDK. The SDK you are using may provide a convenience method which calls the registration methods for you, but if you would like to call them directly they are documented here: [sdk registration methods][docs-sdk-registration]. | ||
In order to get started with tracing, you will need to first register an SDK. The SDK you are using may provide a convenience method which calls the registration methods for you, but if you would like to call them directly they are documented here: [SDK registration methods][docs-sdk-registration]. | ||
@@ -116,4 +116,3 @@ Once you have registered an SDK, you can start and end spans. A simple example of basic SDK registration and tracing a simple operation is below. The example should export spans to the console once per second. For more information, see the [tracing documentation][docs-tracing]. | ||
[license-url]: https://github.com/open-telemetry/opentelemetry-js/blob/main/api/LICENSE | ||
[license-image]: https://img.shields.io/badge/license-Apache_2.0-green.svg?style=flat | ||
[docs-tracing]: https://github.com/open-telemetry/opentelemetry-js/blob/main/doc/tracing.md | ||
[docs-sdk-registration]: https://github.com/open-telemetry/opentelemetry-js/blob/main/doc/sdk-registration.md |
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
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
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
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
1218213
14208
117