~jlosito/prometheus-registration:fix-deprec-snap-prime

Last commit made on 2019-11-06
Get this branch:
git clone -b fix-deprec-snap-prime https://git.launchpad.net/~jlosito/prometheus-registration
Only John Losito can upload to this branch. If you are John Losito please log in for upload directions.

Branch merges

Branch information

Name:
fix-deprec-snap-prime
Repository:
lp:~jlosito/prometheus-registration

Recent commits

5258e0c... by John Losito

Add base to snapcraft

47e5f85... by Jacek Nykis

Add sanity checks when adding new targets. Fixes LP#1722774

Reviewed-on: https://code.launchpad.net/~jacekn/prometheus-registration/+git/prometheus-registration/+merge/333398
Reviewed-by: Tom Haddon <email address hidden>
Reviewed-by: Joel Sing <email address hidden>

40447fd... by Jacek Nykis

Use net.SplitHostPort for target validation. Make tests easier to tweak

ddbc34c... by Jacek Nykis

Add sanity checks when adding new targets. Fixes LP1722774

* make port mandatory
* ensure port number is valid
* small README.md tweaks

c565d0d... by Paul Gear <email address hidden>

Clarify that the SSL* options require filenames, not raw YAML

deb4b08... by Tim Kuhlman

Fail if trying to create a target with an undefined name.

Addresses https://bugs.launchpad.net/prometheus-registration/+bug/1673151

c659b98... by Tim Kuhlman

Misc minor test improvements.

9b2bbfb... by Tim Kuhlman

Update dependencies, explain justification of using govendor.

5054547... by Tim Kuhlman

Update the snap adding a content slot so the Prometheus snap can get data from promreg.

Also make prometheus a recommended package in the deb.

7a5a938... by Tim Kuhlman

Rework testing so it is part of the promreg package and coverage can be run