go to the CodeGuru console: https://console.aws.amazon.com/codeguru
Select Profiling groups from Profiler on the left menu.
Select Create profiling groups at the top right.
Enter concurrencysample-profiler
in Name of Profiling group details in Create profiling group. click Create at the bottom right.
Enter WebAppRole
in choose users and roles in the Manage permissions for concurrencysample-profiler box. Select the checkbox on the left and click Save to save.
Profiler can be found in the main of the source code, ConcurrencyCheckout.java.
public static void main(final String[] args) {
// Start the profiler
Profiler systemProfiler = Profiler.builder()
.profilingGroupName("concurrencysample-profiler").build();
systemProfiler.start();
...
}
If you want to link to a different report group, please specify concurrencysample-profiler
, the parameter of profilingGroupName, with a different report group name.
The connection between the CodeGuru Profiler and the instance is now complete.