@opentelemetry/exporter-collector
Advanced tools
Comparing version 0.16.0 to 0.16.1-alpha.10
@@ -1,2 +0,2 @@ | ||
import { Attributes, Logger } from '@opentelemetry/api'; | ||
import { SpanAttributes, Logger } from '@opentelemetry/api'; | ||
import { ExportResult } from '@opentelemetry/core'; | ||
@@ -12,3 +12,3 @@ import { CollectorExporterError, CollectorExporterConfigBase } from './types'; | ||
readonly hostname: string | undefined; | ||
readonly attributes?: Attributes; | ||
readonly attributes?: SpanAttributes; | ||
protected _concurrencyLimit: number; | ||
@@ -15,0 +15,0 @@ protected _isShutdown: boolean; |
@@ -25,5 +25,6 @@ "use strict"; | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.toCollectorExportMetricServiceRequest = exports.toCollectorExportTraceServiceRequest = exports.collectorTypes = void 0; | ||
__exportStar(require("./CollectorExporterBase"), exports); | ||
@@ -30,0 +31,0 @@ __exportStar(require("./platform"), exports); |
@@ -25,3 +25,3 @@ "use strict"; | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
@@ -28,0 +28,0 @@ Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -25,3 +25,3 @@ "use strict"; | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
@@ -28,0 +28,0 @@ Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -25,3 +25,3 @@ "use strict"; | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
@@ -28,0 +28,0 @@ Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -1,2 +0,2 @@ | ||
import { Attributes, SpanKind, Status, TimedEvent, TraceState } from '@opentelemetry/api'; | ||
import { SpanAttributes, SpanKind, SpanStatus, TimedEvent, TraceState } from '@opentelemetry/api'; | ||
import * as core from '@opentelemetry/core'; | ||
@@ -11,3 +11,3 @@ import { Resource } from '@opentelemetry/resources'; | ||
*/ | ||
export declare function toCollectorAttributes(attributes: Attributes): opentelemetryProto.common.v1.KeyValue[]; | ||
export declare function toCollectorAttributes(attributes: SpanAttributes): opentelemetryProto.common.v1.KeyValue[]; | ||
/** | ||
@@ -22,3 +22,3 @@ * Converts array of unknown value to ArrayValue | ||
*/ | ||
export declare function toCollectorKeyValueList(attributes: Attributes): opentelemetryProto.common.v1.KeyValueList; | ||
export declare function toCollectorKeyValueList(attributes: SpanAttributes): opentelemetryProto.common.v1.KeyValueList; | ||
/** | ||
@@ -50,3 +50,3 @@ * Converts key and unknown value to KeyValue | ||
*/ | ||
export declare function toCollectorStatus(status: Status): opentelemetryProto.trace.v1.Status; | ||
export declare function toCollectorStatus(status: SpanStatus): opentelemetryProto.trace.v1.SpanStatus; | ||
/** | ||
@@ -53,0 +53,0 @@ * Converts resource |
@@ -1,2 +0,2 @@ | ||
import { Attributes, Logger, SpanKind, StatusCode } from '@opentelemetry/api'; | ||
import { SpanAttributes, Logger, SpanKind, SpanStatusCode } from '@opentelemetry/api'; | ||
export declare namespace opentelemetryProto { | ||
@@ -150,7 +150,7 @@ namespace collector { | ||
droppedLinksCount: number; | ||
status?: Status; | ||
status?: SpanStatus; | ||
} | ||
interface Status { | ||
interface SpanStatus { | ||
/** The status code of this message. */ | ||
code: StatusCode; | ||
code: SpanStatusCode; | ||
/** A developer-facing error message. */ | ||
@@ -230,3 +230,3 @@ message?: string; | ||
serviceName?: string; | ||
attributes?: Attributes; | ||
attributes?: SpanAttributes; | ||
url?: string; | ||
@@ -233,0 +233,0 @@ concurrencyLimit?: number; |
@@ -21,2 +21,3 @@ "use strict"; | ||
/* eslint-disable @typescript-eslint/no-namespace */ | ||
/* eslint-disable @typescript-eslint/no-unused-vars */ | ||
var opentelemetryProto; | ||
@@ -23,0 +24,0 @@ (function (opentelemetryProto) { |
{ | ||
"name": "@opentelemetry/exporter-collector", | ||
"version": "0.16.0", | ||
"version": "0.16.1-alpha.10+cacbbdca", | ||
"description": "OpenTelemetry Collector Exporter allows user to send collected traces to the OpenTelemetry Collector", | ||
@@ -59,3 +59,3 @@ "main": "build/src/index.js", | ||
"cpx": "1.5.0", | ||
"gts": "2.0.2", | ||
"gts": "3.1.0", | ||
"istanbul-instrumenter-loader": "3.0.1", | ||
@@ -75,3 +75,3 @@ "karma": "5.2.3", | ||
"ts-node": "9.1.1", | ||
"typescript": "3.9.7", | ||
"typescript": "4.1.3", | ||
"webpack": "4.46.0", | ||
@@ -84,8 +84,8 @@ "webpack-cli": "4.3.1", | ||
"@opentelemetry/api-metrics": "^0.16.0", | ||
"@opentelemetry/core": "^0.16.0", | ||
"@opentelemetry/metrics": "^0.16.0", | ||
"@opentelemetry/resources": "^0.16.0", | ||
"@opentelemetry/tracing": "^0.16.0" | ||
"@opentelemetry/core": "^0.16.1-alpha.10+cacbbdca", | ||
"@opentelemetry/metrics": "^0.16.1-alpha.10+cacbbdca", | ||
"@opentelemetry/resources": "^0.16.1-alpha.10+cacbbdca", | ||
"@opentelemetry/tracing": "^0.16.1-alpha.10+cacbbdca" | ||
}, | ||
"gitHead": "e68863f8e63854b08ad13fb54677294ac6d6b681" | ||
"gitHead": "cacbbdca0e89d31e2e0b10a8ff5fb86d7a714906" | ||
} |
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
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
128370
1957
3
+ Added@opentelemetry/api@0.16.1-alpha.20(transitive)
+ Added@opentelemetry/api-metrics@0.16.1-alpha.20(transitive)
+ Added@opentelemetry/core@0.16.1-alpha.20(transitive)
+ Added@opentelemetry/metrics@0.16.1-alpha.20(transitive)
+ Added@opentelemetry/resources@0.16.1-alpha.20(transitive)
+ Added@opentelemetry/tracing@0.16.1-alpha.20(transitive)
- Removed@opentelemetry/core@0.16.0(transitive)
- Removed@opentelemetry/metrics@0.16.0(transitive)
- Removed@opentelemetry/resources@0.16.0(transitive)
- Removed@opentelemetry/tracing@0.16.0(transitive)