This commit is contained in:
Simon Larsen 2023-10-16 12:53:15 +01:00
parent c848032fdc
commit 63736aed6c
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE

View File

@ -12,13 +12,13 @@ import BadRequestException from 'Common/Types/Exception/BadRequestException';
// Create a root namespace // Create a root namespace
const LogsProto: protobuf.Root = protobuf.loadSync( const LogsProto: protobuf.Root = protobuf.loadSync(
'/usr/src/app/ProtoFiles/Otel/v1/logs.proto' '/usr/src/app/ProtoFiles/OTel/v1/logs.proto'
); );
const TracesProto: protobuf.Root = protobuf.loadSync( const TracesProto: protobuf.Root = protobuf.loadSync(
'/usr/src/app/ProtoFiles/Otel/v1/traces.proto' '/usr/src/app/ProtoFiles/OTel/v1/traces.proto'
); );
const MetricsProto: protobuf.Root = protobuf.loadSync( const MetricsProto: protobuf.Root = protobuf.loadSync(
'/usr/src/app/ProtoFiles/Otel/v1/metrics.proto' '/usr/src/app/ProtoFiles/OTel/v1/metrics.proto'
); );
// Lookup the message type // Lookup the message type