Sean Chittenden
7482a9207d
Chase casting types.CheckID to a string into the state_store.
...
It turns out the indexer can only use strings as arguments when
creating a query. Cast `types.CheckID` to a `string` before calling
into `memdb`.
Ideally the indexer would be smart enough to do this at compile-time,
but I need to look into how to do this without reflection and the
runtime package. For the time being statically cast `types.CheckID`
to a `string` at the call sites.
2016-06-07 16:59:02 -04:00
Sean Chittenden
ff45f8c8ff
Revert "Move structs.CheckID
to a new top-level package, types
."
...
This reverts commit 2bbd52e3b44ff1b60939a8400264d534662d6d51.
2016-06-07 16:59:02 -04:00
Sean Chittenden
a4554b945c
Move structs.CheckID
to a new top-level package, types
.
...
Per discussion w/ @slackpad, move this type to its own top-level package
2016-06-07 16:59:02 -04:00
Sean Chittenden
cd68cd3868
Move structs.CheckID
to a new top-level package, types
.
...
Per discussion w/ @slackpad, move this type to its own top-level package
2016-06-07 16:59:02 -04:00
Sean Chittenden
0857e93d0b
Float a type balloon. Some strings are square pegs in round holes.
...
This experiment was brought about because of variable naming
confusion where name and checkIDs were interchanged. Gave CheckID
an Qualified Type Name and chased downstream changes.
2016-06-07 16:59:02 -04:00
James Phillips
c3d86c07bd
Merge pull request #2100 from hashicorp/f-update-web
...
Updates web assets to pull in RTT viz.
2016-06-07 09:33:30 -07:00
James Phillips
1955eadc12
Updates web assets to pull in RTT viz.
2016-06-07 09:32:44 -07:00
James Phillips
accad192e0
Merge pull request #2099 from hashicorp/f-update-serf
...
Pulls in latest Serf to get flap metric.
2016-06-07 09:23:19 -07:00
James Phillips
6ee216eace
Pulls in latest Serf to get flap metric.
2016-06-07 09:22:41 -07:00
James Phillips
fabbd13fe5
Merge pull request #2098 from hashicorp/b-scada
...
Removes stale scada client and test sections that use (now) unexported fields.
2016-06-06 19:21:14 -07:00
James Phillips
5f334d94fa
Removes stale scada client and test sections that use (now) unexported fields.
...
Fixes #2092 .
2016-06-06 19:18:31 -07:00
James Phillips
77c7763ff9
Merge pull request #2093 from hashicorp/b-certs
...
Re-ups the snake oil certs for the unit tests.
2016-06-04 12:15:05 -07:00
James Phillips
9e2b282589
Re-ups the snake oil certs for the unit tests.
...
Ref #979 for a link to the blog with the commands to use :-)
2016-06-04 12:13:56 -07:00
James Phillips
b0c9f207b3
Merge pull request #2091 from hashicorp/b-travis
...
Enables fallback git tag check to fix Travis.
2016-06-03 23:35:46 -07:00
James Phillips
54a14b70c1
Enables fallback git tag check to fix Travis.
2016-06-03 23:34:00 -07:00
James Phillips
7816158106
Merge pull request #2090 from evan2645/document-consul-lock-shell-execution
...
Document `consul lock` shell execution
2016-06-03 22:31:31 -07:00
Evan Gilman
6235467a9a
Document consul lock
shell execution
...
Consul lock executes children under a shell, which was previously
undocumented. Document it, and warn against cases where this can cause
children to leak when the lock is lost.
I have made this a dedicated section so it can easily be removed
later when we move to exec
https://github.com/hashicorp/consul/issues/1692
2016-06-03 17:01:05 -07:00
James Phillips
efec9c0aef
Merge pull request #2088 from lihz1990/master
...
add tcp in service/register
2016-06-03 08:36:49 -07:00
lihz
b862d3f044
add tcp in service/register
...
I found consul /service/register interface supprt TCP check as well.
2016-06-03 19:29:05 +08:00
Jeff Mitchell
e061d89fe9
Use upstream high-level SCADA provider
2016-06-01 18:25:39 -04:00
James Phillips
131234f33a
Merge pull request #2075 from mlbarrow/patch-1
...
Fix typo
2016-05-29 11:34:41 -07:00
Michael Barrow
0871236ca7
Fix typo
...
Simple typo fix.
2016-05-29 10:24:44 -07:00
Sean Chittenden
67b9104daf
Fix the href target for the /v1/catalog/node/<node>
endpoint.
2016-05-27 00:12:17 -07:00
James Phillips
b2b617f4da
Merge pull request #2072 from awiddersheim/patch-1
...
Fix typo
2016-05-26 08:05:14 -07:00
Andrew Widdersheim
01798b32b4
Fix typo
2016-05-26 10:46:55 -04:00
James Phillips
3be856c3fa
Merge pull request #2071 from logikal/telemetry_address
...
docs: clarify address specification for telemetry
2016-05-24 13:47:25 -07:00
Sean Kilgore
a60c0b630a
docs: clarify address specification for telemetry
...
Earlier on this page, under `addresses`, we say "For TCP addresses, these should simply be an IP address without the port. For example: 10.0.0.1, not 10.0.0.1:8500." Since we expect the port to be included for `_address` for telemetry, call it out specifically.
2016-05-24 12:55:23 -07:00
James Phillips
d2685bb0aa
Update CHANGELOG.md
2016-05-24 12:50:48 -07:00
James Phillips
9855b559ac
Merge pull request #2058 from nathan7/master
...
Parse ACL tokens for the catalog register/deregister endpoints
2016-05-24 12:49:13 -07:00
James Phillips
02bcc0d64b
Merge pull request #2060 from saifabid/patch-1
...
Fix json for /v1/catalog/node in markdown
2016-05-19 22:36:56 -04:00
Saif Abid
e786aafe70
Fix json for /v1/catalog/node in markdown
...
add in a missing comma after the "Address" field
2016-05-19 14:41:41 -04:00
James Phillips
5ffe99c619
Merge pull request #2046 from ross/ui-tomography
...
Implementation of a per-node tomography graph
2016-05-18 22:06:50 -04:00
Ross McFarland
c92f681944
Implement a first-pass of tomography node hover
...
Not at all using Emeber's facilities and no clue how to do so with this.
2016-05-18 10:05:16 -07:00
Ross McFarland
4501904313
Rework sampling to avoid 0 case and always include min and max
2016-05-18 09:50:30 -07:00
James Phillips
af8da3fec4
Merge pull request #2057 from hashicorp/sethvargo/training
...
Add note about paid training
2016-05-18 09:21:27 -07:00
Ross McFarland
559dc4599e
Sample tomography distances to cap number around 360
2016-05-17 12:57:02 -07:00
Ross McFarland
58c3b08134
Switch tomography to median rather than avg
2016-05-17 10:43:50 -07:00
Nathan Zadoks
53c14e139f
Parse ACL tokens for the catalog register/deregister endpoints
...
Fix #1738
2016-05-17 13:16:33 -04:00
Seth Vargo
86a9ebb073
Add note about paid training
2016-05-16 16:46:14 -04:00
Patrick Baber
88ab00f468
remove fixed height
2016-05-16 11:29:40 +02:00
James Phillips
590379b84a
Update CHANGELOG.md
2016-05-15 13:49:14 -07:00
James Phillips
ffcba3df58
Merge pull request #2028 from hashicorp/f-atomic-kv
...
Adds support for atomic transactions spanning multiple KV entries.
2016-05-15 13:46:05 -07:00
Sean Chittenden
d25ab4440d
Remove completely unused structs
2016-05-15 09:14:36 -07:00
Sean Chittenden
b20f86b4c7
Speling police
2016-05-15 09:13:52 -07:00
Sean Chittenden
811f97f938
Merge pull request #2047 from hashicorp/b-raft-peers
...
Remove unused peers variable from setupRaft().
2016-05-15 07:05:17 -07:00
Sean Chittenden
3756fb23a6
Remove unused peers variable from setupRaft().
2016-05-15 06:40:46 -07:00
Ross McFarland
d756a552eb
Handle no peers in tomography graph
2016-05-15 06:30:37 -07:00
Ross McFarland
8a9fe0239d
Don't include self in tomography
2016-05-15 06:13:52 -07:00
James Phillips
c786e1d457
Reduces the number of operations in a transaction to 64.
2016-05-14 21:40:46 -07:00
Ross McFarland
ba3c4fc3e3
Implementation of a per-node tomography graph
...
Adds a new section to the node information, Network Tomography. There's a radar
plot of the distances (in ms) between the current node and its peers as well as
min, avg, and max.
2016-05-14 18:35:09 -07:00