Commit Graph

302 Commits

Author SHA1 Message Date
vitor-aignosi
da2ffd6520 SIENTIAPDE-1318
Enhance validation script and CI workflow for code quality checks

- Added support for a --fix option in validate.sh to apply Ruff auto-fixes for code formatting and linting.
- Updated quality-gate.yml to include separate steps for installing development and runtime dependencies.
- Introduced dedicated steps for code formatting checks, linting, type checking, and security analysis in the CI workflow.
2025-10-17 12:47:40 -03:00
Matheus Demoner
9939147c9e Merge pull request #19 from Aignosi/SIENTIAPDE-1316-otimizacao-do-scouter
SIENTIAPDE-1316: Refactor metrics, activities, gates, and update .gitignore
2025-10-16 15:24:48 -03:00
vitor-aignosi
ecfdb4873d SIENTIAPDE-1316
fix on requirements
2025-10-16 15:02:25 -03:00
vitor-aignosi
97eb5bc904 SIENTIAPDE-1316
Update .gitignore and refactor metrics.py, activities.py, and gates.py for improved clarity and consistency. Added coverage.xml and cache directories to .gitignore. Standardized string formatting and parameter handling in metrics and activities classes, enhancing code readability. Removed the deprecated faker.py file and adjusted related tests accordingly.
2025-10-16 13:31:12 -03:00
vitor-aignosi
8bdbf049b8 SIENTIAPDE-1316
SIENTIAPDE-1084: Refactor apply_aggregation method in Gates class for improved performance and clarity. Changed parameter name from 'group' to 'values', optimized aggregation logic, and enhanced error handling for invalid functions. Streamlined data processing by reducing unnecessary operations and added batch debug logging.
2025-10-16 13:06:44 -03:00
Bruno Domingues
205284d9f4 Merge pull request #18 from Aignosi/SIENTIAPDE-1084-ajustar-documentacao
SIENTIAPDE-1084: Refactor and Enhance README.md and Project Configuration
2025-09-03 13:33:41 +00:00
vitor-aignosi
199b1deacb SIENTIAPDE-1084
Update test_activities.py to change assertions for mock_postgres_close and mock_mongodb_close from assert_called_once to assert_called, allowing for more flexible verification of calls during shutdown tests.
2025-09-01 16:07:42 -03:00
vitor-aignosi
1a16a17267 SIENTIAPDE-1084
Remove quality filters from the CoreScouter Workflow flowchart in README.md to enhance clarity and focus on the main data processing steps.
2025-08-29 16:57:27 -03:00
vitor-aignosi
4c929fe866 SIENTIAPDE-1084
Remove outdated key components section from README.md to streamline the documentation and focus on the CoreScouter Workflow.
2025-08-29 16:55:42 -03:00
vitor-aignosi
da15f2d40d SIENTIAPDE-1084
Update README.md to modify the Scouter Workflow flowchart, replacing the icon for the core_scouter step with a refresh symbol for better visual representation of data processing continuity.
2025-08-29 16:55:21 -03:00
vitor-aignosi
864bf0af96 SIENTIAPDE-1084
Update README.md to correct the flowchart syntax for the Scouter Workflow Architecture, changing from 'flowchart-elk' to 'flowchart' to ensure proper rendering and maintain clarity in visualizing data processing steps.
2025-08-29 16:43:05 -03:00
vitor-aignosi
abdec12635 SIENTIAPDE-1084
Update README.md to modify the Scouter Workflow Architecture flowchart, changing the layout to 'flowchart-elk' for improved clarity in visualizing data processing steps and interactions.
2025-08-29 16:42:33 -03:00
vitor-aignosi
e573923bdd SIENTIAPDE-1084
Refactor README.md to update the Scouter Workflow Architecture flowchart, transitioning to a left-to-right layout for improved readability and clarity in depicting data processing steps and service interactions.
2025-08-29 16:41:09 -03:00
vitor-aignosi
791d8b8be2 SIENTIAPDE-1084
Update README.md to revise the Scouter Workflow Architecture flowchart, replacing outdated steps with a new data processing sequence that includes data quality checks, aggregation, and metrics writing, enhancing clarity on system operations and service interactions.
2025-08-29 16:39:31 -03:00
vitor-aignosi
6c22b00d5f SIENTIAPDE-1084
Update README.md to enhance the architecture diagrams for both Scouter and FakeData workflows, improving clarity and structure by adopting a consistent flowchart format and detailing service interactions.
2025-08-29 16:37:34 -03:00
vitor-aignosi
79dc20e993 SIENTIAPDE-1084
Update README.md to modify the Scouter Workflow Architecture flowchart, enhancing clarity by restructuring the diagram layout and correcting the connections to Redis and MongoDB components.
2025-08-29 16:31:02 -03:00
vitor-aignosi
f5c4d38a7a SIENTIAPDE-1084
Refactor README.md to streamline the Scouter Workflow Architecture section by consolidating the flowchart into a single line format for improved readability and clarity.
2025-08-29 16:28:49 -03:00
vitor-aignosi
cbad5df8d2 SIENTIAPDE-1084
Update README.md to include a new section on Scouter Workflow Architecture, detailing the incremental data processing steps and key components, while removing outdated system architecture diagrams for improved clarity and relevance.
2025-08-29 16:27:21 -03:00
vitor-aignosi
fe6133f31a SIENTIAPDE-1084
Enhance README.md by adding detailed system architecture and data processing flow diagrams using Mermaid syntax, improving clarity on the Scouter system's components and interactions.
2025-08-29 16:20:07 -03:00
vitor-aignosi
beb06d257f SIENTIAPDE-1084
Update README.md to change the section title from "Temporal input parameters" to "MongoDB pipeline configuration" for improved accuracy in documentation.
2025-08-29 16:04:07 -03:00
vitor-aignosi
cf1ce1a38d SIENTIAPDE-1084
Enhance README.md by adding a section for Scouter Workflow Input Parameters to improve documentation clarity on system configuration.
2025-08-29 16:02:34 -03:00
vitor-aignosi
9dc3a4c55a SIENTIAPDE-1084
Update README.md to reflect new workflow configuration parameters, including temporal input settings, tag definitions, and filter policies for enhanced clarity on system capabilities.
2025-08-29 15:19:32 -03:00
vitor-aignosi
88576252af SIENTIAPDE-1084
Update .gitignore to include git_log and .env files for better environment management.
2025-08-29 11:57:05 -03:00
vitor-aignosi
a973da9d60 SIENTIAPDE-1084
Remove deprecated files and configurations, including .env, Dockerfile, docker-compose.yml, and client-schedule.py. Update README.md to reflect new architecture and features, enhancing clarity on system capabilities and workflows. Adjust values.yaml for image tag and replica count, and improve code documentation across various modules for better maintainability.
2025-08-29 11:56:45 -03:00
Bruno Domingues
00d25bdefc Merge pull request #17 from Aignosi/SIENTIAPDE-1193-conferir-como-a-escrita-de-datetime-ocorre-no-temporal
SIENTIAPDE-1193: Refactor Timestamp Handling, Update Dependencies, and Scale Application Deployment
2025-08-26 13:39:06 +00:00
vitor-aignosi
730c9e9ff9 Merge branch 'main' into SIENTIAPDE-1193-conferir-como-a-escrita-de-datetime-ocorre-no-temporal 2025-08-25 10:46:36 -03:00
Matheus Demoner
aad0921957 Merge pull request #16 from Aignosi/SIENTIAPDE-1199-revisar-e-testar-observabilidade
Sientiapde 1199 revisar e testar observabilidade
2025-08-25 10:14:52 -03:00
vitor-aignosi
719e3917ab SIENTIAPDE-1193
Refactor Redis key format in tests for last data timestamp to use colons, enhancing readability and consistency with recent changes.
2025-08-25 09:03:03 -03:00
vitor-aignosi
5c01d024a8 SIENTIAPDE-1193
Update image tag in values.yaml from 0.4.3 to 0.4.4 for version increment.
2025-08-25 08:28:12 -03:00
vitor-aignosi
18f7ab6723 SIENTIAPDE-1193
Update replica count in values.yaml from 1 to 3 to scale application deployment.
2025-08-22 15:46:14 -03:00
vitor-aignosi
826b559489 SIENTIAPDE-1193
Refactor CoreScouter workflow test to use updated DATETIME_FORMAT_WITH_TZ, ensuring consistency with recent changes in timestamp handling.
2025-08-22 15:44:13 -03:00
vitor-aignosi
7bbfa4dbac SIENTIAPDE-1193
Refactor timestamp handling in CoreScouter workflow by updating to DATETIME_FORMAT_WITH_TZ, ensuring consistency with recent changes in datetime management.
2025-08-22 15:33:41 -03:00
vitor-aignosi
54c3dd25e9 SIENTIAPDE-1193
Update replica count in values.yaml to 1 and enhance timestamp handling in MongoDB activity by setting timezone to UTC for inserted_at field.
2025-08-22 15:30:47 -03:00
vitor-aignosi
39ba82b539 SIENTIAPDE-1193
Update image tag to 0.4.3 in values.yaml and refactor Redis key format for last data timestamp to use colons for improved readability.
2025-08-22 15:13:04 -03:00
vitor-aignosi
96a28e91e5 SIENTIAPDE-1193
Enhance timestamp handling in Redis and CoreScouter workflows by updating to DATETIME_FORMAT_MS_WITH_TZ. Modify tests to reflect new timestamp format, ensuring consistency across data structures and improving overall datetime management.
2025-08-22 14:05:41 -03:00
vitor-aignosi
0b337d00f9 SIENTIAPDE-1193
Refactor Redis activity to utilize the new 'now' function for timestamp generation, ensuring consistency with updated datetime handling. This change replaces the direct use of 'datetime.now()' with 'now()' from the temporal constants.
2025-08-22 11:24:26 -03:00
vitor-aignosi
0e0603d2bc SIENTIAPDE-1193
Update sientia-dataops-library version to 1.4.3 and refactor timestamp handling in MongoDB and Redis activities to use DATETIME_FORMAT constants for improved consistency. Enhance unit tests to reflect these changes.
2025-08-22 11:12:37 -03:00
vitor-aignosi
eabc642feb SIENTIAPDE-1193
Update dependencies in requirements.txt and change GITHUB_BRANCH in values.yaml to reflect new datetime handling task.
2025-08-22 08:02:13 -03:00
vitor-aignosi
fad10bc0d0 SIENTIAPDE-1193
Update requirements and core scouter workflow: comment out old dataops library dependency, change default namespace in worker.py, and enhance timestamp handling in core_scouter.py with DATETIME_FORMAT.
2025-08-21 12:16:06 -03:00
vitor-aignosi
799aa5af3e SIENTIAPDE-1199
Refactor logging in worker.py to use custom_info and custom_error methods, enhancing log metadata with pod and workflow details for improved observability.
2025-08-21 11:36:37 -03:00
vitor-aignosi
76d96c2c13 Merge branch 'main' into SIENTIAPDE-1199-revisar-e-testar-observabilidade 2025-08-21 08:36:38 -03:00
Matheus Demoner
2637e7dc97 Merge pull request #15 from Aignosi/SIENTIAPDE-1169-pensar-e-projetar-testes-de-breakdown-e-performance
Sientiapde 1169 pensar e projetar testes de breakdown e performance
2025-08-20 12:49:07 -03:00
vitor-aignosi
2a76f2e3c6 SIENTIAPDE-1199
Enhance logging in Gates, MongoDB, and Redis activities by replacing debug statements with info level logs, improving observability of data processing steps. Update worker configuration to adjust concurrency settings and enable autoscaling for task polling.
2025-08-20 12:39:43 -03:00
vitor-aignosi
3bbc2c4993 SIENTIAPDE-1199
Update dependencies and improve observability by changing logger imports. Bump sientia-dataops-library version to 1.4.1 and update image tag to 0.4.2 in values.yaml.
2025-08-19 16:29:30 -03:00
vitor-aignosi
552f58ca86 SIENTIAPDE-1169
SIENTIAPDE-1169 Update Redis and core scouter tests to include model_tags in data structures, enhancing data organization and consistency across test cases.
2025-08-19 09:29:46 -03:00
vitor-aignosi
2c0f5a67e6 Merge branch 'main' into SIENTIAPDE-1169-pensar-e-projetar-testes-de-breakdown-e-performance 2025-08-18 15:20:23 -03:00
vitor-aignosi
9480495155 SIENTIAPDE-1169
Enable SDK metrics service in values.yaml and update worker.py to initialize SDK metrics server with Prometheus configuration, enhancing observability of the application.
2025-08-18 13:45:20 -03:00
vitor-aignosi
4bbd937b7f SIENTIAPDE-1169
Enhance Redis activity logging by adding debug statements for tag management and metrics registration, improving traceability of data processing.
2025-08-14 16:33:39 -03:00
vitor-aignosi
9303158a9d SIENTIAPDE-1169
Update image tag to 0.4.0 in values.yaml, modify GITHUB_BRANCH for SIENTIAPDE-1169, and enhance Redis activity to handle model tags for improved data retention.
2025-08-14 16:15:20 -03:00
Bruno Domingues
77b65bf740 Merge pull request #14 from Aignosi/SIENTIAPDE-1174-mapear-e-implementar-metricas-a-serem-criadas
Sientiapde 1174 mapear e implementar metricas a serem criadas
2025-08-13 16:34:49 -03:00