Commit graph

65 commits

Author SHA1 Message Date
Matt Jaffee
8aa7a76d31
change default tracing config to 'off'
also fix a typo
2020-04-30 15:02:15 -05:00
Cody Soyland
0ec9d3b7e6 Add support for TLS client certificate verification and custom CA 2019-09-24 11:09:58 -05:00
Alan Bernstein
7eb68dd99a Minor formatting and typo fixes 2019-09-13 16:40:56 -05:00
Matt Jaffee
efd424ebab
add ability to disable tracing and use nopTracer
Have found some potential performance or stability issues associated
with lots of mutex blocking in getting a parent span's context. Want
the ability to totally disable tracing to help debugging.
2019-07-03 11:02:59 -05:00
Cody Soyland
14920758aa
Add docs pertaining to prometheus 2019-06-05 21:23:12 -05:00
Matt Jaffee
4ed2bfb3ca
increase default max map and file counts
Explained in a comment:

 We default these Max File/Map counts very high. This is basically a
 backwards compatibility thing where we don't want to cause different
 behavior for those who had previously set their system limits high,
 and weren't experiencing any bad behavior. Ideally you want these set
 a bit below your system limits.
2019-03-29 15:39:01 -05:00
Cody Soyland
52062c0a27
linkify SetMutexProfileFraction in docs
Co-Authored-By: jaffee <matthew.jaffee@gmail.com>
2019-03-25 13:45:43 -05:00
Cody Soyland
54a6e0ef84
linkify SetBlockProfileRate in docs
Co-Authored-By: jaffee <matthew.jaffee@gmail.com>
2019-03-25 13:45:28 -05:00
Matt Jaffee
599b2f4a9e
implement config options for block profile rate and mutex fraction
set sane defaults. The performance overhead seems to be negligible, and this will allow us to obtain mutex and blocking profiles from running Pilosas by default.
2019-03-25 11:38:01 -05:00
Matt Jaffee
e7f65cf7be
implement global open file counter using syswrap
close files after using them if global max is passed.

I originally implemented this without the global count—just always closing files
when done with them, and reopening for new writes. This was crazy slow for that
one test that uses mustSetBits in a big loop. I modified the test to use
importRoaring and everything worked better (though much more slowly).

After adding the global counter, I ran the tests with that one test using
mustSetBits again, and the performance was similar to master. After completing
this PR, I ran the tests with the max limit set to 5—they still passed but were
much slower.
2019-03-23 14:52:16 -05:00
Matt Jaffee
a7e77566a4
add config docs for max-map-count 2019-03-19 16:21:24 -05:00
Travis Turner
cd7d4ecc22
Merge branch 'master' into advertise-addr 2019-01-24 17:55:51 -06:00
Matthew Jaffee
9880f0a20c
Update docs/configuration.md
Co-Authored-By: travisturner <travis@pilosa.com>
2019-01-24 17:55:25 -06:00
Travis Turner
fa975411b7
change seeds examples from string to list 2019-01-24 09:20:01 -06:00
WaaX
8062fc6ea7
Replaced seed with seeds
Cluster config referred to seed but the server now expects seeds
2019-01-24 09:17:43 -06:00
Travis Turner
e15f054075
update docs for advertise, gossip.advertise-host, gossip.advertise-port 2019-01-22 14:22:39 -06:00
Cody Soyland
6dc7ec3386 Add docs 2018-11-21 15:14:06 -06:00
Cody Soyland
52ba336461 Address code review feedback 2018-09-20 16:05:28 -05:00
Alan Bernstein
1f65dbcdf2 More terminology updates 2018-07-05 18:12:30 -05:00
Cody Soyland
364bbfcf2c Add docs for handler.allowed-origins 2018-05-24 15:32:34 -05:00
Alan Bernstein
c8ff67262d Add some links 2018-05-14 18:15:37 -05:00
Alan Bernstein
6e1ddf7400 Minor grammar and formatting fixes 2018-05-14 17:54:02 -05:00
Alan Bernstein
f053d9a541 Fix formatting 2018-05-14 12:27:33 -05:00
Alan Bernstein
2c125b2ac3 Fix typos 2018-05-14 12:07:00 -05:00
Matthew Jaffee
0c35094bfc
few more docs tweaks 2018-04-13 10:21:47 -05:00
Matthew Jaffee
3f303d1098
remove global defaults from config.go
these were occaisionally referenced elsewhere in the codebase - in all but one
case, there were workarounds that are actually better I think.

In the one case there wasn't I created a single top level DefaultConfig object
which is instantiated with all the default values and can be referred to if
necessary.

There was a bug in fragment.go with the way MaxWritesPerRequest was treated if
it was 0. Elsewhere, 0 meant no limit, but here, it would have caused a division
by 0.

Changed the default metrics provider from "nop" to "none", although "nop" will
still work. Previously, any value other than "statsd" or "expvar" was treated as
"nop", but I've changed this behavior to return an error if an invalid string is
provided. I think this is better behavior, because in the case that someone
bothered to change the default, they were probably interested in actually
getting stats, and might be annoyed when it silently failed.
2018-04-12 19:52:48 -05:00
Travis Turner
0dc8aa0a5c
add --verbose flag to docs 2018-03-27 08:40:05 -05:00
Travis Turner
f3b140cfa4
update docs to consider coordinator as boolean 2018-03-19 14:52:53 -05:00
Travis Turner
f31966553f update docs to include cluster-resize config and instructions 2018-03-15 16:25:06 -05:00
Cody Soyland
a23fe86839 Convert gossip seed string to slice 2018-02-22 13:14:45 -06:00
Cody Soyland
fc6b0ea0e8 Add support for comma-separated list of gossip seeds for redundancy. 2018-02-22 11:45:50 -06:00
Travis Turner
c4f6a6beda
Merge branch 'master' into cluster-resize 2018-02-21 16:23:53 -06:00
Matthew Jaffee
3e770a5eca
remove cluster type http from docs 2018-02-21 13:47:55 -06:00
Travis Turner
6776fa81ef
Merge branch 'master' into cluster-resize-merging 2018-02-16 11:13:40 -06:00
Travis Turner
5529040514
clarify the options in configuration for metrics.service 2018-02-07 11:29:58 -06:00
Travis Turner
1312ddf9a2
Merge branch 'master' into cluster-resize 2018-02-06 13:07:55 -06:00
Travis Turner
19008d0ff0
fix description of ENV var configuration to include dot replacement 2018-02-06 12:22:51 -06:00
Travis Turner
cf1e41faf1
Merge branch 'master' into cluster-resize 2017-12-08 15:22:12 -06:00
Yuce Tekol
0f094ce316
Merge pull request #901 from yuce/871-gossip-port-doc
Added single cluster config; implements #871
2017-12-06 20:33:30 +03:00
Travis Turner
c9886b049b
Merge branch 'master' into cluster-resize working branch. 2017-12-04 22:18:57 -06:00
Cody Soyland
857b0b3736 End with a period 2017-11-08 14:33:40 -06:00
Cody Soyland
e9a2534af7 Document undocumented flags and add tests (Fixes #915). 2017-11-08 13:12:51 -06:00
Travis Turner
e641aa1d8a
Merge branch 'master' into 'cluster-resize' 2017-11-07 15:00:11 -06:00
Michael Baird
17da0443d3
Merge pull request #895 from raskle/diagnostics
Diagnostics
2017-11-06 11:30:38 -06:00
Travis Turner
2f6c4509c2
remove references to cluster.poll-interval 2017-10-30 09:20:09 -05:00
Yuce Tekol
bbd9aedf0f
fix gossip port text 2017-10-24 23:06:25 +03:00
Michael Baird
c14f72b66a changed the diagnostics configuration option to a boolean 2017-10-24 10:40:21 -05:00
Yuce Tekol
89c641ed24
Added single cluster config; implements #871 2017-10-24 16:36:39 +03:00
Michael Baird
0dc10ad1e9 diagnostics docs 2017-10-18 10:26:27 -05:00
Yuce Tekol
eec739c331
Adds gossip encryption key; copies Config.Gossip{Port,Seed} to Config.Gossip.{Port,Seed}, deprecates --gossip-port and --gossip-seed. Use --gossip.port and --gossip.seed 2017-10-13 13:30:41 +03:00