Merge ~ilasc/turnip:gauge-name-to-operation into turnip:master
Proposed by
Ioana Lasc
Status: | Merged |
---|---|
Approved by: | Ioana Lasc |
Approved revision: | 2a484246d5229e1eb608defe6863a55ac4238ffa |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~ilasc/turnip:gauge-name-to-operation |
Merge into: | turnip:master |
Diff against target: |
53 lines (+11/-11) 2 files modified
turnip/pack/git.py (+9/-9) turnip/pack/tests/test_functional.py (+2/-2) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson (community) | Approve | ||
Review via email: mp+392382@code.launchpad.net |
Commit message
Set generic gauge name to git
Description of the change
1st approach in this MP
This will give us:
turnip_
turnip_
turnip_
turnip_
this gives the option to filter / group by repository, metric, host/unit.
2nd approach:
We could alternatively implement:
gauge_name = ("git_operation
which would give us one generic expression:
turnip_
with the ability to filter by operation, repo, metric, host/unit.
To post a comment you must log in.
Thanks.
We should use something like your second approach, not the first. Relying on what the first label in the list happens to be to construct the name is too magical, and in any case we want to be able to filter on all these things.