Commit Graph

4265 Commits

Author SHA1 Message Date
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
James Phillips a11f32a1da Adds a get-tree verb to KV transaction operations. 2016-05-13 16:57:39 -07:00
James Phillips 0f94a7a326 Switches GETs to a filtering model for ACLs. 2016-05-13 15:58:55 -07:00
James Phillips 77ae55c692 Adds some size limiting features to transactions to help prevent abuse. 2016-05-13 13:39:01 -07:00
James Phillips 5fd99b13ef Removes null results for deletes, and preps for more than one result from an operation. 2016-05-13 01:47:55 -07:00
James Phillips 2649a6336e Adds a read-only optimized path for transactions. 2016-05-13 00:34:05 -07:00
James Phillips b5aa407c2c Update README.md
Fixes #2041.
2016-05-12 21:38:43 -07:00
James Phillips 0c34ed078c Adds a comment for the txnKVS() function. 2016-05-12 16:11:26 -07:00
James Phillips 2ed48480e9 Hoists KV processing helper functions up as static functions. 2016-05-12 16:10:06 -07:00
James Phillips 87c4f4eaee Merge pull request #2040 from hashicorp/go-1.6.2
Upgrades to Go 1.6.2.
2016-05-12 16:08:49 -07:00
James Phillips 3a72bf6502 Upgrades to Go 1.6.2. 2016-05-12 16:08:33 -07:00
James Phillips 6daf26ada4 Adds documentation for the transaction endpoint. 2016-05-11 14:18:47 -07:00
James Phillips 88b1c7d054 Makes get fail a transaction if the key doesn't exist. 2016-05-11 14:18:31 -07:00
James Phillips 3d35acaa90 De-nests the KV output structure (removes DirEnt member). 2016-05-11 13:48:03 -07:00
James Phillips 04a13ec3d7 Switches to "KV" instead of "KV" for the KV operations. 2016-05-11 10:58:27 -07:00
James Phillips dc662f7e35 Refactors TxnRequest/TxnResponse into a form that will allow non-KV ops.
This isn't needed/used yet, but it's a good hook to get in there so we
can add more atomic operations in the future. The Go API hides this detail
so that feels like a KV-specific API. The implications on the REST API are
pretty minimal.
2016-05-11 01:39:10 -07:00
James Phillips d980cbcd9d Moves txn code into a new endpoint, not specific to KV. 2016-05-10 21:58:02 -07:00
James Phillips 54b930103c Terminates pretty responses with a newline. 2016-05-10 20:02:36 -07:00
James Phillips 907d8bab34 Fixes some go vet findings in a unit test. 2016-05-10 20:01:52 -07:00
Sean Chittenden 94e2766423
Remove stray type definition
Noticed while working on Nomad Client's server selection code.
2016-05-10 18:56:28 -07:00
James Phillips c1db39fe85 Adds type for API ops and an example transaction. 2016-05-10 13:36:48 -07:00
James Phillips 15a331d36c Adds unit tests for HTTP endpoint. 2016-05-10 12:59:34 -07:00
James Phillips 4eb89481df Adds internal endpoint read ACL support and full unit tests. 2016-05-10 11:23:47 -07:00
Evan Gilman bf2760ac18
Enable Stale mode for watchers
Solves https://github.com/hashicorp/consul/issues/917 by giving consul
watch a `-stale` flag
2016-05-10 00:09:15 -07:00
James Phillips 6a96e052c4 Adds an empty get test case. 2016-05-09 22:18:26 -07:00