| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="utf-8"> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| <title>Apache Aurora</title> |
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"> |
| <link href="/assets/css/main.css" rel="stylesheet"> |
| <!-- Analytics --> |
| <script type="text/javascript"> |
| var _gaq = _gaq || []; |
| _gaq.push(['_setAccount', 'UA-45879646-1']); |
| _gaq.push(['_setDomainName', 'apache.org']); |
| _gaq.push(['_trackPageview']); |
| |
| (function() { |
| var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; |
| ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; |
| var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); |
| })(); |
| </script> |
| </head> |
| <body> |
| <div class="container-fluid section-header"> |
| <div class="container"> |
| <div class="nav nav-bar"> |
| <a href="/"><img src="/assets/img/aurora_logo_dkbkg.svg" width="300" alt="Transparent Apache Aurora logo with dark background"/></a> |
| <ul class="nav navbar-nav navbar-right"> |
| <li><a href="/documentation/latest/">Documentation</a></li> |
| <li><a href="/community/">Community</a></li> |
| <li><a href="/downloads/">Downloads</a></li> |
| <li><a href="/blog/">Blog</a></li> |
| </ul> |
| </div> |
| </div> |
| </div> |
| |
| <div class="container-fluid"> |
| <div class="container content"> |
| <div class="col-md-12 documentation"> |
| <h5 class="page-header text-uppercase">Documentation |
| <select onChange="window.location.href='/documentation/' + this.value + '/reference/observer-configuration/'" |
| value="0.21.0"> |
| <option value="0.22.0" |
| > |
| 0.22.0 |
| (latest) |
| </option> |
| <option value="0.21.0" |
| selected="selected"> |
| 0.21.0 |
| </option> |
| <option value="0.20.0" |
| > |
| 0.20.0 |
| </option> |
| <option value="0.19.1" |
| > |
| 0.19.1 |
| </option> |
| <option value="0.19.0" |
| > |
| 0.19.0 |
| </option> |
| <option value="0.18.1" |
| > |
| 0.18.1 |
| </option> |
| <option value="0.18.0" |
| > |
| 0.18.0 |
| </option> |
| <option value="0.17.0" |
| > |
| 0.17.0 |
| </option> |
| <option value="0.16.0" |
| > |
| 0.16.0 |
| </option> |
| <option value="0.15.0" |
| > |
| 0.15.0 |
| </option> |
| <option value="0.14.0" |
| > |
| 0.14.0 |
| </option> |
| <option value="0.13.0" |
| > |
| 0.13.0 |
| </option> |
| <option value="0.12.0" |
| > |
| 0.12.0 |
| </option> |
| <option value="0.11.0" |
| > |
| 0.11.0 |
| </option> |
| <option value="0.10.0" |
| > |
| 0.10.0 |
| </option> |
| <option value="0.9.0" |
| > |
| 0.9.0 |
| </option> |
| <option value="0.8.0" |
| > |
| 0.8.0 |
| </option> |
| <option value="0.7.0-incubating" |
| > |
| 0.7.0-incubating |
| </option> |
| <option value="0.6.0-incubating" |
| > |
| 0.6.0-incubating |
| </option> |
| <option value="0.5.0-incubating" |
| > |
| 0.5.0-incubating |
| </option> |
| </select> |
| </h5> |
| <h1 id="observer-configuration-reference">Observer Configuration Reference</h1> |
| |
| <p>The Aurora/Thermos observer can take a variety of configuration options through command-line arguments. |
| A list of the available options can be seen by running <code>thermos_observer --long-help</code>.</p> |
| |
| <p>Please refer to the <a href="../../operations/configuration/">Operator Configuration Guide</a> for details on how |
| to properly set the most important options.</p> |
| <pre class="highlight plaintext"><code>$ thermos_observer.pex --long-help |
| Options: |
| -h, --help, --short-help |
| show this help message and exit. |
| --long-help show options from all registered modules, not just the |
| __main__ module. |
| --mesos-root=MESOS_ROOT |
| The mesos root directory to search for Thermos |
| executor sandboxes [default: /var/lib/mesos] |
| --ip=IP The IP address the observer will bind to. [default: |
| 0.0.0.0] |
| --port=PORT The port on which the observer should listen. |
| [default: 1338] |
| --polling_interval_secs=POLLING_INTERVAL_SECS |
| The number of seconds between observer refresh |
| attempts. [default: 5] |
| --task_process_collection_interval_secs=TASK_PROCESS_COLLECTION_INTERVAL_SECS |
| The number of seconds between per task process |
| resource collections. [default: 20] |
| --task_disk_collection_interval_secs=TASK_DISK_COLLECTION_INTERVAL_SECS |
| The number of seconds between per task disk resource |
| collections. [default: 60] |
| --enable_mesos_disk_collector |
| Delegate per task disk usage collection to agent. |
| Should be enabled in conjunction to disk isolation in |
| Mesos-agent. This is not compatible with an |
| authenticated agent API. [default: False] |
| --agent_api_url=AGENT_API_URL |
| Mesos Agent API url. [default: |
| http://localhost:5051/containers] |
| --executor_id_json_path=EXECUTOR_ID_JSON_PATH |
| `jmespath` to executor_id key in agent response json |
| object. [default: executor_id] |
| --disk_usage_json_path=DISK_USAGE_JSON_PATH |
| `jmespath` to disk usage bytes value in agent response |
| json object. [default: statistics.disk_used_bytes] |
| |
| From module twitter.common.app: |
| --app_daemonize Daemonize this application. [default: False] |
| --app_profile_output=FILENAME |
| Dump the profiling output to a binary profiling |
| format. [default: None] |
| --app_daemon_stderr=TWITTER_COMMON_APP_DAEMON_STDERR |
| Direct this app's stderr to this file if daemonized. |
| [default: /dev/null] |
| --app_debug Print extra debugging information during application |
| initialization. [default: False] |
| --app_rc_filename Print the filename for the rc file and quit. [default: |
| False] |
| --app_daemon_stdout=TWITTER_COMMON_APP_DAEMON_STDOUT |
| Direct this app's stdout to this file if daemonized. |
| [default: /dev/null] |
| --app_profiling Run profiler on the code while it runs. Note this can |
| cause slowdowns. [default: False] |
| --app_ignore_rc_file |
| Ignore default arguments from the rc file. [default: |
| False] |
| --app_pidfile=TWITTER_COMMON_APP_PIDFILE |
| The pidfile to use if --app_daemonize is specified. |
| [default: None] |
| |
| From module twitter.common.log.options: |
| --log_to_stdout=[scheme:]LEVEL |
| OBSOLETE - legacy flag, use --log_to_stderr instead. |
| [default: ERROR] |
| --log_to_stderr=[scheme:]LEVEL |
| The level at which logging to stderr [default: ERROR]. |
| Takes either LEVEL or scheme:LEVEL, where LEVEL is one |
| of ['INFO', 'NONE', 'WARN', 'ERROR', 'DEBUG', 'FATAL'] |
| and scheme is one of ['google', 'plain']. |
| --log_to_disk=[scheme:]LEVEL |
| The level at which logging to disk [default: INFO]. |
| Takes either LEVEL or scheme:LEVEL, where LEVEL is one |
| of ['INFO', 'NONE', 'WARN', 'ERROR', 'DEBUG', 'FATAL'] |
| and scheme is one of ['google', 'plain']. |
| --log_dir=DIR The directory into which log files will be generated |
| [default: /var/tmp]. |
| --log_simple Write a single log file rather than one log file per |
| log level [default: False]. |
| --log_to_scribe=[scheme:]LEVEL |
| The level at which logging to scribe [default: NONE]. |
| Takes either LEVEL or scheme:LEVEL, where LEVEL is one |
| of ['INFO', 'NONE', 'WARN', 'ERROR', 'DEBUG', 'FATAL'] |
| and scheme is one of ['google', 'plain']. |
| --scribe_category=CATEGORY |
| The category used when logging to the scribe daemon. |
| [default: python_default]. |
| --scribe_buffer Buffer messages when scribe is unavailable rather than |
| dropping them. [default: False]. |
| --scribe_host=HOST The host running the scribe daemon. [default: |
| localhost]. |
| --scribe_port=PORT The port used to connect to the scribe daemon. |
| [default: 1463]. |
| </code></pre> |
| |
| </div> |
| |
| </div> |
| </div> |
| <div class="container-fluid section-footer buffer"> |
| <div class="container"> |
| <div class="row"> |
| <div class="col-md-2 col-md-offset-1"><h3>Quick Links</h3> |
| <ul> |
| <li><a href="/downloads/">Downloads</a></li> |
| <li><a href="/community/">Mailing Lists</a></li> |
| <li><a href="http://issues.apache.org/jira/browse/AURORA">Issue Tracking</a></li> |
| <li><a href="/documentation/latest/contributing/">How To Contribute</a></li> |
| </ul> |
| </div> |
| <div class="col-md-2"><h3>The ASF</h3> |
| <ul> |
| <li><a href="http://www.apache.org/licenses/">License</a></li> |
| <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li> |
| <li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li> |
| <li><a href="http://www.apache.org/security/">Security</a></li> |
| </ul> |
| </div> |
| <div class="col-md-6"> |
| <p class="disclaimer">© 2014-2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. The <a href="https://www.flickr.com/photos/trondk/12706051375/">Aurora Borealis IX photo</a> displayed on the homepage is available under a <a href="https://creativecommons.org/licenses/by-nc-nd/2.0/">Creative Commons BY-NC-ND 2.0 license</a>. Apache, Apache Aurora, and the Apache feather logo are trademarks of The Apache Software Foundation.</p> |
| </div> |
| </div> |
| </div> |
| |
| </body> |
| </html> |