Skip to content

Feature/cloudwatch metric - #19

Closed
IsaacTai13 wants to merge 4 commits into
T13Forge:mainfrom
IsaacTai13:feature/cloudwatch-metric
Closed

Feature/cloudwatch metric#19
IsaacTai13 wants to merge 4 commits into
T13Forge:mainfrom
IsaacTai13:feature/cloudwatch-metric

Conversation

@IsaacTai13

Copy link
Copy Markdown
Contributor

No description provided.

- Added "statsd" block to CloudWatch agent config to open UDP port 8125 for Micrometer metrics
- Enabled metrics collection interval for StatsD listener
- Created backup copy of /opt/aws/amazon-cloudwatch-agent/etc/amazon-cloudwatch-agent.json as .bk
…ove redundant @timed

- Introduced @ApiResourceTag annotation to define custom metric tags
- Implemented CustomObservationFilter to inject "resource" and "custom_tag"
- Removed existing @timed annotations to avoid duplicate metrics with different names
@IsaacTai13
IsaacTai13 force-pushed the feature/cloudwatch-metric branch from 7ee8551 to 7ee745b Compare November 4, 2025 02:55
…ed AOP-based custom metrics

- Disabled Micrometer’s default HTTP metrics (e.g., http.server.requests autotime) to avoid duplicate/ noisy series
- Removed TimedS3 helper; switched to AOP-driven collection
- Added MetricsAspect with:
  • @ApiObserved — per-endpoint metrics:
  • @S3Observed — S3 operation latency
  • DB interception via pointcut
- All metrics emitted via Micrometer → StatsD → CloudWatch
@IsaacTai13
IsaacTai13 force-pushed the feature/cloudwatch-metric branch from 7ee745b to 6e0a322 Compare November 4, 2025 05:33
@IsaacTai13 IsaacTai13 closed this Nov 5, 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