Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Add metrics about changes of deployment #169

Merged
merged 9 commits into from
Oct 16, 2021
Merged

Add metrics about changes of deployment #169

merged 9 commits into from
Oct 16, 2021

Conversation

noahingh
Copy link
Member

@noahingh noahingh commented Oct 13, 2021

Adding the following metrics reads how many changes from the latest deployment by the CompareCommits method. This PR has the following metrics:

  • gitploy_rollback_count
  • gitploy_line_additions
  • gitploy_line_deletions
  • gitploy_line_changes

@noahingh noahingh added component: server This issue or pull request is related to the feature of the server-side schema-migration This pull request has a schema-migration labels Oct 13, 2021
@noahingh noahingh added this to the v0.2 milestone Oct 13, 2021
@noahingh noahingh linked an issue Oct 13, 2021 that may be closed by this pull request
3 tasks
Comment on lines +50 to +51
field.Bool("production_environment").
Default(false),
Copy link
Member Author

Choose a reason for hiding this comment

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

To produce metrics only for the production environment.

@noahingh noahingh marked this pull request as ready for review October 16, 2021 05:05
@noahingh noahingh changed the title Add metrics of deployment for DevOps Add metrics about changes of deployment Oct 16, 2021
@noahingh noahingh removed a link to an issue Oct 16, 2021
3 tasks
@noahingh noahingh merged commit 8f1b93b into main Oct 16, 2021
@noahingh noahingh deleted the devops-metrics branch October 16, 2021 05:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component: server This issue or pull request is related to the feature of the server-side schema-migration This pull request has a schema-migration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant