Commit Graph

554 Commits

Author SHA1 Message Date
Frank Schröder 9b2e3c2091 agent: add option to discard health output (#3562)
* agent: add option to discard health output

In high volatile environments consul will have checks with "noisy"
output which changes every time even though the status does not change.
Since the output is stored in the raft log every health check update
unblocks a blocking call on health checks since the raft index has
changed even though the status of the health checks may not have changed
at all. By discarding the output of the health checks the users can
choose a different tradeoff. Less visibility on why a check failed in
exchange for a reduced change rate on the raft log.

* agent: discard output also when adding a check

* agent: add test for discard check output

* agent: update docs

* go vet

* Adds discard_check_output to reloadable config table.

* Updates the change log.
2017-10-10 17:04:52 -07:00
preetapan f6066f8305 Fixes agent error handling when check definition is invalid. Distingu… (#3560)
* Fixes agent error handling when check definition is invalid. Distinguishes between empty checks vs invalid checks

* Made CheckTypes return Checks from service definition struct rather than a new copy, and other changes from code review. This also errors when json payload contains empty structs

* Simplify and improve validate method, and make sure that CheckTypes always returns a new copy of validated check definitions

* Tweaks some small style things and error messages.

* Updates the change log.
2017-10-10 16:54:06 -07:00
James Phillips cf21e0bcf5
Updates the change log. 2017-10-10 15:24:10 -07:00
James Phillips dff7aab526
Updates the change log. 2017-10-06 14:17:21 -07:00
Preetha Appan e677d309f9 Updating CHANGELOG.md 2017-10-06 16:10:35 -05:00
James Phillips 906bd41a5c
Updates the change log. 2017-10-06 11:36:03 -07:00
James Phillips 533ec86a40
Updates the change log. 2017-10-06 07:57:22 -07:00
James Phillips 406bad36bd
Updates the change log. 2017-10-05 09:30:56 -07:00
Frank Schroeder c467efe4b9
Update CHANGELOG.md 2017-10-05 18:14:26 +02:00
James Phillips ca89deb178
Updates the change log. 2017-10-04 22:59:22 -07:00
James Phillips b61ec82b2f Update CHANGELOG.md 2017-10-04 19:48:34 -07:00
James Phillips 03f6cdeefe
Updates the change log. 2017-10-04 19:47:44 -07:00
Kyle Havlovitz d464f3aff5 Update CHANGELOG.md 2017-10-04 17:48:30 -07:00
James Phillips c5a7d2871e Update CHANGELOG.md 2017-10-04 16:51:49 -07:00
James Phillips 459cc7bc6c Update CHANGELOG.md 2017-10-04 16:51:11 -07:00
Frank Schröder 7b2ef00d03 Make GH-xxxx issue numbers clickable. (#3533) 2017-10-04 11:57:03 -07:00
Frank Schroeder 248f6f97ed
Revert "Test using issue numbers in CHANGELOG"
This reverts commit 3d069781ff2a63bb020d93f7089874c317449057.
2017-10-04 20:32:58 +02:00
Frank Schröder f7b8c357f7 Test using issue numbers in CHANGELOG 2017-10-04 20:29:14 +02:00
Frank Schroeder 0e077e7fa1
Revert "Test using github links in CHANGELOG"
This reverts commit e72ff5dd43db1e58ec52d7ac2f7ab5b20f4054ba.
2017-10-04 20:23:10 +02:00
Frank Schröder b767d1aae6 Test using github links in CHANGELOG 2017-10-04 20:21:59 +02:00
James Phillips c9fd08a94c Update CHANGELOG.md 2017-10-04 10:48:30 -07:00
Frank Schroeder f1559c73e4
Update CHANGELOG.md 2017-10-04 19:20:56 +02:00
James Phillips 64adc44583 Update CHANGELOG.md 2017-10-04 09:55:15 -07:00
Preetha Appan 80134b394a Update CHANGELOG.md 2017-10-04 10:46:36 -05:00
James Phillips 0c00d980aa Update CHANGELOG.md 2017-09-29 12:00:56 -07:00
Frank Schroeder 5bd5917d0e
Update CHANGELOG.md 2017-09-29 20:56:01 +02:00
preetapan 34b6fe3eee Update CHANGELOG,md 2017-09-28 21:26:31 -05:00
Preetha Appan de638ed2ba Update CHANGELOG.md with operator API endpoints whose http verb enforcement behavior change with 1.0 2017-09-28 21:15:15 -05:00
James Phillips ea52a12990 Update CHANGELOG.md 2017-09-28 15:40:07 -07:00
Frank Schroeder 0735c4db1b
Update CHANGELOG.md 2017-09-28 12:49:37 +02:00
James Phillips b293b261e5 Update CHANGELOG.md 2017-09-27 23:40:00 -07:00
James Phillips d9f085f18d Update CHANGELOG.md 2017-09-27 17:56:24 -07:00
James Phillips c9aed0d0ec Update CHANGELOG.md 2017-09-27 16:16:49 -07:00
James Phillips 086e2cd6b1 Update CHANGELOG.md 2017-09-27 16:11:40 -07:00
James Phillips f245beee13 Update CHANGELOG.md 2017-09-27 16:10:58 -07:00
James Phillips ea68f9bbfa Update CHANGELOG.md 2017-09-27 16:09:40 -07:00
James Phillips 664442cc5d Update CHANGELOG.md 2017-09-27 16:09:20 -07:00
James Phillips 05078a8ab4 Update CHANGELOG.md 2017-09-27 16:09:03 -07:00
James Phillips eea86084ae Update CHANGELOG.md 2017-09-27 16:08:22 -07:00
James Phillips 2ff9885935 Update CHANGELOG.md 2017-09-27 15:48:24 -07:00
James Phillips 8c8a783dfa Update CHANGELOG.md 2017-09-27 15:47:52 -07:00
James Phillips 2b8496e340 Update CHANGELOG.md 2017-09-27 15:40:48 -07:00
James Phillips 92ff57537c Update CHANGELOG.md 2017-09-27 15:38:52 -07:00
James Phillips d8d4d300c3 Update CHANGELOG.md 2017-09-27 15:35:35 -07:00
James Phillips 7dc906cb59 Update CHANGELOG.md 2017-09-26 20:50:38 -07:00
James Phillips 949081d323 Update CHANGELOG.md 2017-09-26 17:52:47 -07:00
Frank Schröder 707f8e329a Metrics service prefix (#3498)
* metrics: replace statsite_prefix with service_prefix

The metrics prefix isn't statsite specific and is in fact used
for all metrics providers. Since we are deprecating fields
anyway we should fix this one as well.

Fixes #3293

* Updates docs and sorts telemetry section.

* Renames to "metrics_prefix" to disambiguate with Consul services.

* Updates the change log.
2017-09-26 17:49:55 -07:00
James Phillips e9842e178a Update CHANGELOG.md 2017-09-26 15:24:36 -07:00
Kyle Havlovitz 2255dbc39b Update CHANGELOG.md 2017-09-26 13:49:07 -07:00
Preetha Appan 6bf4f28399 Update CHANGELOG.md 2017-09-26 11:59:11 -05:00