Skip to content

Commit

Permalink
fixup! feat(otlp-transformer)!: remove internal types and functions f…
Browse files Browse the repository at this point in the history
…rom public API
  • Loading branch information
pichlermarc committed Nov 25, 2024
1 parent 7ce257d commit 4797283
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
3 changes: 3 additions & 0 deletions experimental/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ All notable changes to experimental packages in this project will be documented
* `IResourceLogs`
* `ILogRecord`
* `ESeverityNumber`
* `createExportTraceServiceRequest`
* `createExportMetricsServiceRequest`
* `createExportLogsServiceRequest`

### :rocket: (Enhancement)

Expand Down
4 changes: 0 additions & 4 deletions experimental/packages/otlp-transformer/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ export {
IExportLogsPartialSuccess,
} from './logs/types';

export { createExportTraceServiceRequest } from './trace';
export { createExportMetricsServiceRequest } from './metrics';
export { createExportLogsServiceRequest } from './logs';

export {
ProtobufLogsSerializer,
ProtobufMetricsSerializer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ export const JsonMetricsSerializer: ISerializer<
},
};

/*
* @experimental this serializer may receive breaking changes in minor versions, pin this package's version when using this constant
*/
export const JsonLogsSerializer: ISerializer<
ReadableLogRecord[],
IExportLogsServiceResponse
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ const traceResponseType = root.opentelemetry.proto.collector.trace.v1
const traceRequestType = root.opentelemetry.proto.collector.trace.v1
.ExportTraceServiceRequest as ExportType<IExportTraceServiceRequest>;

/*
* @experimental this serializer may receive breaking changes in minor versions, pin this package's version when using this constant
*/
export const ProtobufLogsSerializer: ISerializer<
ReadableLogRecord[],
IExportLogsServiceResponse
Expand Down

0 comments on commit 4797283

Please sign in to comment.