Monitoring and Logging Django Web Application with Prometheus, ELK and Sentry
Hi I am Ridwan,
repos: | |
- repo: https://github.com/antonbabenko/pre-commit-terraform | |
rev: v1.96.2 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases | |
hooks: | |
- id: terraform_fmt | |
args: | |
- --args=-recursive | |
- id: terraform_docs | |
- id: terraform_tflint | |
- id: terraform_validate |
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 |