Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monitoring ops 9765 #377

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .docksal/docksal.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DOCKSAL_STACK=default
DOCROOT=html
DB_IMAGE="docksal/db:1.1-mysql-5.7"
CLI_IMAGE='docksal/cli:php8.0-build'
CLI_IMAGE='docksal/cli:php8.2-build'
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@
"oomphinc/composer-installers-extender": "^2.0",
"symfony/flex": "^1.17",
"unocha/common_design": "^9.2",
"unocha/ocha_monitoring": "^1.0",
"unocha/ocha_snap": "^8.3.0",
"webflo/drupal-finder": "^1.2.2"
},
Expand Down
101 changes: 99 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions config/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,11 @@ module:
menu_ui: 0
metatag: 0
modules_weight: 0
monitoring: 0
mysql: 0
node: 0
noreqnewpass: 0
ocha_monitoring: 0
ocha_snap: 0
onomasticon: 0
options: 0
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Modo de mantenimiento'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Tema predeterminado'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Memoria
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Modo de depuración de Twig'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Núcleo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Usuarios activos'
1 change: 1 addition & 0 deletions config/language/es/monitoring.sensor_config.user_new.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Usuarios nuevos'
52 changes: 52 additions & 0 deletions config/language/es/views.view.monitoring_sensor_results.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
display:
default:
display_title: Máster
display_options:
exposed_form:
options:
submit_button: Aplicar
reset_button_label: Restablecer
exposed_sorts_label: 'Ordenar por'
sort_asc_label: Asc
sort_desc_label: Desc
pager:
options:
expose:
items_per_page_label: 'Elementos por página'
items_per_page_options_all_label: '- Todo -'
offset_label: Desplazamiento
tags:
previous: '‹ anterior'
next: 'siguiente ›'
first: '« primero'
last: 'último »'
fields:
sensor_status:
label: Estado
sensor_message:
label: 'Mensaje de estado'
execution_time:
label: 'Tiempo de ejecución'
timestamp:
label: 'Sello temporal'
title: Registro
arguments:
sensor_name:
exception:
title: Todo(s)
detail_page_log:
display_options:
fields:
timestamp:
label: 'Sello temporal'
sensor_status:
label: Estado
sensor_message:
label: 'Mensaje de estado'
execution_time:
label: 'Tiempo de ejecución'
page_1:
display_title: Página
display_options:
menu:
title: Registro
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Mode maintenance'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Thème par défaut'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Mémoire
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Mode de débogage de Twig'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Cœur
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Utilisateurs actifs'
1 change: 1 addition & 0 deletions config/language/fr/monitoring.sensor_config.user_new.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Nouveaux utilisateurs'
48 changes: 48 additions & 0 deletions config/language/fr/views.view.monitoring_sensor_results.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
display:
default:
display_title: Maître
display_options:
exposed_form:
options:
submit_button: Appliquer
reset_button_label: Réinitialiser
exposed_sorts_label: 'Trier par'
sort_asc_label: Asc
sort_desc_label: Desc
pager:
options:
expose:
items_per_page_label: 'Éléments par page'
items_per_page_options_all_label: '- Tout -'
offset_label: Décalage
tags:
previous: "‹\_précédent"
next: "suivant\_›"
first: "«\_premier"
last: "dernier\_»"
fields:
sensor_status:
label: État
sensor_message:
label: "Message d'état"
timestamp:
label: Horodatage
title: Journal
arguments:
sensor_name:
exception:
title: Tout
detail_page_log:
display_options:
fields:
timestamp:
label: Horodatage
sensor_status:
label: État
sensor_message:
label: "Message d'état"
page_1:
display_title: Page
display_options:
menu:
title: Journal
30 changes: 30 additions & 0 deletions config/monitoring.sensor_config.comment_new.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
uuid: 94d483ef-a57c-47bc-80c3-7b675c1e51e0
langcode: en
status: false
dependencies:
module:
- comment
_core:
default_config_hash: 3PMXz1FRPes9_lndVww6zwzOdrGYXt7RUVEUO_6RIXI
id: comment_new
label: 'New Comments'
description: ''
category: Content
plugin_id: entity_aggregator
result_class: null
value_label: Comments
value_type: number
caching_time: 3600
settings:
time_interval_field: created
time_interval_value: 86400
verbose_fields:
- id
- label
- comment_type
- created
entity_type: comment
thresholds:
type: exceeds
warning: 10
critical: null
20 changes: 20 additions & 0 deletions config/monitoring.sensor_config.core_cron_last_run_age.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
uuid: a0f879e3-a9f0-4c82-841e-361516c264c9
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: 9xaHOMw0Ra9sOuNKGoBqCLFoX2pj_66FbTQPK1CFK1U
id: core_cron_last_run_age
label: 'Last cron run age'
description: 'Time since last cron run'
category: Cron
plugin_id: cron_last_run_time
result_class: null
value_label: null
value_type: time_interval
caching_time: null
settings: { }
thresholds:
type: exceeds
warning: 86400
critical: 259200
23 changes: 23 additions & 0 deletions config/monitoring.sensor_config.core_cron_safe_threshold.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
uuid: 06bf7d26-37fc-493b-a5cb-b19b7e887b5d
langcode: en
status: false
dependencies:
module:
- automated_cron
_core:
default_config_hash: Of_tt9gViZLwyNYPuIJHP12gvStnOYRcy2MLsB2zLxk
id: core_cron_safe_threshold
label: 'Cron safe threshold enabled'
description: 'Cron safe threshold (Poormanscron) is enabled'
category: Cron
plugin_id: config_value
result_class: null
value_label: null
value_type: bool
caching_time: null
settings:
config: automated_cron.settings
key: interval
value: '0'
thresholds:
type: none
20 changes: 20 additions & 0 deletions config/monitoring.sensor_config.core_maintenance_mode.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
uuid: 1b5fdbef-d5dd-445d-b639-793b753e1d79
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: zogxfdFrxiieH69X2iP7PB00dkW62vHwpukdsyMCP5k
id: core_maintenance_mode
label: 'Maintenance mode'
description: 'Site maintenance mode'
category: Other
plugin_id: state_value
result_class: null
value_label: null
value_type: bool
caching_time: null
settings:
key: system.maintenance_mode
value: false
thresholds:
type: none
Loading