Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.31 KB

CONTRIBUTING.md

File metadata and controls

45 lines (32 loc) · 1.31 KB

Contributing

Please use this guide before making any contributions to this repository.

Preliminary

  • All code must be gofmt'd, golint'd and go vet'd before being committed.
  • Code should have test coverage to ensure its correctness.

PRs

Commits

Keep individual commits descriptive. Prefix them with the collector name and a colon. Anyone viewing the git history should be able to determine from those first 80 characters, the body of the commit. Feel free to expand further on the commit but keep the first 80 characters on point.

Good Commit:

monitor: expose metrics for clock skew
  - scrape monitor's skew value from ceph's status

Bad Commit:

new monitor metrics

Use your own discretion when deciding whether or not to squash multiple commits in a PR to a single commit. However, each commit should contain a single, logical unit of change, and a descriptive message.

Resources