File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
temporal-sdk/src/main/java/io/temporal/worker Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -191,8 +191,12 @@ private MetricsType() {}
191191 // Resource tuner
192192 //
193193 // Tagged with namespace & task_queue
194- public static final String RESOURCE_MEM_USAGE = "resource_slots_mem_usage" ;
195- public static final String RESOURCE_CPU_USAGE = "resource_slots_cpu_usage" ;
196- public static final String RESOURCE_MEM_PID = "resource_slots_mem_pid_output" ;
197- public static final String RESOURCE_CPU_PID = "resource_slots_cpu_pid_output" ;
194+ public static final String RESOURCE_MEM_USAGE =
195+ TEMPORAL_METRICS_PREFIX + "resource_slots_mem_usage" ;
196+ public static final String RESOURCE_CPU_USAGE =
197+ TEMPORAL_METRICS_PREFIX + "resource_slots_cpu_usage" ;
198+ public static final String RESOURCE_MEM_PID =
199+ TEMPORAL_METRICS_PREFIX + "resource_slots_mem_pid_output" ;
200+ public static final String RESOURCE_CPU_PID =
201+ TEMPORAL_METRICS_PREFIX + "resource_slots_cpu_pid_output" ;
198202}
You can’t perform that action at this time.
0 commit comments