Skip to content

Conversation

@7174Andy
Copy link
Collaborator

@7174Andy 7174Andy commented Nov 18, 2025

This pull request introduces a new structured configuration for monitoring, alerting, and resource usage thresholds in the allocator service. The main changes add new dataclasses to encapsulate monitoring-related settings, such as thresholds for resource usage, budget limits, and CloudTrail logging, and integrate them into the main configuration.

Monitoring and resource usage configuration:

  • Added a new MonitoringConfig dataclass to group monitoring settings, including enabling/disabling monitoring, alert email, resource usage thresholds, budget, and CloudTrail logging.
  • Introduced ThresholdsConfig to define limits for instance creation/termination, IAM role creation, security group changes, and unauthorized API calls within specified time windows.
  • Added BudgetConfig for monthly budget limits and alert thresholds, and CloudTrailConfig for CloudTrail log retention configuration.

Integration into main configuration:

  • Integrated the new MonitoringConfig into the top-level Config dataclass, making monitoring and alerting settings available throughout the service configuration.

@7174Andy 7174Andy marked this pull request as ready for review November 20, 2025 02:07
@eberrigan eberrigan requested a review from Copilot November 28, 2025 20:43
Copilot finished reviewing on behalf of eberrigan November 28, 2025 20:45
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a structured monitoring configuration for the allocator service, encompassing resource usage thresholds, budget limits, and CloudTrail logging settings. The new configuration enables centralized management of monitoring and alerting parameters.

  • Adds four new dataclasses (ThresholdsConfig, BudgetConfig, CloudTrailConfig, MonitoringConfig) to define monitoring-related settings
  • Integrates monitoring configuration into the top-level Config dataclass
  • Establishes default values for resource usage limits and monitoring parameters

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants