@opentelemetry/api-metrics
Advanced tools
Comparing version 0.30.0 to 0.31.0
@@ -1,2 +0,2 @@ | ||
import { Context } from '@opentelemetry/api'; | ||
import { Context, SpanAttributes, SpanAttributeValue } from '@opentelemetry/api'; | ||
import { BatchObservableResult, ObservableResult } from './ObservableResult'; | ||
@@ -62,8 +62,14 @@ /** | ||
/** | ||
* key-value pairs passed by the user. | ||
* Attributes is a map from string to attribute values. | ||
* | ||
* Note: only the own enumerable keys are counted as valid attribute keys. | ||
*/ | ||
export declare type MetricAttributes = { | ||
[key: string]: string; | ||
}; | ||
export declare type MetricAttributes = SpanAttributes; | ||
/** | ||
* Attribute values may be any non-nullish primitive value except an object. | ||
* | ||
* null or undefined attribute values are invalid and will result in undefined behavior. | ||
*/ | ||
export declare type MetricAttributeValue = SpanAttributeValue; | ||
/** | ||
* The observable callback for Observable instruments. | ||
@@ -70,0 +76,0 @@ */ |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.30.0"; | ||
export declare const VERSION = "0.31.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -17,3 +17,3 @@ /* | ||
// this is autogenerated file, see scripts/version-update.js | ||
export var VERSION = '0.30.0'; | ||
export var VERSION = '0.31.0'; | ||
//# sourceMappingURL=version.js.map |
@@ -1,2 +0,2 @@ | ||
import { Context } from '@opentelemetry/api'; | ||
import { Context, SpanAttributes, SpanAttributeValue } from '@opentelemetry/api'; | ||
import { BatchObservableResult, ObservableResult } from './ObservableResult'; | ||
@@ -62,8 +62,14 @@ /** | ||
/** | ||
* key-value pairs passed by the user. | ||
* Attributes is a map from string to attribute values. | ||
* | ||
* Note: only the own enumerable keys are counted as valid attribute keys. | ||
*/ | ||
export declare type MetricAttributes = { | ||
[key: string]: string; | ||
}; | ||
export declare type MetricAttributes = SpanAttributes; | ||
/** | ||
* Attribute values may be any non-nullish primitive value except an object. | ||
* | ||
* null or undefined attribute values are invalid and will result in undefined behavior. | ||
*/ | ||
export declare type MetricAttributeValue = SpanAttributeValue; | ||
/** | ||
* The observable callback for Observable instruments. | ||
@@ -70,0 +76,0 @@ */ |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.30.0"; | ||
export declare const VERSION = "0.31.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -17,3 +17,3 @@ /* | ||
// this is autogenerated file, see scripts/version-update.js | ||
export const VERSION = '0.30.0'; | ||
export const VERSION = '0.31.0'; | ||
//# sourceMappingURL=version.js.map |
@@ -1,2 +0,2 @@ | ||
import { Context } from '@opentelemetry/api'; | ||
import { Context, SpanAttributes, SpanAttributeValue } from '@opentelemetry/api'; | ||
import { BatchObservableResult, ObservableResult } from './ObservableResult'; | ||
@@ -62,8 +62,14 @@ /** | ||
/** | ||
* key-value pairs passed by the user. | ||
* Attributes is a map from string to attribute values. | ||
* | ||
* Note: only the own enumerable keys are counted as valid attribute keys. | ||
*/ | ||
export declare type MetricAttributes = { | ||
[key: string]: string; | ||
}; | ||
export declare type MetricAttributes = SpanAttributes; | ||
/** | ||
* Attribute values may be any non-nullish primitive value except an object. | ||
* | ||
* null or undefined attribute values are invalid and will result in undefined behavior. | ||
*/ | ||
export declare type MetricAttributeValue = SpanAttributeValue; | ||
/** | ||
* The observable callback for Observable instruments. | ||
@@ -70,0 +76,0 @@ */ |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.30.0"; | ||
export declare const VERSION = "0.31.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.30.0'; | ||
exports.VERSION = '0.31.0'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/api-metrics", | ||
"version": "0.30.0", | ||
"version": "0.31.0", | ||
"description": "Public metrics API for OpenTelemetry", | ||
@@ -85,3 +85,4 @@ "main": "build/src/index.js", | ||
}, | ||
"gitHead": "e39ab883b18636238ef0fd741df4ce5ed53e8d04" | ||
"homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-api-metrics", | ||
"gitHead": "776656b6e0cd0fc49a52b734702bc77110e483f1" | ||
} |
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
233320
2626