proxy_net
This commit is contained in:
11
tp1.md
11
tp1.md
@@ -47,7 +47,6 @@ docker pull grafana/grafana:12.1
|
|||||||
```shell
|
```shell
|
||||||
docker run --detach --name grafana ^
|
docker run --detach --name grafana ^
|
||||||
--network pgsql_net ^
|
--network pgsql_net ^
|
||||||
--network proxy_net ^
|
|
||||||
-p "3000:3000" ^
|
-p "3000:3000" ^
|
||||||
-e "GF_SECURITY_ADMIN_USER=admin" ^
|
-e "GF_SECURITY_ADMIN_USER=admin" ^
|
||||||
-e "GF_SECURITY_ADMIN_PASSWORD=geii2025" ^
|
-e "GF_SECURITY_ADMIN_PASSWORD=geii2025" ^
|
||||||
@@ -64,15 +63,23 @@ docker run --detach --name grafana ^
|
|||||||
- Nombre total de titulaires
|
- Nombre total de titulaires
|
||||||
- Nombre total de comptes ouverts
|
- Nombre total de comptes ouverts
|
||||||
- Solde total dans la banque
|
- Solde total dans la banque
|
||||||
- Volume total des transactions du mois en cours
|
- Volume total des transactions de l'heure en cours
|
||||||
- Solde moyen par compte
|
- Solde moyen par compte
|
||||||
- Montant moyen des transactions
|
- Montant moyen des transactions
|
||||||
|
|
||||||
|
|
||||||
|
### Tâches planifiée
|
||||||
|
|
||||||
|
Nous allons générer des données aléatoire dans le temps
|
||||||
|
|
||||||
```sql
|
```sql
|
||||||
SELECT cron.schedule('* * * * *', $$call add_depot(6, (floor(random() * 100) + 50)::decimal);$$);
|
SELECT cron.schedule('* * * * *', $$call add_depot(6, (floor(random() * 100) + 50)::decimal);$$);
|
||||||
SELECT cron.schedule('*/2 * * * *', $$call add_retrait(6, (floor(random() * 200) + 100)::decimal);$$);
|
SELECT cron.schedule('*/2 * * * *', $$call add_retrait(6, (floor(random() * 200) + 100)::decimal);$$);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Afficher le cours des devises
|
||||||
|
|
||||||
|
Ajouter un graphie timeseries
|
||||||
|
|
||||||
- `$__timeFrom()`
|
- `$__timeFrom()`
|
||||||
- `$__timeTo()`
|
- `$__timeTo()`
|
||||||
|
|||||||
Reference in New Issue
Block a user