Monitoring and Logging Django Web Application with Prometheus, ELK and Sentry
Hi I am Ridwan,
| Google Cloud Skill Boost - FREE! | |
| -------------------------------- | |
| Gogle Cloud Platform: | |
| - Course | |
| Site Reliability Engineering: Measuring and Managing Reliability -> https://www.cloudskillsboost.google/course_templates/59 | |
| Developing a Google SRE Culture -> https://www.cloudskillsboost.google/course_templates/95 |
| #!/bin/bash | |
| sleep 5 | |
| for i in {1..10} | |
| do | |
| curl -XGET http://localhost:8000/test-queue | |
| echo ""; | |
| sleep 1 |
| <?php | |
| use Illuminate\Support\Facades\Storage; | |
| use App\Jobs\ExampleJob; | |
| use App\Jobs\HelloWorldJob; | |
| use Ramsey\Uuid\Uuid; | |
| ... | |
| $router->get('/test-queue', function () use ($router){ |
| <?php | |
| namespace App\Jobs; | |
| class HelloWorldJob extends Job | |
| { | |
| protected $uuid; | |
| protected $message; | |
| /** |
| <?php | |
| /** @var \Laravel\Lumen\Routing\Router $router */ | |
| /* | |
| |-------------------------------------------------------------------------- | |
| | Application Routes | |
| |-------------------------------------------------------------------------- | |
| | | |
| | Here is where you can register all of the routes for an application. |
| <?php | |
| namespace App\Jobs; | |
| class HelloWorldJob extends Job | |
| { | |
| protected $message; | |
| /** | |
| * Create a new job instance. | |
| * |
| <?php | |
| namespace App\Jobs; | |
| class ExampleJob extends Job | |
| { | |
| /** | |
| * Create a new job instance. | |
| * | |
| * @return void |
| service: bref-pokemon-api | |
| provider: | |
| name: aws | |
| region: us-east-1 | |
| runtime: provided | |
| plugins: | |
| - ./vendor/bref/bref |
| <?php | |
| /** @var \Laravel\Lumen\Routing\Router $router */ | |
| /* | |
| |-------------------------------------------------------------------------- | |
| | Application Routes | |
| |-------------------------------------------------------------------------- | |
| | | |
| | Here is where you can register all of the routes for an application. |