Commit Graph

64 Commits

Author SHA1 Message Date
Bruno Domingues
762b9072dc SIENTIAPDE-1111: refactor sonarqube pipeline. 2025-06-23 12:49:52 -03:00
Bruno Domingues
3f289e8ddd Add ServiceMonitor configuration for Prometheus metrics collection 2025-06-12 09:57:54 -03:00
Bruno Domingues
0f552c97d6 SIENTIAPDE-1105: add ServiceMonitor configuration for Prometheus metrics collection. 2025-06-12 00:31:41 -03:00
Bruno Domingues
715d6784ea Merge pull request #8 from Aignosi/SIENTIAPDE-988-criar-ingestor-opc
Sientiapde 988 criar ingestor opc
2025-06-10 11:14:31 -03:00
vitor-aignosi
38273dab13 Update ingestor_manager.py 2025-06-09 16:48:19 -03:00
vitor-aignosi
5edc2983f7 Merge branch 'main' into SIENTIAPDE-988-criar-ingestor-opc 2025-06-09 16:45:45 -03:00
vitor-aignosi
975c640ea8 SIENTIAPDE-988
Update NotificationHandler initialization and change GITHUB_BRANCH in values.yaml
2025-06-09 16:36:29 -03:00
vitor-aignosi
82f3e9358d SIENTIAPDE-988
Refactor variable naming for clarity and update image tag and service settings in values.yaml
2025-06-09 16:31:04 -03:00
Matheus Demoner
f8ab32c345 Merge pull request #7 from Aignosi/SIENTIAPDE-1094-atualizar-versao-da-lib
SIENTIAPDE-1094
2025-06-09 13:11:01 -03:00
vitor-aignosi
a83d4ac728 SIENTIAPDE-1094
Refactor test___init__ to remove unnecessary parameters from notification_handler assertion
2025-06-09 11:30:43 -03:00
vitor-aignosi
1af7e80e5b SIENTIAPDE-1094
Update settings for language services, adjust simulator port, enhance error handling in ingestor, and refine Redis feeder script
2025-06-09 08:42:22 -03:00
Bruno Domingues
112d512a02 Bump sientia-module version to 0.0.8. 2025-06-02 16:42:12 -03:00
Bruno Domingues
6dc304d73d SIENTIAPDE-1083: fix app test 2. 2025-05-30 13:21:53 -03:00
Bruno Domingues
7f9d9aeba5 SIENTIAPDE-1083: fix app test. 2025-05-30 12:40:47 -03:00
Bruno Domingues
d7ba8a4ab4 SIENTIAPDE-1083: add env HTTP_SERVER_PORT for prometheus metrics. 2025-05-30 12:30:51 -03:00
Matheus Demoner
36d12bdda8 Merge pull request #6 from Aignosi/feature/SIENTIAPDE-1083
SIENTIAPDE-1083: Add prometheus metrics
2025-05-30 12:08:15 -03:00
Bruno Domingues
0fe2343891 SIENTIAPDE-1083: add prometheus metrics to ingestor_manager. 2025-05-29 17:47:53 -03:00
Bruno Domingues
c49f04ded6 SIENTIAPDE-1083: add prometheus metrics to opc_manager. 2025-05-29 16:52:10 -03:00
Bruno Domingues
03ed5784b1 SIENTIAPDE-1083: add prometheus metrics to resource_manager. 2025-05-29 11:38:57 -03:00
Bruno Domingues
f71b4c7937 SIENTIAPDE-1083: add prometheus metrics to data_manager. 2025-05-28 21:30:28 -03:00
Bruno Domingues
8e332da597 SIENTIAPDE-1083: add prometheus metrics to ingestor. 2025-05-28 17:54:44 -03:00
Bruno Domingues
fff52acf79 SIENTIAPDE-1083: add unit tests for app.py. 2025-05-28 16:15:57 -03:00
Bruno Domingues
12e9151b74 SIENTIAPDE-1083: add unit tests for metrics.py. 2025-05-28 15:42:58 -03:00
Bruno Domingues
14c71580e0 SIENTIAPDE-1083: add prometheus and app metrics. 2025-05-28 14:47:52 -03:00
Matheus Demoner
03470872fa Merge pull request #5 from Aignosi/SIENTIAPDE-1073-complementar-a-doc-do-ingestor-com-instrucoes-de-execucao
SIENTIAPDE-1075
2025-05-22 10:11:05 -03:00
vitor-aignosi
861101ffc6 SIENTIAPDE-1075
Add run instructions for the Ingestor
2025-05-22 10:06:03 -03:00
Matheus Demoner
8b2e158f72 Merge pull request #4 from Aignosi/SIENTIAPDE-1049-lidar-com-erros-de-reconexao-no-ingestor-opc
Sientiapde 1049 lidar com erros de reconexao no ingestor opc
2025-05-21 13:09:36 -03:00
vitor-aignosi
26356c05dd final adjust in replicaCount 2025-05-21 09:46:38 -03:00
vitor-aignosi
019dc33fc9 subscribe fix 2025-05-21 09:46:38 -03:00
vitor-aignosi
2612148455 lease fix 2025-05-21 09:46:38 -03:00
vitor-aignosi
c7dbe3585b SIENTIAPDE-1049
Update ingestor and data manager for improved shutdown handling and logging

- Incremented project version in quality gate configuration.
- Commented out ingestor service in docker-compose for clarity.
- Enhanced main loop in app.py to handle exit signals and exceptions.
- Added shutdown methods in Ingestor and DataManager classes for graceful resource cleanup.
- Updated unit tests to validate shutdown behavior and exception handling.
- Introduced coverage configuration to omit specific files.
2025-05-21 09:46:38 -03:00
vitor-aignosi
92ed3c9cb2 SIENTIAPDE-1049
Fix
2025-05-21 09:46:38 -03:00
vitor-aignosi
2fa1d2175e SIENTIAPDE-1049
Stability fix try
2025-05-21 09:46:38 -03:00
vitor-aignosi
1fa6558986 SIENTIAPDE-1049
Integrity fix
2025-05-21 09:46:38 -03:00
vitor-aignosi
39530f115e SIENTIAPDE-1049
Integrity fix
2025-05-21 09:46:38 -03:00
vitor-aignosi
b03fe75753 SIENTIAPDE-1049
Handling size change
2025-05-21 09:46:38 -03:00
vitor-aignosi
bb4ab7d209 SIENTIAPDE-1049
Refactor logging statements for consistency and clarity; update environment variable parsing to handle string inputs.
2025-05-21 09:46:38 -03:00
vitor-aignosi
9196861033 SIENTIAPDE-1049Enhance OPC connection handling with error logging and update branch in values.yaml 2025-05-21 09:46:38 -03:00
vitor-aignosi
c13d7cf391 log level fix 2025-05-21 09:46:38 -03:00
vitor-aignosi
bab74086c5 Adding new observability fixes 2025-05-21 09:46:38 -03:00
Matheus Demoner
272545bff8 Merge pull request #3 from Aignosi/SIENTIAPDE-988-criar-ingestor-opc
Sientiapde 988 criar ingestor opc
2025-05-05 15:14:00 -03:00
vitor-aignosi
c868fdae98 Merge branch 'main' into SIENTIAPDE-988-criar-ingestor-opc 2025-05-05 14:58:51 -03:00
Bruno Domingues
9ed7677067 Configure quality workflow 2. 2025-05-05 14:53:50 -03:00
Bruno Domingues
9d5c08c976 Configure quality workflow 1. 2025-05-05 14:51:55 -03:00
vitor-aignosi
3a2d488eed Refactor logging in Ingestor and OpcManager to use debug level
- Changed logging statements in Ingestor and OpcManager from info to debug level to reduce log verbosity and improve performance.
- This adjustment aids in better log management while maintaining necessary traceability for debugging purposes.
2025-05-05 14:43:55 -03:00
Bruno Domingues
2cd0552f1f Configure quality workflow 2. 2025-05-05 11:32:12 -03:00
vitor-aignosi
229305402a Update heartbeat and poll interval values in values.yaml
- Increased HEARTBEAT_TTL from 20 to 30 for improved responsiveness.
- Adjusted POLL_INTERVAL from 5 to 10 to optimize polling frequency.
2025-05-05 11:23:16 -03:00
vitor-aignosi
342535b7e7 Enhance OpcManager logging for data change notifications
- Added logging statements to OpcManager to track data change notifications and cycle count resets for monitored tags.
- Improved traceability of events related to OPC cycles, aiding in debugging and monitoring.
2025-05-05 11:10:16 -03:00
Bruno Domingues
dd23f3d17e Configure quality workflow 1. 2025-05-05 10:52:37 -03:00
vitor-aignosi
5f95b6309e SIENTIAPDE-988
Enhance IngestorManager and related tests with notification handling integration

- Added notification_handler parameter to IngestorManager and OpcManager initialization for improved event handling.
- Updated unit tests to include notification_handler in the Ingestor and IngestorManager instantiation, ensuring proper coverage of new functionality.
- Refactored test cases to validate the integration of notification handling across components.
2025-05-05 10:06:05 -03:00