Merge pull request #3974 from nikhilsaxena04/fix/grpc-monitor-proto-path

fix(network): correctly resolve health.proto path for gRPC monitors and include in build
This commit is contained in:
Alexander Holliday authored and GitHub committed 2026-09-21 09:17:36 -07:00
commit 199d68e8a2
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -75,7 +75,7 @@ export class GrpcProvider implements IStatusProvider<GrpcStatusPayload> {
const target = `${host}:${port}`;
const currentFilePath = fileURLToPath(import.meta.url);
const protoPath = path.join(path.dirname(currentFilePath), "protos", "health.proto");
const protoPath = path.join(path.dirname(currentFilePath), "..", "protos", "health.proto");
const packageDefinition = this.protoLoader.loadSync(protoPath, {
keepCase: true,
longs: String,