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
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions docs/concepts/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,14 @@ scrape_configs:

## Gitploy Metrics

Gitploy provides the following Gitploy metrics:
Gitploy provides the following Gitploy metrics. *Note that Some metrics are provided only for the production environment* (i.e. `production_environment: true` in the configuration file).

* **gitploy_requests_total** <br/> How many HTTP requests processed, partitioned by status code and HTTP method.
* **gitploy_request_duration_seconds**<br/> The HTTP request latencies in seconds.
* **gitploy_deployment_count**<br/> The total count of success deployment for each environment, respectively.
* **gitploy_deployment_count** <br/> The count of success deployment of the production environment.
* **gitploy_rollback_count**<br/> The count of rollback of the production environment.
* **gitploy_line_additions**<br/> The count of added lines from the latest deployment of the production environment.
* **gitploy_line_deletions**<br/> The count of deleted lines from the latest deployment of the production environment.
* **gitploy_line_changes**<br/> The count of changed lines from the latest deployment of the production environment.
* **gitploy_member_count**<br/> The total count of members.
* **gitploy_member_limit**<br/> The limit count of members.
* **gitploy_member_limit**<br/> The limit count of members.
32 changes: 32 additions & 0 deletions ent/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 11 additions & 1 deletion ent/deployment.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions ent/deployment/deployment.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions ent/deployment/where.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions ent/deployment_create.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 42 additions & 0 deletions ent/deployment_update.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading