Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BFD-3808: Pipeline submits its own per-dataset metrics to CloudWatch #2524

Merged
merged 10 commits into from
Jan 27, 2025

Conversation

malessi
Copy link
Contributor

@malessi malessi commented Jan 15, 2025

JIRA Ticket:
BFD-3808

What Does This PR Do?

This PR introduces two new per-dataset, dimensioned CloudWatch Metrics. These new Metrics measure the total time it takes the CCW Pipeline to load an entire RIF dataset as well the active, cumulative time it takes to load. Of particular interest are the following Metrics:

  • CcwRifLoadJob.dataset_processing.total.max
  • CcwRifLoadJob.dataset_processing.active.duration

The first Metric measures the final, total time to load a given dataset and is submitted once only after the dataset is fully loaded. The second Metric is measured and submitted every minute during the processing of a dataset and actively measures the time the CCW Pipeline is taking to process a dataset. The former will be used in our Dashboards whereas the latter will be used to implement the Time to ingest a weekly batch load once available in S3 SLO Alarms.

What Should Reviewers Watch For?

If you're reviewing this PR, please check for these things in particular:

What Security Implications Does This PR Have?

Please indicate if this PR does any of the following:

  • Adds any new software dependencies

  • Modifies any security controls

  • Adds new transmission or storage of data

  • Any other changes that could possibly affect security?

  • I have considered the above security implications as it relates to this PR. (If one or more of the above apply, it cannot be merged without the ISSO or team security engineer's (@sb-benohe) approval.)

Validation

Have you fully verified and tested these changes? Is the acceptance criteria met? Please provide reproducible testing instructions, code snippets, or screenshots as applicable.

  • Running a CCW Pipeline connected to the 3808-test environment, introducing a synthetic and non-synthetic load in S3, and verifying that:
    • the aforementioned Metrics are submitted to CloudWatch
    • all Metric values are submitted
  • Running the 2 new IT tests, verifying that they pass

@malessi malessi force-pushed the alessio/BFD-3808__dataset-metrics branch 4 times, most recently from 9b55e30 to 3231f1e Compare January 21, 2025 17:47
@malessi malessi changed the base branch from master to BFD-3126 January 21, 2025 17:47
@malessi malessi marked this pull request as ready for review January 21, 2025 17:54
@malessi malessi force-pushed the alessio/BFD-3808__dataset-metrics branch from 3231f1e to 866f028 Compare January 21, 2025 17:57
@malessi malessi marked this pull request as draft January 21, 2025 18:03
@malessi malessi force-pushed the alessio/BFD-3808__dataset-metrics branch from 866f028 to 6346949 Compare January 21, 2025 18:22
@malessi malessi force-pushed the alessio/BFD-3808__dataset-metrics branch from 6346949 to 2d1f7bb Compare January 21, 2025 22:16
Base automatically changed from BFD-3126 to master January 23, 2025 16:24
@aschey-forpeople aschey-forpeople dismissed their stale review January 23, 2025 16:24

The base branch was changed.

@malessi malessi force-pushed the alessio/BFD-3808__dataset-metrics branch from 935ca9f to 95b4aa8 Compare January 23, 2025 16:29
@malessi malessi marked this pull request as ready for review January 23, 2025 16:29
@malessi malessi marked this pull request as draft January 23, 2025 16:52
@malessi malessi marked this pull request as ready for review January 24, 2025 16:01
@malessi malessi enabled auto-merge (squash) January 24, 2025 16:02
@malessi malessi merged commit 2798b52 into master Jan 27, 2025
11 checks passed
@malessi malessi deleted the alessio/BFD-3808__dataset-metrics branch January 27, 2025 17:15
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.

3 participants