prometheus/scrape
Brian Brazil 4addee2bee Fix honor_labels for empty labels, prune empty labels.
The semantics of honor_labels are that if a target exposes
and empty label it will override the target labels. This PR
fixes that by once again distinguishing between empty labels
and missing labels in this one use case.

Beyond that empty labels should be pruned and not added to storage,
which this also fixes.

Fixes #3841
2018-02-20 11:05:54 +00:00
..
testdata rename package retrieve to scrape 2018-02-01 09:55:07 +00:00
helpers_test.go rename package retrieve to scrape 2018-02-01 09:55:07 +00:00
manager.go rename ScrapeManager struct to Manager to remove stutter 2018-02-01 10:06:24 +00:00
manager_test.go rename package retrieve to scrape 2018-02-01 09:55:07 +00:00
scrape.go Fix honor_labels for empty labels, prune empty labels. 2018-02-20 11:05:54 +00:00
scrape_test.go Meta labels sd 3693 (#3805) 2018-02-07 10:29:27 +00:00
target.go Meta labels sd 3693 (#3805) 2018-02-07 10:29:27 +00:00
target_test.go rename package retrieve to scrape 2018-02-01 09:55:07 +00:00