diff --git a/libraries/grpc-sdk/src/index.ts b/libraries/grpc-sdk/src/index.ts index 3857012ce..fef25bb92 100644 --- a/libraries/grpc-sdk/src/index.ts +++ b/libraries/grpc-sdk/src/index.ts @@ -95,6 +95,9 @@ export default class ConduitGrpcSdk { replaceTimestamp: true, labels: { module: this.name, + instance: this.name.startsWith('module_') + ? this.name.substring(8) + : Crypto.randomBytes(16).toString('hex'), }, }), );