Kyle Havlovitz
189b19c678
Release v1.0.7
2018-04-13 10:05:42 -07:00
Kyle Havlovitz
2ac0669362
Update static assets
2018-04-13 10:05:30 -07:00
freddygv
230b9f8fbf
Enables dig in cluster demo by installing dnsutils
2018-04-13 18:01:42 +01:00
Kyle Havlovitz
be10300d06
Update make static-assets goal and run format
2018-04-13 09:57:25 -07:00
Jack Pearkes
62190439c4
ui: update version of ui compile deps
2018-04-13 09:40:46 -07:00
Kyle Havlovitz
be4faac818
Update middleman docker image to 0.3.35
2018-04-13 09:22:12 -07:00
Jack Pearkes
d02d7e0956
update middleman-hashicorp to 0.3.35
2018-04-13 09:11:32 -07:00
Kyle Havlovitz
9802427bb8
Put the tree in 1.0.7 release mode
2018-04-13 08:58:27 -07:00
Matt Keeler
42867dba4d
Update CHANGELOG.md
2018-04-12 12:13:19 -04:00
Matt Keeler
ed94d356e0
Merge pull request #4023 from hashicorp/f-near-ip
...
Add near=_ip support for prepared queries
2018-04-12 12:10:48 -04:00
Matt Keeler
d604642792
GH-3798: More PR Updates
...
Update docs a little
Update/add tests. Make sure all the various ways of determining the source IP work
Update X-Forwarded-For header parsing. This can be a comma separated list with the first element being the original IP so we now handle csv data there.
Got rid of error return from sourceAddrFromRequest
2018-04-12 10:40:46 -04:00
Matt Keeler
aa9151738a
GH-3798: A couple more PR updates
...
Test HTTP/DNS source IP without header/extra EDNS data.
Add WARN log for when prepared query with near=_ip is executed without specifying the source ip
2018-04-12 10:10:37 -04:00
Matt Keeler
3a0f7789ec
GH-3798: A few more PR updates
2018-04-11 20:32:35 -04:00
Matt Keeler
de3a9be3d0
GH-3798: Updates for PR
...
Allow DNS peer IP as the source IP.
Break early when the right node was found for executing the preapred query.
Update docs
2018-04-11 17:02:04 -04:00
Matt Keeler
300f7f388e
GH-3798: Wrap DNS request validation in a retry
2018-04-11 16:00:15 -04:00
Jack Pearkes
f9baf50b54
Merge pull request #4015 from hashicorp/ui-service-tags
...
api/ui: return tags on internal UI endpoints
2018-04-11 12:02:19 -07:00
Jack Pearkes
171841367b
Merge pull request #3950 from hashicorp/je.segment
...
Switch web analytics to segment
2018-04-11 11:13:15 -07:00
Matt Keeler
059d0f07de
GH-3798: Update prepared query documentation to mention the near=_ip param
2018-04-11 10:34:13 -04:00
Matt Keeler
b7869e9771
GH-3798: Add DNS near=_ip test
2018-04-11 10:33:48 -04:00
Paul Banks
bb9bd00759
Update CHANGELOG.md
2018-04-11 12:53:18 +01:00
Paul Banks
48f2a74c9e
Merge pull request #4022 from hashicorp/pq-filter-checks
...
Allow ignoring checks by ID when defining a PreparedQuery. Fixes #3727 .
2018-04-11 12:50:43 +01:00
James Nugent
e96b2b8d09
Only call signal.Notify once during agent startup
...
Calling twice appears to have no adverse effects, however serves to
confuse as to what the semantics of such code may be! This seems like it
was probably introduced while resolving conflicts during the merge of
the fix for #2404 .
2018-04-10 20:44:50 -05:00
Matt Keeler
0c44a0a7cc
GH-3798: Add HTTP prepared query near=_ip test
...
Also fixed an issue where we need to have the X-Forwarded-For header processed before the RemoteAddr. This shouldn’t have any functional difference for prod code but for mocked request objects it allows them to work.
2018-04-10 15:35:54 -04:00
Matt Keeler
89cd24aeca
GH-3798: Add near=_ip support for prepared queries
2018-04-10 14:50:50 -04:00
Isaac Williams
2926294865
Close HTTP response in Agent test (HTTPAPI_MethodNotAllowed_OSS)
2018-04-10 13:18:46 -04:00
Paul Banks
2ed0d2afcd
Allow ignoring checks by ID when defining a PreparedQuery. Fixes #3727 .
2018-04-10 14:04:16 +01:00
Pierre Souchay
e342ced97b
Clearer documentation and comments for enabling Prometheus support
2018-04-09 13:16:45 +02:00
Pierre Souchay
c164ee7dbd
Enable compression / automatic Mime-Type detection for Prometheus endpoint
2018-04-09 13:16:03 +02:00
Jeff Escalante
5e97f36c6c
switch analytics from ga to segment
2018-04-06 18:08:00 -04:00
Jack Pearkes
d5b8b75614
Merge pull request #4005 from hashicorp/og-image
...
website: use a smaller og image for unfurling / expansion behavior
2018-04-06 10:35:14 -07:00
Matt Keeler
ae319f635c
Update CHANGELOG.md
2018-04-06 13:24:23 -04:00
Matt Keeler
3df53b6459
Merge pull request #4006 from kjothen/patch-1
...
Update check.go
2018-04-06 12:57:52 -04:00
Matt Keeler
e7e7274e44
Merge pull request #4007 from v-karbovnichy/patch-1
...
website: Add description what the "recent events" means
2018-04-06 12:19:31 -04:00
Pierre Souchay
2cccb8f36a
Added documentation for telemetry{ prometheus_retention_time = duration }
2018-04-06 14:50:03 +02:00
Pierre Souchay
2e495ec8a6
Now use prometheus_retention_time > 0 to enable prometheus support
2018-04-06 14:21:05 +02:00
Pierre Souchay
583744d8c5
Added support exposing metrics in Prometheus format
2018-04-06 09:18:06 +02:00
Pierre Souchay
e1c64f70df
Added dependency github.com/prometheus/client_golang/prometheus/promhttp
2018-04-06 08:54:37 +02:00
Jack Pearkes
812efc2667
api/ui: return tags on internal UI endpoints
...
This is to allow the UI to display tags in the services index pages
without needing to make additional queries.
2018-04-05 12:28:57 -07:00
Pierre Souchay
09a7546b12
Bump github.com/armon/go-metrics to allow having prometheus support
2018-04-05 18:21:32 +02:00
Matt Keeler
5d37c7bc8c
Update CHANGELOG.md
2018-04-04 09:10:13 -04:00
Matt Keeler
cbefc4261d
Merge pull request #3752 from yfouquet/issue_3687
...
Add support for compression in http api
2018-04-04 09:06:42 -04:00
Kyle Havlovitz
7e4788adf1
Update CHANGELOG.md
2018-04-03 15:41:16 -07:00
Yoann
23a6ad9356
Add support for compression in http api
...
The need has been spotted in issue https://github.com/hashicorp/consul/issues/3687 .
Using "NYTimes/gziphandler", the http api responses can now be compressed if required.
The Go API requires compressed response if possible and handle the compressed response.
We here change only the http api (not the UI for instance).
2018-04-03 22:33:13 +02:00
Matt Keeler
4273911b9a
Update CHANGELOG.md
2018-04-03 13:51:54 -04:00
Matt Keeler
d5b2da874d
Merge pull request #4002 from hashicorp/b-gh-3996
...
Add --config-format option to the validate subcommand
2018-04-03 13:33:05 -04:00
Preetha
d4e6b0307e
Merge pull request #3998 from zte-opensource/wip-fix-shutdown
...
minor fix for endpoints shutdown
2018-04-03 12:22:54 -05:00
Matt Keeler
8a9240ff78
Address PR feedback
2018-04-02 09:23:01 -04:00
Matt Keeler
555257ef8d
Merge remote-tracking branch 'origin/master' into b-gh-3996
2018-04-02 09:19:14 -04:00
Vyacheslav Karbovnichy
d9a1e45f45
website: Add description what the "recent events" means
...
According to this answer on SO https://stackoverflow.com/a/49495985/1875339
that has references to code lines:
94835a2715/agent/agent.go (L221)
94835a2715/agent/user_event.go (L229)
94835a2715/agent/user_event.go (L235)
2018-04-02 14:57:04 +04:00
Kieran Othen
4575fd378a
Update check.go
...
Cosmetic fix to the agent's HTTP check function which always formats the result as "HTTP GET ...", ignoring any non-GET supplied HTTP method such as POST, PUT, etc.
2018-03-31 16:44:35 +01:00