Skip to content

Conversation

@arybolovlev
Copy link
Collaborator

Rollback Plan

If a change needs to be reverted, we will publish an updated version of the library.

Changes to Security Controls

Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.

Description

Add a new manager option, -list-metrics, to list all operator-related metrics without needing a connection to the /metrics endpoint or setting up a Prometheus scraper.

Usage Example

$ kubectl exec -it <POD_NAME> -c manager -- ./manager -list-metrics
# HELP hcp_tf_runs HCP Terraform - Pending runs by statuses
# TYPE hcp_tf_runs GAUGE
# HELP hcp_tf_runs_total HCP Terraform - Total number of pending Runs by statuses
# TYPE hcp_tf_runs_total GAUGE

References

N/A.

Community Note

  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant