feat(otlp-exporters): bump otlp proto to 0.20.0 (#3932)
This commit is contained in:
parent
5dc0f6974a
commit
19fb033900
|
|
@ -11,6 +11,7 @@ All notable changes to experimental packages in this project will be documented
|
|||
### :rocket: (Enhancement)
|
||||
|
||||
* feat(otlp-grpc-exporters): add support for UDS endpoints. [#3853](https://github.com/open-telemetry/opentelemetry-js/pull/3853) @llc1123
|
||||
* feat(otlp-exporters): bump otlp proto to 0.20.0 [#3932](https://github.com/open-telemetry/opentelemetry-js/pull/3932) @pichlermarc
|
||||
|
||||
### :bug: (Bug Fix)
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit c5c8b28012583fda55b0cb16f73a820722171d49
|
||||
Subproject commit 1608f92cf08119f9aec237c910b200d1317ec696
|
||||
|
|
@ -16,9 +16,11 @@
|
|||
|
||||
import * as root from './generated/root';
|
||||
import * as grpc from '@grpc/grpc-js';
|
||||
import { IExportLogsServiceRequest } from '@opentelemetry/otlp-transformer';
|
||||
import {
|
||||
IExportLogsServiceRequest,
|
||||
IExportLogsServiceResponse,
|
||||
} from '@opentelemetry/otlp-transformer';
|
||||
import { ExportType } from './internal-types';
|
||||
import IExportLogsServiceResponse = root.opentelemetry.proto.collector.logs.v1.IExportLogsServiceResponse;
|
||||
|
||||
const responseType = root.opentelemetry.proto.collector.logs.v1
|
||||
.ExportLogsServiceResponse as ExportType<IExportLogsServiceResponse>;
|
||||
|
|
|
|||
|
|
@ -16,9 +16,11 @@
|
|||
|
||||
import * as root from './generated/root';
|
||||
import * as grpc from '@grpc/grpc-js';
|
||||
import { IExportMetricsServiceRequest } from '@opentelemetry/otlp-transformer';
|
||||
import {
|
||||
IExportMetricsServiceRequest,
|
||||
IExportMetricsServiceResponse,
|
||||
} from '@opentelemetry/otlp-transformer';
|
||||
import { ExportType } from './internal-types';
|
||||
import IExportMetricsServiceResponse = root.opentelemetry.proto.collector.metrics.v1.IExportMetricsServiceResponse;
|
||||
|
||||
const responseType = root.opentelemetry.proto.collector.metrics.v1
|
||||
.ExportMetricsServiceResponse as ExportType<IExportMetricsServiceResponse>;
|
||||
|
|
|
|||
|
|
@ -16,9 +16,11 @@
|
|||
|
||||
import * as root from './generated/root';
|
||||
import * as grpc from '@grpc/grpc-js';
|
||||
import { IExportTraceServiceRequest } from '@opentelemetry/otlp-transformer';
|
||||
import {
|
||||
IExportTraceServiceRequest,
|
||||
IExportTraceServiceResponse,
|
||||
} from '@opentelemetry/otlp-transformer';
|
||||
import { ExportType } from './internal-types';
|
||||
import IExportTraceServiceResponse = root.opentelemetry.proto.collector.trace.v1.IExportTraceServiceResponse;
|
||||
|
||||
const responseType = root.opentelemetry.proto.collector.trace.v1
|
||||
.ExportTraceServiceResponse as ExportType<IExportTraceServiceResponse>;
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit c5c8b28012583fda55b0cb16f73a820722171d49
|
||||
Subproject commit 1608f92cf08119f9aec237c910b200d1317ec696
|
||||
|
|
@ -21,6 +21,12 @@ export interface IInstrumentationScope {
|
|||
|
||||
/** InstrumentationScope version */
|
||||
version?: string;
|
||||
|
||||
/** InstrumentationScope attributes */
|
||||
attributes?: IKeyValue[];
|
||||
|
||||
/** InstrumentationScope droppedAttributesCount */
|
||||
droppedAttributesCount?: number;
|
||||
}
|
||||
|
||||
/** Properties of a KeyValue. */
|
||||
|
|
|
|||
|
|
@ -27,6 +27,19 @@ export interface IExportLogsServiceRequest {
|
|||
resourceLogs?: IResourceLogs[];
|
||||
}
|
||||
|
||||
export interface IExportLogsServiceResponse {
|
||||
/** ExportLogsServiceResponse partialSuccess */
|
||||
partialSuccess?: IExportLogsPartialSuccess;
|
||||
}
|
||||
|
||||
export interface IExportLogsPartialSuccess {
|
||||
/** ExportLogsPartialSuccess rejectedLogRecords */
|
||||
rejectedLogRecords?: number;
|
||||
|
||||
/** ExportLogsPartialSuccess errorMessage */
|
||||
errorMessage?: string;
|
||||
}
|
||||
|
||||
/** Properties of a ResourceLogs. */
|
||||
export interface IResourceLogs {
|
||||
/** ResourceLogs resource */
|
||||
|
|
|
|||
|
|
@ -22,6 +22,19 @@ export interface IExportMetricsServiceRequest {
|
|||
resourceMetrics: IResourceMetrics[];
|
||||
}
|
||||
|
||||
export interface IExportMetricsServiceResponse {
|
||||
/** ExportMetricsServiceResponse partialSuccess */
|
||||
partialSuccess?: IExportMetricsPartialSuccess;
|
||||
}
|
||||
|
||||
export interface IExportMetricsPartialSuccess {
|
||||
/** ExportMetricsPartialSuccess rejectedDataPoints */
|
||||
rejectedDataPoints?: number;
|
||||
|
||||
/** ExportMetricsPartialSuccess errorMessage */
|
||||
errorMessage?: string;
|
||||
}
|
||||
|
||||
/** Properties of a ResourceMetrics. */
|
||||
export interface IResourceMetrics {
|
||||
/** ResourceMetrics resource */
|
||||
|
|
|
|||
|
|
@ -23,6 +23,19 @@ export interface IExportTraceServiceRequest {
|
|||
resourceSpans?: IResourceSpans[];
|
||||
}
|
||||
|
||||
export interface IExportTraceServiceResponse {
|
||||
/** ExportTraceServiceResponse partialSuccess */
|
||||
partialSuccess?: IExportTracePartialSuccess;
|
||||
}
|
||||
|
||||
export interface IExportTracePartialSuccess {
|
||||
/** ExportLogsServiceResponse rejectedLogRecords */
|
||||
rejectedSpans?: number;
|
||||
|
||||
/** ExportLogsServiceResponse errorMessage */
|
||||
errorMessage?: string;
|
||||
}
|
||||
|
||||
/** Properties of a ResourceSpans. */
|
||||
export interface IResourceSpans {
|
||||
/** ResourceSpans resource */
|
||||
|
|
|
|||
Loading…
Reference in New Issue