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

Add a new metric 'gitploy_total_commit_count' #180

Merged
merged 5 commits into from
Oct 22, 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
3 changes: 2 additions & 1 deletion docs/concepts/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,13 @@ scrape_configs:
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_request_duration_seconds**<br/> The HTTP request latencies in seconds
* **gitploy_deployment_count** <br/> The total deployment count of the production deployments.
* **gitploy_rollback_count**<br/> The total rollback count of the production deployments.
* **gitploy_line_additions**<br/> The total added lines of the production deployments.
* **gitploy_line_deletions**<br/> The total deleted lines of the production deployments.
* **gitploy_line_changes**<br/> The total changed lines of the production deployments.
* **gitploy_lead_time_seconds**<br/> The total amount of time it takes a commit to get into the production environments.
* **gitploy_commit_count**<br/> The total commit count of production deployments.
* **gitploy_member_count**<br/> The total count of members.
* **gitploy_member_limit**<br/> The limit count of members.
12 changes: 11 additions & 1 deletion ent/deploymentstatistics.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/deploymentstatistics/deploymentstatistics.go

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

83 changes: 83 additions & 0 deletions ent/deploymentstatistics/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/deploymentstatistics_create.go

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

70 changes: 70 additions & 0 deletions ent/deploymentstatistics_update.go

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

7 changes: 4 additions & 3 deletions ent/migrate/schema.go

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

Loading