File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ async function main() {
74
74
'--concurrent-wf-clients' : Number ,
75
75
'--log-level' : String ,
76
76
'--server-address' : String ,
77
+ '--namespace' : String ,
77
78
} ) ;
78
79
const workflowName = args [ '--workflow' ] || 'cancel-fake-progress' ;
79
80
const iterations = args [ '--iterations' ] || 1000 ;
@@ -82,6 +83,7 @@ async function main() {
82
83
const concurrentWFClients = args [ '--concurrent-wf-clients' ] || 100 ;
83
84
const logLevel = ( args [ '--log-level' ] || 'INFO' ) . toUpperCase ( ) ;
84
85
const serverAddress = args [ '--server-address' ] || 'http://localhost:7233' ;
86
+ const namespace = args [ '--namespace' ] || `bench-${ new Date ( ) . toISOString ( ) } ` ;
85
87
const serverUrl = new URL ( serverAddress ) ;
86
88
87
89
// In order for JaegerExporter to transmit packets correctly, increase net.inet.udp.maxdgram to 65536.
@@ -93,7 +95,6 @@ async function main() {
93
95
traceExporter : jaegerExporter ,
94
96
} ) ;
95
97
await otel . start ( ) ;
96
- const namespace = `bench-${ new Date ( ) . toISOString ( ) } ` ;
97
98
const taskQueue = 'bench' ;
98
99
const connection = new Connection ( { address : serverUrl . host } , { namespace } ) ;
99
100
You can’t perform that action at this time.
0 commit comments