-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: admin #14
Merged
Merged
docs: admin #14
Changes from 1 commit
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
.. _arch_overview_threading: | ||
|
||
Threading model | ||
=============== | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,62 @@ | ||
Command line options | ||
==================== | ||
|
||
Envoy is driven both my a JSON configuration file as well as a set of command line options. The | ||
following are the command line options that Envoy supports. | ||
|
||
.. option:: -c <path string>, --config-path <path string> | ||
|
||
FIXFIX | ||
*(required)* The path to the :ref:`JSON configuration file <config>`. | ||
|
||
.. option:: --base-id <integer> | ||
|
||
FIXFIX | ||
*(optional)* The base ID to use when allocating shared memory regions. Envoy uses shared memory | ||
regions during :ref:`hot restart <arch_overview_hot_restart>`. Most users will never have to | ||
set this option. However, if Envoy needs to be run multiple times on the same machine, each | ||
running Envoy will need a unique base ID so that the shared memory regions do not conflict. | ||
|
||
.. option:: --concurrency <integer> | ||
|
||
FIXFIX | ||
*(optional)* The number of :ref:`worker threads <arch_overview_threading>` to run. If not | ||
specified defaults to the number of hardware threads on the machine. | ||
|
||
.. option:: -l <integer>, --log-level <integer> | ||
|
||
FIXFIX | ||
*(optional)* The logging level. Defaults to *NOTICE*. Non developers should never set this option. | ||
|
||
.. option:: --restart-epoch <integer> | ||
|
||
FIXFIX | ||
*(optional)* The :ref:`hot restart <arch_overview_hot_restart>` epoch. (The number of times | ||
Envoy has been hot restarted instead of a fresh start). Defaults to 0 for the first start. This | ||
option tells Envoy whether to attempt to create the shared memory region needed for hot restart, | ||
or whether to open an existing one. It should be incremented every time a hot restart takes place. | ||
The :ref:`hot restart wrapper <operations_hot_restarter>` sets the *RESTART_EPOCH* environment | ||
variable which should be passed to this option in most cases. | ||
|
||
.. option:: --hot-restart-version | ||
|
||
FIXFIX | ||
*(optional)* Outputs an opaque hot restart compatibility version for the binary. This can be | ||
matched against the output of the :http:get:`/hot_restart_version` admin endpoint to determine | ||
whether the new binary and the running binary are hot restart compatible. | ||
|
||
.. option:: --service-cluster <string> | ||
|
||
FIXFIX | ||
*(optional)* Defines the local service cluster name where Envoy is running. Though optional, | ||
it should be set if any of the following features are used: :ref:`statsd | ||
<arch_overview_statistics>`, :ref:`health check cluster verification | ||
<config_cluster_manager_cluster_hc_service_name>`, :ref:`runtime override directory | ||
<config_runtime_override_subdirectory>`, :ref:`user agent addition | ||
<config_http_conn_man_add_user_agent>`, :ref:`HTTP global rate limiting | ||
<config_http_filters_rate_limit>`, and :ref:`HTTP tracing <arch_overview_tracing>`. | ||
|
||
.. option:: --service-node <string> | ||
|
||
FIXFIX | ||
*(optional)* Defines the local service node name where Envoy is running. Though optional, | ||
it should be set if any of the following features are used: :ref:`statsd | ||
<arch_overview_statistics>`, and :ref:`HTTP tracing <arch_overview_tracing>`. | ||
|
||
.. option:: --service-zone <string> | ||
|
||
FIXFIX | ||
*(optional)* Defines the local service zone where Envoy is running. Though optional, it should | ||
be set if discovery service routing is used and the discovery service exposes :ref:`zone data | ||
<config_cluster_manager_sds_api_host_az>`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
Statistics overview | ||
=================== | ||
|
||
Envoy outputs numerous statistics which depend on how the server is configured. They can be seen | ||
locally via the :http:get:`/stats` command and are typically sent to a :ref:`statsd cluster | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. fixed |
||
<arch_overview_statistics>`. The statistics that are output are documented in the relevant | ||
sections of the :ref:`configuration guide <config>`. Some of the more important statistics that will | ||
almost always be used can be found in the following sections: | ||
|
||
* :ref:`HTTP connection manager <config_http_conn_man_stats>` | ||
* :ref:`Upstream cluster <config_cluster_manager_cluster_stats>` |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix later?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I will go through and do a full pass on stats. Just trying to get the broad outlines done.