Commit Graph

33 Commits

Author SHA1 Message Date
vitor-aignosi
501aac1868 SIENTIAPDE-1205
Update values.yaml and refactor shutdown methods for improved configuration and async handling

- Changed replica count from 2 to 1 in values.yaml for deployment optimization.
- Updated image tag from 0.4.3 to 0.4.5 in values.yaml for version consistency.
- Refactored shutdown method in IngestorManager to use await server.shutdown() for better async operation.
- Removed __del__ method in OpcManager to prevent blocking during cleanup.
2025-08-27 08:48:31 -03:00
vitor-aignosi
c5744ebee4 SIENTIAPDE-1193
Update replica count and image tag in values.yaml for deployment configuration
2025-08-22 15:00:59 -03:00
vitor-aignosi
63ba075a87 SIENTIAPDE-1193
Add OPC_TIMEZONE environment variable to values.yaml for timezone configuration
2025-08-22 10:01:12 -03:00
vitor-aignosi
9b4333a83e SIENTIAPDE-1193
Update requirements and refactor datetime handling in OpcManager for timezone support

- Commented out the specific version of sientia-dataops-library in requirements.txt and added a local path.
- Updated GITHUB_BRANCH in values.yaml for consistency with current development.
- Refactored source_timestamp handling in OpcManager to include timezone information.
- Adjusted timestamp formatting in test cases to reflect the new datetime format with timezone.
2025-08-22 10:00:00 -03:00
vitor-aignosi
2fa07728f9 Refactor values.yaml to enable metrics service and remove unused API and OPC services
- Enabled metrics service with updated configuration for Prometheus ServiceMonitor.
- Removed disabled API and OPC service configurations to streamline values.yaml.
- Updated helm upgrade command version to 0.5.0.
2025-08-19 16:50:12 -03:00
vitor-aignosi
ac55ed8aff Update dependencies and refactor logger imports for observability
- Updated sientia-dataops-library version to 1.4.1 in requirements.txt.
- Changed image tag from 0.3.2 to 0.4.2 in values.yaml.
- Refactored logger imports from sientia_do.temporal.utils.logger to sientia_do.observability.logger in multiple manager files for improved observability.
2025-08-19 16:48:41 -03:00
vitor-aignosi
e8f85b64e9 SIENTIAPDE-1174
Update image tag in values.yaml to 0.3.2 for version consistency
2025-08-04 15:10:28 -03:00
vitor-aignosi
8c248f4783 SIENTIAPDE-1174
Update image tag in values.yaml to 0.3.1 and adjust helm upgrade command version
2025-08-04 10:01:24 -03:00
vitor-aignosi
5ed6523c51 SIENTIAPDE-1174
Update values.yaml to modify replica count and GITHUB_BRANCH environment variable

- Increased replicaCount from 1 to 3 for improved scalability.
- Updated GITHUB_BRANCH environment variable to SIENTIAPDE-1174-mapear-e-implementar-metricas-a-serem-criadas.
2025-07-31 08:47:52 -03:00
vitor-aignosi
bc7008acdf SIENTIAPDE-1174
Update requirements and environment configurations

- Changed the sientia-dataops-library dependency to a relative path in requirements.txt.
- Updated image tag to 0.3.0 in values.yaml.
- Renamed HTTP_SERVER_PORT to HTTP_METRICS_PORT in app.py and updated its default value to 9090.
- Added TAG_WRITTEN_COUNT metric in metrics.py to track writing processes.
- Incremented TAG_WRITTEN_COUNT in DataManager upon successful data insertion.
2025-07-31 08:30:00 -03:00
vitor-aignosi
716415ab5b SIENTIAPDE-1172
Update dependencies and environment variables

- Updated sientia-dataops-library dependency version to 1.3.5 in requirements.txt.
- Changed image tag to 0.2.7 in values.yaml.
- Updated GITHUB_BRANCH environment variable to SIENTIAPDE-1172-criar-pipeline-de-alertas-orquestrador in values.yaml.
2025-07-29 13:22:18 -03:00
vitor-aignosi
d9c776907d SIENTIAPDE-1163
Update values.yaml to add metrics service configuration

- Introduced a new 'metrics' service with ClusterIP type, port 9090, and targetPort 9090.
- Updated the serviceMonitor port to reference the new 'metrics' service.
- Changed HTTP_SERVER_PORT environment variable value to 9090 to align with the new metrics service.
2025-07-17 14:58:46 -03:00
vitor-aignosi
d1215344b8 SIENTIAPDE-1163
Update values.yaml to restructure service definitions

- Changed the service configuration to a nested structure under 'services'.
- Introduced 'api' and 'opc' services with individual settings, both initially disabled.
- Updated ports for the 'api' service to 4841 while keeping the 'opc' service at 4840.
2025-07-17 10:52:36 -03:00
Bruno Domingues
c18d6e5142 Add port configuration for serviceMonitor in values.yaml. 2025-07-17 10:52:36 -03:00
vitor-aignosi
0885544bc7 SIENTIAPDE-1163
Update values.yaml for image tag and GITHUB_BRANCH

- Updated image tag to "0.2.4" for the latest version.
- Changed GITHUB_BRANCH value to "SIENTIAPDE-1163-alterar-dinamica-de-notificacoes-para-usar-o-mongodb-ao-inves-do-kafka".
- Removed .vscode/settings.json as it is no longer needed.
2025-07-16 10:16:02 -03:00
vitor-aignosi
22ed2c8cde SIENTIAPDE-1110
Update GITHUB_BRANCH in values.yaml and remove debug log in DataManager

- Changed GITHUB_BRANCH value to "SIENTIAPDE-1110-criar-testes-e-2-e" in values.yaml.
- Removed unnecessary debug log for skipping messages in DataManager class.
2025-07-08 11:38:32 -03:00
Bruno Domingues
53c262329e SIENTIAPDE-1105: add ServiceMonitor configuration for Prometheus metrics collection. 2025-07-04 11:23:50 -03:00
vitor-aignosi
b0bbf4cf03 Add EXPORT_TO_KAFKA environment variable and update Ingestor class logic
- Introduced EXPORT_TO_KAFKA variable in values.yaml to control Kafka export behavior.
- Updated Ingestor class to parse and set the export_to_kafka attribute based on the environment variable.
2025-07-03 14:10:49 -03:00
vitor-aignosi
c5b23da373 Update MongoDB configuration in values.yaml and enhance Ingestor class to utilize MongoDB connection parameters 2025-07-01 12:31:46 -03:00
vitor-aignosi
0d03141655 Add debug print for exit_signal state in main loop; update GITHUB_BRANCH to error-test 2025-06-11 10:01:27 -03:00
vitor-aignosi
9bbe828296 test 2025-06-11 09:58:14 -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
Bruno Domingues
112d512a02 Bump sientia-module version to 0.0.8. 2025-06-02 16:42:12 -03:00
Bruno Domingues
d7ba8a4ab4 SIENTIAPDE-1083: add env HTTP_SERVER_PORT for prometheus metrics. 2025-05-30 12:30:51 -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
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
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
3fc3753636 SIENTIAPDE-1017
remove helm chart files and templates for sientia-module
2025-04-28 16:53:50 -03:00