Commit Graph

137 Commits

Author SHA1 Message Date
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
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
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
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
vitor-aignosi
25f9d89317 SIENTIAPDE-1174
Update image tag to 0.3.1 in values.yaml and modify write_metrics method signature in Gates activity for improved type clarity.
2025-08-01 08:36:08 -03:00
vitor-aignosi
fd740ca451 SIENTIAPDE-1174
Update Gates activity to use labels in LABORIOUS_DATA_WRITTEN_COUNT metric, improving clarity in metric tracking.
2025-07-31 16:34:55 -03:00
vitor-aignosi
7ea9c1ce65 SIENTIAPDE-1174
Update Gates and Redis activities to use 'workflow_name' instead of 'pipeline_name' in metric tracking, ensuring consistency across the codebase.
2025-07-31 16:31:38 -03:00
vitor-aignosi
b9c004827f SIENTIAPDE-1174
Update Redis activity to use metadata for model and pipeline names, improving consistency in metric tracking.
2025-07-31 16:27:18 -03:00
vitor-aignosi
a8222359cc SIENTIAPDE-1174
Refactor Scouter class to remove pod_id reference, enhancing code clarity and consistency in data handling.
2025-07-31 16:25:02 -03:00
vitor-aignosi
205810e882 SIENTIAPDE-1174
Update requirements for sientia-dataops-library to version 1.3.7, add ServiceMonitor configuration for Prometheus in values.yaml, and refactor pod_id usage in Gates and Redis activities for improved consistency in metric tracking.
2025-07-31 15:45:18 -03:00
vitor-aignosi
c69ae5df03 SIENTIAPDE-1174
Remove unused getenv import from scouter.py to enhance code clarity and maintainability.
2025-07-31 14:59:12 -03:00
vitor-aignosi
5d3eb74022 SIENTIAPDE-1174
SIENTIAPDE-1174 Add pod_id initialization in Activities class and update Scouter to reference it for improved consistency in environment variable handling.
2025-07-31 14:57:22 -03:00
vitor-aignosi
ce20d86328 SIENTIAPDE-1174
Remove unused metrics import from core_scouter.py to streamline code and improve clarity.
2025-07-31 14:48:00 -03:00
vitor-aignosi
b4827935a7 SIENTIAPDE-1174
Integrate write_metrics activity into CoreScouter for enhanced metric logging and update worker.py to include write_metrics in workflow tasks.
2025-07-31 14:43:34 -03:00
vitor-aignosi
1c78cfb558 SIENTIAPDE-1174
Add write_metrics activity to Gates for database metric logging and import metrics module
2025-07-31 14:39:58 -03:00
vitor-aignosi
7925b8a2ae SIENTIAPDE-1174
Update replica count in values.yaml, add application status metrics in metrics.py, and implement Prometheus server in worker.py for enhanced observability.
2025-07-31 13:01:39 -03:00
vitor-aignosi
2efad30304 SIENTIAPDE-1174
SIENTIAPDE-1174 Update dependencies, modify image tag, and enhance metrics tracking in various activities for improved observability and performance.
2025-07-31 12:52:07 -03:00
vitor-aignosi
b68b3b403b SIENTIAPDE-1151
SIENTIAPDE-1151 Filter data in Gates activity based on model tags to enhance data accuracy.
2025-07-21 12:03:03 -03:00
vitor-aignosi
aacd52b5c7 SIENTIAPDE-1151
Add debug logging for collected data in MongoDB activity
2025-07-21 11:12:39 -03:00
vitor-aignosi
b230ad614e SIENTIAPDE-1151
Update Redis set method to use a TTL of 5 hours for improved data retention.
2025-07-18 16:19:06 -03:00
vitor-aignosi
95defccbf6 SIENTIAPDE-1163
Refactor notification handler imports across multiple files to use CoreNotificationHandler instead of NotificationHandler for consistency and clarity.
2025-07-16 08:59:21 -03:00
vitor-aignosi
efeef628cb SIENTIAPDE-1148
Update sonar-project.properties to exclude worker.py from coverage, enhance error handling in worker.py, and add new tests for error scenarios in test_redis.py and test_mongo.py.
2025-07-11 12:32:23 -03:00
vitor-aignosi
09d0569998 SIENTIAPDE-1141
Enhance worker configuration in worker.py by adding parameters for max concurrent tasks and cached workflows to improve performance and scalability.
2025-07-10 16:06:31 -03:00
vitor-aignosi
1404eefdae SIENTIAPDE-1110
Update Gates activity to extract policy from filter configuration, improving clarity in filter handling.
2025-07-07 14:18:40 -03:00
vitor-aignosi
f203ff829d SIENTIAPDE-1110
SIENTIAPDE-1110 Add store_data_package method to Redis activity for debug data storage functionality.
2025-07-07 10:57:52 -03:00
vitor-aignosi
b95cc8ddd5 SIENTIAPDE-1110
Update CoreScouter workflow to include store_data_package method in the main execution flow, enhancing data handling capabilities.
2025-07-07 10:56:30 -03:00
vitor-aignosi
0b77a7bc7e SIENTIAPDE-1110
Implement store_data_package method in Redis activity for debug data storage. Update CoreScouter workflow to conditionally call store_data_package based on debug flag. Enhance tests for store_data_package functionality and error handling.
2025-07-07 10:03:08 -03:00
vitor-aignosi
08240efc8b SIENTIAPDE-1110
Enhance Gates and Redis activities by adding metadata parameter to apply_aggregation and notification methods. Refactor notification handling to use send_notification for improved consistency. Update tests to reflect changes in notification method calls and ensure proper functionality with new metadata integration.
2025-07-04 11:01:20 -03:00
vitor-aignosi
d08d1b1337 SIENTIAPDE-1110
Refactor Activities class to remove Kafka and Druid dependencies, simplifying initialization. Update values.yaml to set replica count to 1 for reduced resource usage. Adjust Redis activity to set TTL to None for better data retention. Remove unused Kafka and Druid activity files and their associated tests, streamlining the codebase.
2025-07-03 16:25:55 -03:00
vitor-aignosi
1dcba6b48e SIENTIAPDE-1110
Refactor Scouter workflow to update data loading method, changing from load_latest_druid_data to load_latest_data. Adjusted parameters for consistency in collection naming and improved clarity in data retrieval process.
2025-07-03 14:04:10 -03:00
vitor-aignosi
208491498f SIENTIAPDE-1110
Update Druid configuration in values.yaml to change port from 8081 to 8888. Refactor pydruid.py to use druid_engine for SQLAlchemy connections, enhancing clarity and consistency in data loading operations.
2025-07-02 10:35:53 -03:00
vitor-aignosi
6caec63977 SIENTIAPDE-1110
Refactor last data timestamp handling in Druid activity to use string format for default value, improving consistency in date representation.
2025-07-02 10:24:35 -03:00
vitor-aignosi
3bbc6a6a79 SIENTIAPDE-1110
Update Druid activity to handle None values for last data timestamp, ensuring default timestamp is set to epoch start. Enhance data loading debug logging for improved traceability.
2025-07-02 10:21:55 -03:00
vitor-aignosi
430fe04202 SIENTIAPDE-1110
Enhance Druid activity by adding configuration for Druid host and port in values.yaml. Refactor data loading logic to utilize SQLAlchemy for querying Druid, improving query efficiency and readability. Update timestamp handling to streamline data retrieval process.
2025-07-02 10:19:04 -03:00
vitor-aignosi
5decb018d2 SIENTIAPDE-1110 2025-07-02 09:27:14 -03:00
vitor-aignosi
879c1fdc49 SIENTIAPDE-1110
Add logging for data loading in Druid activity, enhancing traceability of data retrieval intervals.
2025-07-02 09:27:02 -03:00
vitor-aignosi
c3c8e1b766 SIENTIAPDE-1110
Update Druid activity to handle None values for last data timestamp, ensuring robust date parsing. Bump image tag in values.yaml to 0.2.3 for version consistency.
2025-07-02 09:25:46 -03:00
vitor-aignosi
332612ac84 SIENTIAPDE-1110
Integrate Druid activity into the Activities class, adding support for Druid configuration and initialization. Update worker and connectors configuration to accommodate Druid, enhancing data processing capabilities.
2025-07-02 09:02:59 -03:00
vitor-aignosi
91f2d8610b SIENTIAPDE-1110
Update MongoDB activity to format 'inserted_at' timestamps as strings in the format 'YYYY-MM-DD HH:MM:SS.ssssss', improving readability of timestamp data.
2025-07-01 16:09:46 -03:00
vitor-aignosi
defac7b1f0 SIENTIAPDE-1110
Update Redis activity to include a specific prefix for the last data timestamp key, enhancing clarity in key management.
2025-07-01 16:06:52 -03:00
vitor-aignosi
82ce1852e3 SIENTIAPDE-1110
Add debug logging for data filter in MongoDB activity to enhance traceability of filtering criteria.
2025-07-01 16:03:40 -03:00