Socket
Socket
Sign inDemoInstall

@opentelemetry/api-metrics

Package Overview
Dependencies
Maintainers
2
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/api-metrics - npm Package Compare versions

Comparing version 0.30.0 to 0.31.0

16

build/esm/types/Metric.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc