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

chore: add ocha_monitoring modules and config #414

Merged
merged 2 commits into from
Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,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
99 changes: 98 additions & 1 deletion 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 @@ -80,9 +80,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
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
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: Principal
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
18 changes: 18 additions & 0 deletions config/monitoring.sensor_config.ocha_common_design.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
uuid: null
langcode: en
status: true
dependencies:
module:
- ocha_monitoring
id: ocha_common_design
label: 'Common design'
description: 'Common design'
category: OCHA
plugin_id: ocha_common_design
result_class: null
value_label: Version
value_type: string
caching_time: 86400
settings: { }
thresholds:
type: none
18 changes: 18 additions & 0 deletions config/monitoring.sensor_config.ocha_current_composer_version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
uuid: null
langcode: en
status: true
dependencies:
module:
- ocha_monitoring
id: ocha_current_composer_version
label: 'Current composer version'
description: 'Current composer version'
category: OCHA
plugin_id: ocha_current_composer_version
result_class: null
value_label: null
value_type: string
caching_time: null
settings: { }
thresholds:
type: none
18 changes: 18 additions & 0 deletions config/monitoring.sensor_config.ocha_current_drupal_version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
uuid: null
langcode: en
status: true
dependencies:
module:
- ocha_monitoring
id: ocha_current_drupal_version
label: 'Current drupal version'
description: 'Current drupal version'
category: OCHA
plugin_id: ocha_current_drupal_version
result_class: null
value_label: Version
value_type: string
caching_time: 86400
settings: { }
thresholds:
type: none
18 changes: 18 additions & 0 deletions config/monitoring.sensor_config.ocha_current_php_version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
uuid: null
langcode: en
status: true
dependencies:
module:
- ocha_monitoring
id: ocha_current_php_version
label: 'Current PHP version'
description: 'Current PHP version'
category: OCHA
plugin_id: ocha_current_php_version
result_class: null
value_label: Version
value_type: string
caching_time: 86400
settings: { }
thresholds:
type: none
18 changes: 18 additions & 0 deletions config/monitoring.sensor_config.ocha_current_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
uuid: null
langcode: en
status: true
dependencies:
module:
- ocha_monitoring
id: ocha_current_release
label: 'Current release'
description: 'Current release'
category: OCHA
plugin_id: ocha_current_release
result_class: null
value_label: Release
value_type: string
caching_time: 86400
settings: { }
thresholds:
type: none
18 changes: 18 additions & 0 deletions config/monitoring.sensor_config.ocha_deployment_identifier.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
uuid: null
langcode: en
status: true
dependencies:
module:
- ocha_monitoring
id: ocha_deployment_identifier
label: 'Deployment identifier'
description: 'Deployment identifier'
category: OCHA
plugin_id: ocha_deployment_identifier
result_class: null
value_label: Deployment
value_type: string
caching_time: 86400
settings: { }
thresholds:
type: none
18 changes: 18 additions & 0 deletions config/monitoring.sensor_config.ocha_env_link_fixer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
uuid: null
langcode: en
status: true
dependencies:
module:
- ocha_monitoring
id: ocha_env_link_fixer
label: 'Environment Link Fixer'
description: 'Environment Link Fixer'
category: OCHA
plugin_id: ocha_env_link_fixer
result_class: null
value_label: Version
value_type: string
caching_time: 86400
settings: { }
thresholds:
type: none
18 changes: 18 additions & 0 deletions config/monitoring.sensor_config.ocha_google_tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
uuid: null
langcode: en
status: true
dependencies:
module:
- ocha_monitoring
id: ocha_google_tag
label: 'Google tag'
description: 'Google tag'
category: OCHA
plugin_id: ocha_google_tag
result_class: null
value_label: 'GTM Id'
value_type: string
caching_time: 86400
settings: { }
thresholds:
type: none
Loading
Loading