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

Reindex GitHub Events into maintainer inactivity data #79

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

bshien
Copy link
Collaborator

@bshien bshien commented Sep 30, 2024

Description

Reindexed GitHub Events stored in the metrics cluster into maintainer inactivity data for further display.

Issues Resolved

Part of #57

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Copy link

codecov bot commented Sep 30, 2024

Codecov Report

Attention: Patch coverage is 88.23529% with 32 lines in your changes missing coverage. Please review.

Project coverage is 86.83%. Comparing base (157464b) to head (d2ded46).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...hmetrics/metrics/maintainer/MaintainerMetrics.java 88.63% 7 Missing and 8 partials ⚠️
.../opensearchmetrics/metrics/MetricsCalculation.java 84.61% 7 Missing and 3 partials ⚠️
...archmetrics/lambda/MaintainerInactivityLambda.java 80.76% 4 Missing and 1 partial ⚠️
...earchmetrics/model/maintainer/LatestEventData.java 80.00% 0 Missing and 1 partial ⚠️
...searchmetrics/model/maintainer/MaintainerData.java 96.29% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main      #79      +/-   ##
============================================
+ Coverage     86.58%   86.83%   +0.24%     
- Complexity      271      315      +44     
============================================
  Files            64       69       +5     
  Lines          1491     1762     +271     
  Branches         58       78      +20     
============================================
+ Hits           1291     1530     +239     
- Misses          177      195      +18     
- Partials         23       37      +14     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bshien bshien marked this pull request as draft September 30, 2024 17:33
@bshien bshien force-pushed the maintainer-engagement-2 branch 3 times, most recently from d6aeb02 to 90db87d Compare October 30, 2024 00:03
@bshien bshien linked an issue Oct 30, 2024 that may be closed by this pull request
@bshien bshien force-pushed the maintainer-engagement-2 branch 6 times, most recently from a6d5c23 to c1183b8 Compare October 31, 2024 22:52
@bshien bshien marked this pull request as ready for review October 31, 2024 23:18
@bshien bshien force-pushed the maintainer-engagement-2 branch 3 times, most recently from 59ff2e8 to 19db2c1 Compare November 1, 2024 01:11
@@ -69,6 +69,7 @@ export class OpenSearchMetricsMonitoringStack extends Stack {
private snsMonitorStepFunctionExecutionsFailed(): void {
const stepFunctionSnsAlarms = [
{ alertName: 'StepFunction_execution_errors_MetricsWorkflow', stateMachineName: this.props.workflowComponent.opensearchMetricsWorkflowStateMachineName },
{ alertName: 'StepFunction_execution_errors_MaintainerInactivityWorkflow', stateMachineName: this.props.workflowComponent.opensearchMaintainerInactivityWorkflowStateMachineName },
Copy link
Member

Choose a reason for hiding this comment

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

NIT: moving forward should this infrastructure/lib/stacks/monitoringDashboard.ts have inputs on the workflows to monitor?

@bshien bshien force-pushed the maintainer-engagement-2 branch 3 times, most recently from 33ce872 to 3e84f99 Compare November 1, 2024 22:34
@bshien bshien force-pushed the maintainer-engagement-2 branch from 3e84f99 to 526989d Compare November 1, 2024 22:48
@bshien bshien force-pushed the maintainer-engagement-2 branch from 526989d to d2ded46 Compare November 1, 2024 22:52
@bshien bshien merged commit 13bcfe3 into opensearch-project:main Nov 1, 2024
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

[FEATURE] Index Maintainer activity status into Metrics cluster
2 participants