/env perl
use Mojolicious::Lite -signatures;
get '/roll' => sub ($c) {
$c->render( json => int 1 + rand 6 );
};
app->start;
Run the application with the following command and
OpenTelemetry::SDK;
plugin 'OpenTelemetry';
get '/roll' => sub ($c) {
$c->render( json => int 1 + rand 6 );
};
app->start;
=head2 Run the instrumented app
You can now run yo