Skip to content

Move Prometheus Controller, Metrics Service & Message Service From AutomaInfracore To Package#1

Merged
vimscientist69 merged 4 commits intomainfrom
refactor/prometheus-controller-and-metrics-service
Sep 26, 2025
Merged

Move Prometheus Controller, Metrics Service & Message Service From AutomaInfracore To Package#1
vimscientist69 merged 4 commits intomainfrom
refactor/prometheus-controller-and-metrics-service

Conversation

@vimscientist69
Copy link
Copy Markdown
Contributor

@vimscientist69 vimscientist69 commented Sep 26, 2025

Reason

Metrics and message services will be used in multiple packages from different repositories, not just the backend of AutomaInfracore.

Tech Details List

  1. Move PrometheusController, PrometheusControllerErrors and PrometheusControllerIntegrationTests from AutomaInfracore to AutomaUtilities
  2. Refactor MessageService into MessageService and SNSService (message service just for discord messages, sns service for SMS's), and move MessageService along with all of its imported code from AutomaInfracore to AutomaUtilities.

Tasks:

  • Move PrometheusController, PrometheusControllerErrors and PrometheusControllerIntegrationTests from AutomaInfracore to AutomaUtilities
  • Refactor MessageService into MessageService and SNSService (message service just for discord messages, sns service for SMS's), and move MessageService along with all of its imported code from AutomaInfracore to AutomaUtilities.

Un-important tasks:

  • Update packages on refactor-metrics branch in AutomaInfracore with swift package resolve ; swift package update and run swift build and fix any small errors that might arise.
  • Run swift test in AutomaInfracore and fix any small errors that might arise.
  • Create PR and merge refactor-metrics into develop in AutomaInfracore repository.

Links:

ISSUE-ISSUEID
closes/resolves #ISSUEID

Testing

Steps:

  1. Run required commands to test all the code modified by this PR
# unit tests
# integration tests
swift test # test prometheus controller integration tests
# procs / testing logic
  1. Further testing can be done by following the notes in TESTING-QA

Output:

Testing QA

…oller, controller errors, and metrics service from automa infracore to utilities

Metrics and prometheus endpoint/s will be used in multiple projects, not just infracore
…s controller, controller errors, and metrics service from automa infracore to utilities
MessageService is required for MetricsService
@vimscientist69 vimscientist69 self-assigned this Sep 26, 2025
@vimscientist69 vimscientist69 merged commit ebe3474 into main Sep 26, 2025
1 check passed
vimscientist69 added a commit that referenced this pull request Sep 26, 2025
…r-and-metrics-service

Move Prometheus Controller, Metrics Service & Message Service From AutomaInfracore To Package
vimscientist69 added a commit that referenced this pull request Sep 26, 2025
vimscientist69 added a commit that referenced this pull request Sep 26, 2025
vimscientist69 added a commit that referenced this pull request Sep 26, 2025
vimscientist69 added a commit that referenced this pull request Sep 26, 2025
vimscientist69 added a commit that referenced this pull request Sep 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant