aboutsummaryrefslogtreecommitdiff
path: root/plugin/reload/README.md (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-04-25Fix typo (#6053)Gravatar Dan Salmon 1-1/+1
2022-03-07[plugin/reload]: Change hash from md5 to sha512 (#5226)Gravatar Yong Tang 1-2/+2
This PR changes the reload plugin's hash from md5 to sha512, for the purpose of avoid using md5. MD5 is a weak hash algorithm and for security reasons we will avoid using it. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2020-10-28docs: move Also See to See Also (#4245)Gravatar Miek Gieben 1-1/+1
sed -i 's/Also See/See Also/' plugin/**/README.md Some plugins did already use 'See Also', so it's all consistent now. Fixes: #4196 Signed-off-by: Miek Gieben <miek@miek.nl>
2020-03-26Fix plugin name in project README (#3683)Gravatar Chris O'Haver 1-1/+1
* Update README.md Signed-off-by: Chris O'Haver <cohaver@infoblox.com> * fix readme occurances Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2020-03-26Cleanup metrics (#3776)Gravatar Miek Gieben 1-1/+1
Cleanup a variety of metric issues. * Eliminate department of redundancy "count_total" naming. * Use the plural of the unit when appropriate. (ex, "requests") * Remove label names from metric names where appropriate. (ex, "rcode") * Simplify request metrics by consolidating type label in to the base request counter. * Re-generate man pages. Signed-off-by: Ben Kochie <superq@gmail.com> Co-authored-by: Ben Kochie <superq@gmail.com>
2020-03-25export config file hash in a metric (#3768)Gravatar Zou Nengren 1-0/+3
Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
2019-11-06plugin/reload: Fix "durations" documentation link (#3431)Gravatar Miciah Dashiel Butler Masters 1-1/+1
* plugin/reload/README.md: Fix the syntax of the link to the Go documentation for duration values. Signed-off-by: Miciah Dashiel Butler Masters <mmasters@redhat.com>
2019-10-08Directive -> plugin (#3363)Gravatar Miek Gieben 1-1/+1
Caught my eye, we name things directive still, esp when talking about the prometheus *plugin*. Rename everything that needs to be plugin to 'plugin'. Also make sure Metrics is a H2 section (not H1). Signed-off-by: Miek Gieben <miek@miek.nl>
2019-09-27plugin/reload: reflow documentation (#3313)Gravatar Miek Gieben 1-5/+6
* plugin/reload: reflow documentation For some reason these we're all bullets points, which made for awkward reading. Signed-off-by: Miek Gieben <miek@miek.nl> * typo Signed-off-by: Miek Gieben <miek@miek.nl> * Update plugin/reload/README.md Co-Authored-By: Michael Grosser <development@stp-ip.net>
2019-08-21typo fixes (#3169)Gravatar Chris O'Haver 1-1/+1
* spelling fixes * its/it's
2019-07-30plugin/reload: Graceful reload of imported files (#3068)Gravatar Erik Wilson 1-2/+3
Automatically submitted.
2019-06-26plugin/reload: Add metrics (#2922)Gravatar Anshul Sharma 1-0/+6
* Issue 2920 - Add failed reload counter metrics * typo fix * Requested Changes
2019-03-02plugin/reload: add bug text about import (#2638)Gravatar Miek Gieben 1-0/+7
Signed-off-by: Miek Gieben <miek@miek.nl>
2018-08-14Typo fixes (#2031)Gravatar Karsten Weiss 1-1/+1
2018-07-06Docs (#1943)Gravatar Miek Gieben 1-1/+1
* Doc updates Make the name section fit on one line. Signed-off-by: Miek Gieben <miek@miek.nl> * Regen docs Signed-off-by: Miek Gieben <miek@miek.nl>
2018-05-11plugin/reload: mention auto in reload (#1793)Gravatar Chris O'Haver 1-0/+3
mention auto in reload docs
2018-04-21reload: use OnRestart (#1709)Gravatar Miek Gieben 1-1/+27
* reload: use OnRestart Close the listener on OnRestart for health and metrics so the default setup function can setup the listener when the plugin is "starting up". Lightly test with some SIGUSR1-ing. Also checked the reload plugin with this, seems fine: .com.:1043 .:1043 2018/04/20 15:01:25 [INFO] CoreDNS-1.1.1 2018/04/20 15:01:25 [INFO] linux/amd64, go1.10, CoreDNS-1.1.1 linux/amd64, go1.10, 2018/04/20 15:01:25 [INFO] Running configuration MD5 = aa8b3f03946fb60546ca1f725d482714 2018/04/20 15:02:01 [INFO] Reloading 2018/04/20 15:02:01 [INFO] Running configuration MD5 = b34a96d99e01db4015a892212560155f 2018/04/20 15:02:01 [INFO] Reloading complete ^C2018/04/20 15:02:06 [INFO] SIGINT: Shutting down With this corefile: .com { proxy . 127.0.0.1:53 prometheus :9054 whoami reload } . { proxy . 127.0.0.1:53 prometheus :9054 whoami reload } The prometheus port was 9053, changed that to 54 so reload would pick it up. From a cursory look it seems this also fixes: Fixes #1604 #1618 #1686 #1492 * At least make it test * Use onfinalshutdown * reload: add reload test This test #1604 adn right now fails. * Address review comments * Add bug section explaining things a bit * compile tests * Fix tests * fixes * slightly less crazy * try to make prometheus setup less confusing * Use ephermal port for test * Don't use the listener * These are shared between goroutines, just use the boolean in the main structure. * Fix text in the reload README, * Set addr to TODO once stopping it * Morph fturb's comment into test, to test reload and scrape health and metric endpoint
2018-03-02plugin/reload: enable (#1587)Gravatar Miek Gieben 1-3/+3
Couldn't revert the original commit, just manually perform the needed tweaks.
2018-02-28return an error for multiple use of some plugins (#1559)Gravatar Miek Gieben 1-0/+2
* plugins: Return error for multiple use of some Return plugin.ErrOnce when a plugin that doesn't support it, is called mutliple times. This now adds it for: cache, dnssec, errors, forward, hosts, nsid. And changes it slightly in kubernetes, pprof, reload, root. * more tests
2018-02-09plugin/reload: disable for now (#1511)Gravatar Miek Gieben 1-2/+2
Reloading should work (kill -TERM reload the coredns process), but a lot of plugins can't handle it proper. Disable to reload plugin until we fix (most) of the plugins
2018-02-02Plugin/RELOAD - Tune usage of var global, add limit to options (#1457)Gravatar Francois Tur 1-0/+1
* tune usage of var global, add limit to options * update readme for minimal values * useless change to quick-off codecov * fix msgs for min values and tune the flag for end of reload usage, with a 'maybe' option * adding UT for min values, adding MD5 of corefile on the log
2018-01-27Reload hook (#1445)Gravatar John Belamaric 1-0/+58
* Add reload directive * gofmt * Fix default jitter and error message * remove unneeded call to NextArg, add a couple negative setup tests * Review feedback