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

#3666 - Queue Monitoring - Sysdig Team Update #4233

Merged
merged 2 commits into from
Jan 14, 2025

Conversation

andrewsignori-aot
Copy link
Collaborator

@andrewsignori-aot andrewsignori-aot commented Jan 14, 2025

This ticket is to add missing team members to the sysdig as agreed during the development of the ticket #3666.
Please note the ticket is not associated with the PR because it is closed and does not seem worth opening or creating a ticket only for this task.
The current way to update and apply the changes was manual and demanded manual editing of the file to be applied to each license plate. The intention of this PR is to make it simple.

  • Converted sysdig team to a template to allow adding a parameter.
  • Create a make command to execute the template in the current two license plates.

Technical documentation about Sysdig team setup: https://developer.gov.bc.ca/docs/default/component/platform-developer-docs/docs/app-monitoring/sysdig-monitor-setup-team/?utm_source=digital&utm_medium=web&utm_campaign=sysdig-monitor

@andrewsignori-aot andrewsignori-aot marked this pull request as ready for review January 14, 2025 17:16
Copy link

Backend Unit Tests Coverage Report

Totals Coverage
Statements: 22.49% ( 3850 / 17122 )
Methods: 10.37% ( 224 / 2161 )
Lines: 25.88% ( 3322 / 12837 )
Branches: 14.31% ( 304 / 2124 )

Copy link

E2E Workflow Workers Coverage Report

Totals Coverage
Statements: 65.59% ( 589 / 898 )
Methods: 59.63% ( 65 / 109 )
Lines: 68.72% ( 468 / 681 )
Branches: 51.85% ( 56 / 108 )

Copy link

E2E Queue Consumers Coverage Report

Totals Coverage
Statements: 86.14% ( 1249 / 1450 )
Methods: 82.42% ( 136 / 165 )
Lines: 88.51% ( 1032 / 1166 )
Branches: 68.07% ( 81 / 119 )

Copy link

E2E SIMS API Coverage Report

Totals Coverage
Statements: 67.77% ( 5992 / 8842 )
Methods: 65.54% ( 738 / 1126 )
Lines: 71.62% ( 4695 / 6555 )
Branches: 48.15% ( 559 / 1161 )

@dheepak-aot dheepak-aot self-requested a review January 14, 2025 17:24
@@ -517,3 +517,11 @@ deploy-forms:
delete-redis:
@echo "+\n++ Removing redis and resources on $(NAMESPACE)\n+"
@oc delete -n $(NAMESPACE) all,rc,svc,dc,route,pvc,secret,configmap,sa -l app=redis

update-sysdig-team:
@echo "Updating Sysdig Team for license plate 0c27fb.\n"
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍

Copy link
Collaborator

@dheepak-aot dheepak-aot left a comment

Choose a reason for hiding this comment

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

Great Job! Looks good.

role: ROLE_TEAM_STANDARD
- name: [email protected]
role: ROLE_TEAM_STANDARD
apiVersion: template.openshift.io/v1
Copy link
Collaborator

@guru-aot guru-aot Jan 14, 2025

Choose a reason for hiding this comment

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

did we update the kind to template from the SysdigTeam ?

https://developer.gov.bc.ca/docs/default/component/platform-developer-docs/docs/app-monitoring/sysdig-monitor-setup-team/?utm_source=digital&utm_medium=web&utm_campaign=sysdig-monitor#part-1-compose-the-sysdig-team-object-manifest

as per the documentation of bcgov devops, its been created, anything changed other than the ${LICENSE_PLATE} parameter addition?

I believe if that is the case, we can have 2 sysdig-0c27fb-team.yml and sysdig-a6ef19-team.yml

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The file did not use a template before. I converted it to a template to allow the parameter to be added. The sysdig object should be exactly the same as before: ops.gov.bc.ca/v1alpha1. Am I missing something?

Copy link
Collaborator

@guru-aot guru-aot left a comment

Choose a reason for hiding this comment

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

LGTM, Nice work @andrewsignori-aot

Copy link
Collaborator

@bidyashish bidyashish left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants