Skip to content

Commit

Permalink
Test: grpc
Browse files Browse the repository at this point in the history
  • Loading branch information
santigimeno committed Jun 17, 2024
1 parent b707c22 commit 5394167
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/common/nsolid-otlp-agent/otlp-grpc-server.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import protoLoader from '@grpc/proto-loader';

const metricsServiceProtoPath = 'opentelemetry/proto/collector/metrics/v1/metrics_service.proto';
const traceServiceProtoPath = 'opentelemetry/proto/collector/trace/v1/trace_service.proto';
const includeDirs = [path.resolve(import.meta.dirname,
const dirname = new URL('.', import.meta.url).pathname;
const includeDirs = [path.resolve(dirname,
'../../../deps/opentelemetry-cpp/third_party/opentelemetry-proto')];

// Create a local server to receive data from
Expand Down

0 comments on commit 5394167

Please sign in to comment.