http://git-wip-us.apache.org/repos/asf/mesos-site/blob/32a8ab49/content/api/latest/c++/src_2log_2metrics_8hpp_source.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/src_2log_2metrics_8hpp_source.html b/content/api/latest/c++/src_2log_2metrics_8hpp_source.html index 8ad2083..e8885f3 100644 --- a/content/api/latest/c++/src_2log_2metrics_8hpp_source.html +++ b/content/api/latest/c++/src_2log_2metrics_8hpp_source.html @@ -52,18 +52,18 @@ <div class="title">metrics.hpp</div> </div> </div><!--header--> <div class="contents"> -<a href="src_2log_2metrics_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Licensed to the Apache Software Foundation (ASF) under one</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// or more contributor license agreements. See the NOTICE file</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// distributed with this work for additional information</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// regarding copyright ownership. The ASF licenses this file</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// to you under the Apache License, Version 2.0 (the</span></div><div class="line"><a name="l00006"></a ><span class="lineno"> 6</span> <span class="comment">// >"License"); you may not use this file except in >compliance</span></div><div class="line"><a name="l00007"></a><span >class="lineno"> 7</span> <span class="comment">// with the License. >You may obtain a copy of the License at</span></div><div class="line"><a >name="l00008"></a><span class="lineno"> 8</span> <span >class="comment">//</span></div><div class="line"><a name="l00009"></a><span >class="lineno"> 9</span> <span class="comment">// >http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a >name="l00010"></a><span class="lineno"> 10</span> <span >class="comment">//</span></div><div class="line"><a name="l00011"></a><span >class="lineno"> 11</span> <span class="comment">// Unless required by >applicable law or agreed to in writing, software</span></div><div >class="line"><a name="l00012"></a><span class="lineno"> >12</span> <span class="comment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">// limitations under the License.</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef __LOG_METRICS_HPP__</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#define __LOG_METRICS_HPP__</span></div><div class="line" ><a name="l00019"></a><span class="lineno"> 19</span> </div><div >class="line"><a name="l00020"></a><span class="lineno"> >20</span> <span class="preprocessor">#include ><string></span></div><div class="line"><a name="l00021"></a><span >class="lineno"> 21</span> </div><div class="line"><a >name="l00022"></a><span class="lineno"> 22</span> <span >class="preprocessor">#include <<a class="code" >href="gauge_8hpp.html">process/metrics/gauge.hpp</a>></span></div><div >class="line"><a name="l00023"></a><span class="lineno"> >23</span> </div><div class="line"><a name="l00024"></a><span >class="lineno"> 24</span> <span class="keyword">namespace </span><a >class="code" href="namespacemesos.html">mesos</a> {</div><div class="line"><a >name="l00025"></a><span class="lineno"> 25</span> <span >class="keyword">namespace </span><a class="code" >href="namespaceinternal.html">internal</a> {</div><div class="line"><a >name="l00026"></a><span class="lineno "> 26</span> <span class="keyword">namespace </span>log {</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment">// Forward declaration.</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">class </span>LogProcess;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1log_1_1Metrics.html"> 31</a></span> <span class="keyword">struct </span><a class="code" href="structmesos_1_1internal_1_1log_1_1Metrics.html">Metrics</a></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> {</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <a class="code" href="structmesos_1_1internal_1_1log_ 1_1Metrics.html#af826d9a6556a89a5e9436c78fd07b021">Metrics</a>(</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keyword">const</span> <a class="code" href="classmesos_1_1internal_1_1log_1_1LogProcess.html">LogProcess</a>& <a class="code" href="namespaceprocess.html">process</a>,</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keyword">const</span> <a class="code" href="classOption.html">Option<std::string></a>& <a class="code" href="namespaceos_1_1libraries_1_1Library.html#ab0e1a0e311049b6d685de1068e8f4690">prefix</a>);</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <a class="code" href="structmesos_1_1internal_1_1log_1_1Metrics.html#af4842af414f4a9f70682d89e97995136">~Metrics</a>();</div><div class="line"><a name="l00038"></a><span class="lin eno"> 38</span> </div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1log_1_1Metrics.html#a5c71d6ae6b66a67f23bc60bfe372aabe"> 39</a></span>  <a class="code" href="classprocess_1_1metrics_1_1Gauge.html">process::metrics::Gauge</a> <a class="code" href="structmesos_1_1internal_1_1log_1_1Metrics.html#a5c71d6ae6b66a67f23bc60bfe372aabe">recovered</a>;</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1log_1_1Metrics.html#ae4c004dc6465f6dcdb80f4969a18c8b1"> 41</a></span>  <a class="code" href="classprocess_1_1metrics_1_1Gauge.html">process::metrics::Gauge</a> <a class="code" href="structmesos_1_1internal_1_1log_1_1Metrics.html#ae4c004dc6465f6dcdb80f4969a18c8b1">ensemble_size</a>;</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  };</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> } <span class="comment">// namespace log {</span></div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> } <span class="comment">// namespace internal {</span></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> } <span class="comment">// namespace mesos {</span></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor">#endif // __LOG_METRICS_HPP__</span></div><div class="ttc" id="classOption_html"><div class="ttname"><a href="classOption.html">Option< std::string ></a></div></div> -<div class="ttc" id="gauge_8hpp_html"><div class="ttname"><a href="gauge_8hpp.html">gauge.hpp</a></div></div> -<div class="ttc" id="structmesos_1_1internal_1_1log_1_1Metrics_html_a5c71d6ae6b66a67f23bc60bfe372aabe"><div class="ttname"><a href="structmesos_1_1internal_1_1log_1_1Metrics.html#a5c71d6ae6b66a67f23bc60bfe372aabe">mesos::internal::log::Metrics::recovered</a></div><div class="ttdeci">process::metrics::Gauge recovered</div><div class="ttdef"><b>Definition:</b> metrics.hpp:39</div></div> +<a href="src_2log_2metrics_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Licensed to the Apache Software Foundation (ASF) under one</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// or more contributor license agreements. See the NOTICE file</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// distributed with this work for additional information</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// regarding copyright ownership. The ASF licenses this file</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// to you under the Apache License, Version 2.0 (the</span></div><div class="line"><a name="l00006"></a ><span class="lineno"> 6</span> <span class="comment">// >"License"); you may not use this file except in >compliance</span></div><div class="line"><a name="l00007"></a><span >class="lineno"> 7</span> <span class="comment">// with the License. >You may obtain a copy of the License at</span></div><div class="line"><a >name="l00008"></a><span class="lineno"> 8</span> <span >class="comment">//</span></div><div class="line"><a name="l00009"></a><span >class="lineno"> 9</span> <span class="comment">// >http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a >name="l00010"></a><span class="lineno"> 10</span> <span >class="comment">//</span></div><div class="line"><a name="l00011"></a><span >class="lineno"> 11</span> <span class="comment">// Unless required by >applicable law or agreed to in writing, software</span></div><div >class="line"><a name="l00012"></a><span class="lineno"> >12</span> <span class="comment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">// limitations under the License.</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef __LOG_METRICS_HPP__</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#define __LOG_METRICS_HPP__</span></div><div class="line" ><a name="l00019"></a><span class="lineno"> 19</span> </div><div >class="line"><a name="l00020"></a><span class="lineno"> >20</span> <span class="preprocessor">#include ><string></span></div><div class="line"><a name="l00021"></a><span >class="lineno"> 21</span> </div><div class="line"><a >name="l00022"></a><span class="lineno"> 22</span> <span >class="preprocessor">#include <<a class="code" >href="pull__gauge_8hpp.html">process/metrics/pull_gauge.hpp</a>></span></div><div > class="line"><a name="l00023"></a><span class="lineno"> >23</span> </div><div class="line"><a name="l00024"></a><span >class="lineno"> 24</span> <span class="keyword">namespace </span><a >class="code" href="namespacemesos.html">mesos</a> {</div><div class="line"><a >name="l00025"></a><span class="lineno"> 25</span> <span >class="keyword">namespace </span><a class="code" >href="namespaceinternal.html">internal</a> {</div><div class="line"><a >name="l00026"></a><span cl ass="lineno"> 26</span> <span class="keyword">namespace </span>log {</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment">// Forward declaration.</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">class </span>LogProcess;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1log_1_1Metrics.html"> 31</a></span> <span class="keyword">struct </span><a class="code" href="structmesos_1_1internal_1_1log_1_1Metrics.html">Metrics</a></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> {</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <a class="code" href="structmesos_1_1inter nal_1_1log_1_1Metrics.html#af826d9a6556a89a5e9436c78fd07b021">Metrics</a>(</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keyword">const</span> <a class="code" href="classmesos_1_1internal_1_1log_1_1LogProcess.html">LogProcess</a>& <a class="code" href="namespaceprocess.html">process</a>,</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keyword">const</span> <a class="code" href="classOption.html">Option<std::string></a>& <a class="code" href="namespaceos_1_1libraries_1_1Library.html#ab0e1a0e311049b6d685de1068e8f4690">prefix</a>);</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <a class="code" href="structmesos_1_1internal_1_1log_1_1Metrics.html#af4842af414f4a9f70682d89e97995136">~Metrics</a>();</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1log_1_1Metrics.html#ab90141d6a1f2a4c96c9626ff1106e299"> 39</a></span>  <a class="code" href="classprocess_1_1metrics_1_1PullGauge.html">process::metrics::PullGauge</a> <a class="code" href="structmesos_1_1internal_1_1log_1_1Metrics.html#ab90141d6a1f2a4c96c9626ff1106e299">recovered</a>;</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1log_1_1Metrics.html#a27ae0725d38ead87fa500d8ec8e42504"> 41</a></span>  <a class="code" href="classprocess_1_1metrics_1_1PullGauge.html">process::metrics::PullGauge</a> <a class="code" href="structmesos_1_1internal_1_1log_1_1Metrics.html#a27ae0725d38ead87fa500d8ec8e42504">ensemble_size</a>;</div><div class="line"><a name="l00042"></a><span class= "lineno"> 42</span> };</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> } <span class="comment">// namespace log {</span></div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> } <span class="comment">// namespace internal {</span></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> } <span class="comment">// namespace mesos {</span></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor">#endif // __LOG_METRICS_HPP__</span></div><div class="ttc" id="classOption_html"><div class="ttname"><a href="classOption.html">Option< std::string ></a></div></div> <div class="ttc" id="namespaceos_1_1libraries_1_1Library_html_ab0e1a0e311049b6d685de1068e8f4690"><div class="ttname"><a href="namespaceos_1_1libraries_1_1Library.html#ab0e1a0e311049b6d685de1068e8f4690">os::libraries::Library::prefix</a></div><div class="ttdeci">constexpr const char * prefix</div><div class="ttdef"><b>Definition:</b> os.hpp:94</div></div> <div class="ttc" id="structmesos_1_1internal_1_1log_1_1Metrics_html_af826d9a6556a89a5e9436c78fd07b021"><div class="ttname"><a href="structmesos_1_1internal_1_1log_1_1Metrics.html#af826d9a6556a89a5e9436c78fd07b021">mesos::internal::log::Metrics::Metrics</a></div><div class="ttdeci">Metrics(const LogProcess &process, const Option< std::string > &prefix)</div></div> -<div class="ttc" id="classprocess_1_1metrics_1_1Gauge_html"><div class="ttname"><a href="classprocess_1_1metrics_1_1Gauge.html">process::metrics::Gauge</a></div><div class="ttdef"><b>Definition:</b> gauge.hpp:27</div></div> +<div class="ttc" id="classprocess_1_1metrics_1_1PullGauge_html"><div class="ttname"><a href="classprocess_1_1metrics_1_1PullGauge.html">process::metrics::PullGauge</a></div><div class="ttdef"><b>Definition:</b> pull_gauge.hpp:46</div></div> <div class="ttc" id="structmesos_1_1internal_1_1log_1_1Metrics_html_af4842af414f4a9f70682d89e97995136"><div class="ttname"><a href="structmesos_1_1internal_1_1log_1_1Metrics.html#af4842af414f4a9f70682d89e97995136">mesos::internal::log::Metrics::~Metrics</a></div><div class="ttdeci">~Metrics()</div></div> <div class="ttc" id="namespacemesos_html"><div class="ttname"><a href="namespacemesos.html">mesos</a></div><div class="ttdef"><b>Definition:</b> spec.hpp:30</div></div> +<div class="ttc" id="pull__gauge_8hpp_html"><div class="ttname"><a href="pull__gauge_8hpp.html">pull_gauge.hpp</a></div></div> <div class="ttc" id="classmesos_1_1internal_1_1log_1_1LogProcess_html"><div class="ttname"><a href="classmesos_1_1internal_1_1log_1_1LogProcess.html">mesos::internal::log::LogProcess</a></div><div class="ttdef"><b>Definition:</b> log.hpp:43</div></div> <div class="ttc" id="namespaceinternal_html"><div class="ttname"><a href="namespaceinternal.html">internal</a></div><div class="ttdef"><b>Definition:</b> attributes.hpp:24</div></div> <div class="ttc" id="namespaceprocess_html"><div class="ttname"><a href="namespaceprocess.html">process</a></div><div class="ttdef"><b>Definition:</b> executor.hpp:47</div></div> -<div class="ttc" id="structmesos_1_1internal_1_1log_1_1Metrics_html_ae4c004dc6465f6dcdb80f4969a18c8b1"><div class="ttname"><a href="structmesos_1_1internal_1_1log_1_1Metrics.html#ae4c004dc6465f6dcdb80f4969a18c8b1">mesos::internal::log::Metrics::ensemble_size</a></div><div class="ttdeci">process::metrics::Gauge ensemble_size</div><div class="ttdef"><b>Definition:</b> metrics.hpp:41</div></div> +<div class="ttc" id="structmesos_1_1internal_1_1log_1_1Metrics_html_ab90141d6a1f2a4c96c9626ff1106e299"><div class="ttname"><a href="structmesos_1_1internal_1_1log_1_1Metrics.html#ab90141d6a1f2a4c96c9626ff1106e299">mesos::internal::log::Metrics::recovered</a></div><div class="ttdeci">process::metrics::PullGauge recovered</div><div class="ttdef"><b>Definition:</b> metrics.hpp:39</div></div> +<div class="ttc" id="structmesos_1_1internal_1_1log_1_1Metrics_html_a27ae0725d38ead87fa500d8ec8e42504"><div class="ttname"><a href="structmesos_1_1internal_1_1log_1_1Metrics.html#a27ae0725d38ead87fa500d8ec8e42504">mesos::internal::log::Metrics::ensemble_size</a></div><div class="ttdeci">process::metrics::PullGauge ensemble_size</div><div class="ttdef"><b>Definition:</b> metrics.hpp:41</div></div> <div class="ttc" id="structmesos_1_1internal_1_1log_1_1Metrics_html"><div class="ttname"><a href="structmesos_1_1internal_1_1log_1_1Metrics.html">mesos::internal::log::Metrics</a></div><div class="ttdef"><b>Definition:</b> metrics.hpp:31</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part -->
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/32a8ab49/content/api/latest/c++/src_2master_2allocator_2mesos_2metrics_8hpp.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/src_2master_2allocator_2mesos_2metrics_8hpp.html b/content/api/latest/c++/src_2master_2allocator_2mesos_2metrics_8hpp.html index 03e25c0..b75c75a 100644 --- a/content/api/latest/c++/src_2master_2allocator_2mesos_2metrics_8hpp.html +++ b/content/api/latest/c++/src_2master_2allocator_2mesos_2metrics_8hpp.html @@ -59,7 +59,7 @@ <code>#include <vector></code><br /> <code>#include <<a class="el" href="include_2mesos_2quota_2quota_8hpp_source.html">mesos/quota/quota.hpp</a>></code><br /> <code>#include <<a class="el" href="counter_8hpp_source.html">process/metrics/counter.hpp</a>></code><br /> -<code>#include <<a class="el" href="gauge_8hpp_source.html">process/metrics/gauge.hpp</a>></code><br /> +<code>#include <<a class="el" href="pull__gauge_8hpp_source.html">process/metrics/pull_gauge.hpp</a>></code><br /> <code>#include <<a class="el" href="metrics_2timer_8hpp_source.html">process/metrics/timer.hpp</a>></code><br /> <code>#include <<a class="el" href="3rdparty_2libprocess_2include_2process_2pid_8hpp_source.html">process/pid.hpp</a>></code><br /> <code>#include <<a class="el" href="hashmap_8hpp_source.html">stout/hashmap.hpp</a>></code><br /> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/32a8ab49/content/api/latest/c++/src_2master_2allocator_2mesos_2metrics_8hpp_source.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/src_2master_2allocator_2mesos_2metrics_8hpp_source.html b/content/api/latest/c++/src_2master_2allocator_2mesos_2metrics_8hpp_source.html index b8edfd2..b3d3530 100644 --- a/content/api/latest/c++/src_2master_2allocator_2mesos_2metrics_8hpp_source.html +++ b/content/api/latest/c++/src_2master_2allocator_2mesos_2metrics_8hpp_source.html @@ -52,40 +52,40 @@ <div class="title">metrics.hpp</div> </div> </div><!--header--> <div class="contents"> -<a href="src_2master_2allocator_2mesos_2metrics_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Licensed to the Apache Software Foundation (ASF) under one</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// or more contributor license agreements. See the NOTICE file</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// distributed with this work for additional information</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// regarding copyright ownership. The ASF licenses this file</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// to you under the Apache License, Version 2.0 (the</span></div><div class="line" ><a name="l00006"></a><span class="lineno"> 6</span> <span >class="comment">// "License"); you may not use this file except in >compliance</span></div><div class="line"><a name="l00007"></a><span >class="lineno"> 7</span> <span class="comment">// with the License. >You may obtain a copy of the License at</span></div><div class="line"><a >name="l00008"></a><span class="lineno"> 8</span> <span >class="comment">//</span></div><div class="line"><a name="l00009"></a><span >class="lineno"> 9</span> <span class="comment">// >http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a >name="l00010"></a><span class="lineno"> 10</span> <span >class="comment">//</span></div><div class="line"><a name="l00011"></a><span >class="lineno"> 11</span> <span class="comment">// Unless required by >applicable law or agreed to in writing, software</span></div><div >class="line"><a name="l00012"></a><span class="lineno"> 12</span> <sp an class="comment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">// limitations under the License.</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef __MASTER_ALLOCATOR_MESOS_METRICS_HPP__</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#define __MASTER_ ALLOCATOR_MESOS_METRICS_HPP__</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <<a class="code" href="include_2mesos_2quota_2quota_8hpp.html">mesos/quota/quota.hpp</a>></span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <<a class="code" href="counter_8hpp.html">process/metrics/counter.hpp</a>></spa n></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <<a class="code" href="gauge_8hpp.html">process/metrics/gauge.hpp</a>></span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <<a class="code" href="metrics_2timer_8hpp.html">process/metrics/timer.hpp</a>></span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <<a class="code" href="3rdparty_2libprocess_2include_2process_2pid_8hpp.html">process/pid.hpp</a>></span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include <<a class="code" href="hashmap_8hpp.html">stout/hashmap.hp p</a>></span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">namespace </span><a class="code" href="namespacemesos.html">mesos</a> {</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="keyword">namespace </span><a class="code" href="namespaceinternal.html">internal</a> {</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">namespace </span><a class="code" href="namespacemesos_1_1v1_1_1master.html">master</a> {</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">namespace </span>allocator {</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">namespace </span><a class="code" href="namespaceinternal.html">internal</a> {</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="comment">// Forward declarations.</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="keyword">class </span>HierarchicalAllocatorProcess;</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="comment">// Collection of metrics for the allocator; these begin</span></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="comment">// with the following prefix: `allocator/mesos/`.</span></div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html"> 44</a></span> <span class="keyword">struct </span><a class="code" hr ef="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html">Metrics</a></div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> {</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keyword">explicit</span> <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a8bab2e615e686c7e2fb9d197258b06cb">Metrics</a>(<span class="keyword">const</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1HierarchicalAllocatorProcess.html">HierarchicalAllocatorProcess</a>& <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#aa45f43428be4a50d8587a834d4c41cb5">allocator</a>);</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <a class="code" href="structmesos_1_1internal _1_1master_1_1allocator_1_1internal_1_1Metrics.html#a94f4a202e57d3d8166d1923702c028a7">~Metrics</a>();</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keywordtype">void</span> <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a6d35157337f4c68484e4224969c3e51f">setQuota</a>(<span class="keyword">const</span> std::string& role, <span class="keyword">const</span> <a class="code" href="structQuota.html">Quota</a>& quota);</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keywordtype">void</span> <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a363e06225a78eb0ef4a47e9259b248c1">removeQuota</a>(<span class="keyword">const</span> std::string& role);</div><div class="line"><a name="l00052"></a><span class= "lineno"> 52</span> </div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordtype">void</span> <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a235553a831bc8a8aae9eca23e11a1890">addRole</a>(<span class="keyword">const</span> std::string& role);</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordtype">void</span> <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#abe00e42bb325a7cc0a4d9dd1ead5d772">removeRole</a>(<span class="keyword">const</span> std::string& role);</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#aa45f43428be4a50d8587a834d4c41cb5"> 56</a></span>  <span cla ss="keyword">const</span> <a class="code" href="structprocess_1_1PID.html">process::PID<HierarchicalAllocatorProcess></a> <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#aa45f43428be4a50d8587a834d4c41cb5">allocator</a>;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="comment">// Number of dispatch events currently waiting in the allocator process.</span></div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#ab0a7cf096034771cddd963e7383e9eb9"> 59</a></span>  <a class="code" href="classprocess_1_1metrics_1_1Gauge.html">process::metrics::Gauge</a> <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#ab0a7cf096034771cddd963e7383e9eb9">event_que ue_dispatches</a>;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> </div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="comment">// TODO(bbannier) This metric is identical to `event_queue_dispatches`, but</span></div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="comment">// uses a name deprecated in 1.0. This metric should be removed after the</span></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="comment">// deprecation cycle.</span></div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a59012f7137be350d841a074e71fe8315"> 64</a></span>  <a class="code" href="classprocess_1_1metrics_1_1Gauge.html">process::metrics::Gauge</a> <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1 _1internal_1_1Metrics.html#a59012f7137be350d841a074e71fe8315">event_queue_dispatches_</a>;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="comment">// Number of times the allocation algorithm has run.</span></div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a7ec6006552923970bcc88f2482864737"> 67</a></span>  <a class="code" href="classprocess_1_1metrics_1_1Counter.html">process::metrics::Counter</a> <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a7ec6006552923970bcc88f2482864737">allocation_runs</a>;</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="commen t">// Time spent in the allocation algorithm.</span></div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a11403d0bd07c419aa51b7c898ff59af2"> 70</a></span>  <a class="code" href="classprocess_1_1metrics_1_1Timer.html">process::metrics::Timer<Milliseconds></a> <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a11403d0bd07c419aa51b7c898ff59af2">allocation_run</a>;</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="comment">// The latency of allocation runs due to the batching of allocation requests.</span></div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#ab59b468d54ca94f666310bc 0762c2d53"> 73</a></span>  <a class="code" href="classprocess_1_1metrics_1_1Timer.html">process::metrics::Timer<Milliseconds></a> <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#ab59b468d54ca94f666310bc0762c2d53">allocation_run_latency</a>;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="comment">// Gauges for the total amount of each resource in the cluster.</span></div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#aa44f094659729582e9b318b4f1281497"> 76</a></span>  std::vector<process::metrics::Gauge> <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#aa44f094659729582e9b318b4f1281497">resources_total</a>;</div><div clas s="line"><a name="l00077"></a><span class="lineno"> 77</span> </div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="comment">// Gauges for the allocated amount of each resource in the cluster.</span></div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#af180af540adbda46abde39c5d07d4525"> 79</a></span>  std::vector<process::metrics::Gauge> <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#af180af540adbda46abde39c5d07d4525">resources_offered_or_allocated</a>;</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="comment">// Gauges for the per-role quota allocation for each resource.</span></div><div class="line"><a name="l00082"></a><span cl ass="lineno"> 82</span>  <a class="code" href="classhashmap.html">hashmap<std::string, hashmap<std::string, process::metrics::Gauge></a>></div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#aecf0894eacb5568037866f831dcd6d0a"> 83</a></span>  <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#aecf0894eacb5568037866f831dcd6d0a">quota_allocated</a>;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="comment">// Gauges for the per-role quota guarantee for each resource.</span></div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <a class="code" href="classhashmap.html">hashmap<std::string, hashmap<std::string, process::metrics::Gauge></ a>></div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a30206562f7f02e687c653f35e3d6acd6"> 87</a></span>  <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a30206562f7f02e687c653f35e3d6acd6">quota_guarantee</a>;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="comment">// Gauges for the per-role count of active offer filters.</span></div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#aa95743e0893c30227a177d71323b8076"> 90</a></span>  <a class="code" href="classhashmap.html">hashmap<std::string, process::metrics::Gauge></a> <a class="code" href="structmesos_1_1int ernal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#aa95743e0893c30227a177d71323b8076">offer_filters_active</a>;</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> };</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> </div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> } <span class="comment">// namespace internal {</span></div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> } <span class="comment">// namespace allocator {</span></div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> } <span class="comment">// namespace master {</span></div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> } <span class="comment">// namespace internal {</span></div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> } <span class="comment">// namespace mesos {</span></div><div class="line"> <a name="l00098"></a><span class="lineno"> 98</span> </div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="preprocessor">#endif // __MASTER_ALLOCATOR_MESOS_METRICS_HPP__</span></div><div class="ttc" id="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics_html_aa45f43428be4a50d8587a834d4c41cb5"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#aa45f43428be4a50d8587a834d4c41cb5">mesos::internal::master::allocator::internal::Metrics::allocator</a></div><div class="ttdeci">const process::PID< HierarchicalAllocatorProcess > allocator</div><div class="ttdef"><b>Definition:</b> metrics.hpp:56</div></div> +<a href="src_2master_2allocator_2mesos_2metrics_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Licensed to the Apache Software Foundation (ASF) under one</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// or more contributor license agreements. See the NOTICE file</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// distributed with this work for additional information</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// regarding copyright ownership. The ASF licenses this file</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// to you under the Apache License, Version 2.0 (the</span></div><div class="line" ><a name="l00006"></a><span class="lineno"> 6</span> <span >class="comment">// "License"); you may not use this file except in >compliance</span></div><div class="line"><a name="l00007"></a><span >class="lineno"> 7</span> <span class="comment">// with the License. >You may obtain a copy of the License at</span></div><div class="line"><a >name="l00008"></a><span class="lineno"> 8</span> <span >class="comment">//</span></div><div class="line"><a name="l00009"></a><span >class="lineno"> 9</span> <span class="comment">// >http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a >name="l00010"></a><span class="lineno"> 10</span> <span >class="comment">//</span></div><div class="line"><a name="l00011"></a><span >class="lineno"> 11</span> <span class="comment">// Unless required by >applicable law or agreed to in writing, software</span></div><div >class="line"><a name="l00012"></a><span class="lineno"> 12</span> <sp an class="comment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">// limitations under the License.</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef __MASTER_ALLOCATOR_MESOS_METRICS_HPP__</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#define __MASTER_ ALLOCATOR_MESOS_METRICS_HPP__</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <<a class="code" href="include_2mesos_2quota_2quota_8hpp.html">mesos/quota/quota.hpp</a>></span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <<a class="code" href="counter_8hpp.html">process/metrics/counter.hpp</a>></spa n></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <<a class="code" href="pull__gauge_8hpp.html">process/metrics/pull_gauge.hpp</a>></span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <<a class="code" href="metrics_2timer_8hpp.html">process/metrics/timer.hpp</a>></span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <<a class="code" href="3rdparty_2libprocess_2include_2process_2pid_8hpp.html">process/pid.hpp</a>></span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include <<a class="code" href="hashmap_8hpp.html">stout /hashmap.hpp</a>></span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">namespace </span><a class="code" href="namespacemesos.html">mesos</a> {</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="keyword">namespace </span><a class="code" href="namespaceinternal.html">internal</a> {</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">namespace </span><a class="code" href="namespacemesos_1_1v1_1_1master.html">master</a> {</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">namespace </span>allocator {</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">namespace </span><a class="code" href="namespaceinternal.html">internal</a> {</div><div clas s="line"><a name="l00038"></a><span class="lineno"> 38</span> </div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="comment">// Forward declarations.</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="keyword">class </span>HierarchicalAllocatorProcess;</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="comment">// Collection of metrics for the allocator; these begin</span></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="comment">// with the following prefix: `allocator/mesos/`.</span></div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html"> 44</a></span> <span class="keyword">struct </span><a clas s="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html">Metrics</a></div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> {</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keyword">explicit</span> <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a8bab2e615e686c7e2fb9d197258b06cb">Metrics</a>(<span class="keyword">const</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1HierarchicalAllocatorProcess.html">HierarchicalAllocatorProcess</a>& <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#aa45f43428be4a50d8587a834d4c41cb5">allocator</a>);</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <a class="code" href="structmesos_ 1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a94f4a202e57d3d8166d1923702c028a7">~Metrics</a>();</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keywordtype">void</span> <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a6d35157337f4c68484e4224969c3e51f">setQuota</a>(<span class="keyword">const</span> std::string& role, <span class="keyword">const</span> <a class="code" href="structQuota.html">Quota</a>& quota);</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keywordtype">void</span> <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a363e06225a78eb0ef4a47e9259b248c1">removeQuota</a>(<span class="keyword">const</span> std::string& role);</div><div class="line"><a name="l00052"></a>< span class="lineno"> 52</span> </div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordtype">void</span> <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a235553a831bc8a8aae9eca23e11a1890">addRole</a>(<span class="keyword">const</span> std::string& role);</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordtype">void</span> <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#abe00e42bb325a7cc0a4d9dd1ead5d772">removeRole</a>(<span class="keyword">const</span> std::string& role);</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#aa45f43428be4a50d8587a834d4c41cb5"> 56</a></span>  <span class="keyword">const</span> <a class="code" href="structprocess_1_1PID.html">process::PID<HierarchicalAllocatorProcess></a> <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#aa45f43428be4a50d8587a834d4c41cb5">allocator</a>;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="comment">// Number of dispatch events currently waiting in the allocator process.</span></div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#aadba12696aee573f10b2bf671cce0361"> 59</a></span>  <a class="code" href="classprocess_1_1metrics_1_1PullGauge.html">process::metrics::PullGauge</a> <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#aadba12696aee573f10b2bf67 1cce0361">event_queue_dispatches</a>;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> </div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="comment">// TODO(bbannier) This metric is identical to `event_queue_dispatches`, but</span></div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="comment">// uses a name deprecated in 1.0. This metric should be removed after the</span></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="comment">// deprecation cycle.</span></div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a003c9e00159946e311b8c5cf48313b51"> 64</a></span>  <a class="code" href="classprocess_1_1metrics_1_1PullGauge.html">process::metrics::PullGauge</a> <a class="code" href="structmesos_1_1intern al_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a003c9e00159946e311b8c5cf48313b51">event_queue_dispatches_</a>;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="comment">// Number of times the allocation algorithm has run.</span></div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a7ec6006552923970bcc88f2482864737"> 67</a></span>  <a class="code" href="classprocess_1_1metrics_1_1Counter.html">process::metrics::Counter</a> <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a7ec6006552923970bcc88f2482864737">allocation_runs</a>;</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>   <span class="comment">// Time spent in the allocation algorithm.</span></div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a11403d0bd07c419aa51b7c898ff59af2"> 70</a></span>  <a class="code" href="classprocess_1_1metrics_1_1Timer.html">process::metrics::Timer<Milliseconds></a> <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a11403d0bd07c419aa51b7c898ff59af2">allocation_run</a>;</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="comment">// The latency of allocation runs due to the batching of allocation requests.</span></div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.ht ml#ab59b468d54ca94f666310bc0762c2d53"> 73</a></span>  <a class="code" href="classprocess_1_1metrics_1_1Timer.html">process::metrics::Timer<Milliseconds></a> <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#ab59b468d54ca94f666310bc0762c2d53">allocation_run_latency</a>;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="comment">// PullGauges for the total amount of each resource in the cluster.</span></div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a12817a0a419a573a628bc699116f775b"> 76</a></span>  std::vector<process::metrics::PullGauge> <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a12817a0a419a573a628bc699116f775b"> resources_total</a>;</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="comment">// PullGauges for the allocated amount of each resource in the cluster.</span></div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a35bc11894e4074d12b05210ed5d3205b"> 79</a></span>  std::vector<process::metrics::PullGauge> <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a35bc11894e4074d12b05210ed5d3205b">resources_offered_or_allocated</a>;</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="comment">// PullGauges for the per-role quota allocation for each resource.</span></div> <div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <a class="code" href="classhashmap.html">hashmap<std::string, hashmap<std::string, process::metrics::PullGauge></a>></div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a26d704e1a17cc20c79341cc068b9ba09"> 83</a></span>  <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a26d704e1a17cc20c79341cc068b9ba09">quota_allocated</a>;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="comment">// PullGauges for the per-role quota guarantee for each resource.</span></div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <a class="code" href="classhashmap.html">hashmap<std::string , hashmap<std::string, process::metrics::PullGauge></a>></div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a5153f65e4954f80f6f06115454b89efe"> 87</a></span>  <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a5153f65e4954f80f6f06115454b89efe">quota_guarantee</a>;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="comment">// PullGauges for the per-role count of active offer filters.</span></div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a88aca21217b757813d8f2c534d239a56"> 90</a></span>  <a class="code" href="classhashmap.html">hashmap<std::string, process:: metrics::PullGauge></a> <a class="code" href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a88aca21217b757813d8f2c534d239a56">offer_filters_active</a>;</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> };</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> </div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> } <span class="comment">// namespace internal {</span></div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> } <span class="comment">// namespace allocator {</span></div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> } <span class="comment">// namespace master {</span></div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> } <span class="comment">// namespace internal {</span></div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> } <span class="comment">// namespace mesos {</span></div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> </div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="preprocessor">#endif // __MASTER_ALLOCATOR_MESOS_METRICS_HPP__</span></div><div class="ttc" id="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics_html_aa45f43428be4a50d8587a834d4c41cb5"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#aa45f43428be4a50d8587a834d4c41cb5">mesos::internal::master::allocator::internal::Metrics::allocator</a></div><div class="ttdeci">const process::PID< HierarchicalAllocatorProcess > allocator</div><div class="ttdef"><b>Definition:</b> metrics.hpp:56</div></div> <div class="ttc" id="classprocess_1_1metrics_1_1Timer_html"><div class="ttname"><a href="classprocess_1_1metrics_1_1Timer.html">process::metrics::Timer< Milliseconds ></a></div></div> +<div class="ttc" id="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics_html_a12817a0a419a573a628bc699116f775b"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a12817a0a419a573a628bc699116f775b">mesos::internal::master::allocator::internal::Metrics::resources_total</a></div><div class="ttdeci">std::vector< process::metrics::PullGauge > resources_total</div><div class="ttdef"><b>Definition:</b> metrics.hpp:76</div></div> <div class="ttc" id="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics_html_a7ec6006552923970bcc88f2482864737"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a7ec6006552923970bcc88f2482864737">mesos::internal::master::allocator::internal::Metrics::allocation_runs</a></div><div class="ttdeci">process::metrics::Counter allocation_runs</div><div class="ttdef"><b>Definition:</b> metrics.hpp:67</div></div> -<div class="ttc" id="gauge_8hpp_html"><div class="ttname"><a href="gauge_8hpp.html">gauge.hpp</a></div></div> +<div class="ttc" id="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics_html_a35bc11894e4074d12b05210ed5d3205b"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a35bc11894e4074d12b05210ed5d3205b">mesos::internal::master::allocator::internal::Metrics::resources_offered_or_allocated</a></div><div class="ttdeci">std::vector< process::metrics::PullGauge > resources_offered_or_allocated</div><div class="ttdef"><b>Definition:</b> metrics.hpp:79</div></div> <div class="ttc" id="namespacemesos_1_1v1_1_1master_html"><div class="ttname"><a href="namespacemesos_1_1v1_1_1master.html">mesos::v1::master</a></div><div class="ttdef"><b>Definition:</b> master.hpp:27</div></div> <div class="ttc" id="include_2mesos_2quota_2quota_8hpp_html"><div class="ttname"><a href="include_2mesos_2quota_2quota_8hpp.html">quota.hpp</a></div></div> <div class="ttc" id="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics_html_ab59b468d54ca94f666310bc0762c2d53"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#ab59b468d54ca94f666310bc0762c2d53">mesos::internal::master::allocator::internal::Metrics::allocation_run_latency</a></div><div class="ttdeci">process::metrics::Timer< Milliseconds > allocation_run_latency</div><div class="ttdef"><b>Definition:</b> metrics.hpp:73</div></div> +<div class="ttc" id="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics_html_a88aca21217b757813d8f2c534d239a56"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a88aca21217b757813d8f2c534d239a56">mesos::internal::master::allocator::internal::Metrics::offer_filters_active</a></div><div class="ttdeci">hashmap< std::string, process::metrics::PullGauge > offer_filters_active</div><div class="ttdef"><b>Definition:</b> metrics.hpp:90</div></div> <div class="ttc" id="metrics_2timer_8hpp_html"><div class="ttname"><a href="metrics_2timer_8hpp.html">timer.hpp</a></div></div> -<div class="ttc" id="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics_html_a30206562f7f02e687c653f35e3d6acd6"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a30206562f7f02e687c653f35e3d6acd6">mesos::internal::master::allocator::internal::Metrics::quota_guarantee</a></div><div class="ttdeci">hashmap< std::string, hashmap< std::string, process::metrics::Gauge > > quota_guarantee</div><div class="ttdef"><b>Definition:</b> metrics.hpp:87</div></div> -<div class="ttc" id="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics_html_aecf0894eacb5568037866f831dcd6d0a"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#aecf0894eacb5568037866f831dcd6d0a">mesos::internal::master::allocator::internal::Metrics::quota_allocated</a></div><div class="ttdeci">hashmap< std::string, hashmap< std::string, process::metrics::Gauge > > quota_allocated</div><div class="ttdef"><b>Definition:</b> metrics.hpp:83</div></div> <div class="ttc" id="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics_html_a8bab2e615e686c7e2fb9d197258b06cb"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a8bab2e615e686c7e2fb9d197258b06cb">mesos::internal::master::allocator::internal::Metrics::Metrics</a></div><div class="ttdeci">Metrics(const HierarchicalAllocatorProcess &allocator)</div></div> <div class="ttc" id="classprocess_1_1metrics_1_1Counter_html"><div class="ttname"><a href="classprocess_1_1metrics_1_1Counter.html">process::metrics::Counter</a></div><div class="ttdef"><b>Definition:</b> counter.hpp:26</div></div> <div class="ttc" id="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics_html_a94f4a202e57d3d8166d1923702c028a7"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a94f4a202e57d3d8166d1923702c028a7">mesos::internal::master::allocator::internal::Metrics::~Metrics</a></div><div class="ttdeci">~Metrics()</div></div> <div class="ttc" id="classhashmap_html"><div class="ttname"><a href="classhashmap.html">hashmap</a></div><div class="ttdef"><b>Definition:</b> hashmap.hpp:38</div></div> <div class="ttc" id="structQuota_html"><div class="ttname"><a href="structQuota.html">Quota</a></div><div class="ttdef"><b>Definition:</b> quota.hpp:25</div></div> <div class="ttc" id="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics_html_a363e06225a78eb0ef4a47e9259b248c1"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a363e06225a78eb0ef4a47e9259b248c1">mesos::internal::master::allocator::internal::Metrics::removeQuota</a></div><div class="ttdeci">void removeQuota(const std::string &role)</div></div> -<div class="ttc" id="classprocess_1_1metrics_1_1Gauge_html"><div class="ttname"><a href="classprocess_1_1metrics_1_1Gauge.html">process::metrics::Gauge</a></div><div class="ttdef"><b>Definition:</b> gauge.hpp:27</div></div> +<div class="ttc" id="classprocess_1_1metrics_1_1PullGauge_html"><div class="ttname"><a href="classprocess_1_1metrics_1_1PullGauge.html">process::metrics::PullGauge</a></div><div class="ttdef"><b>Definition:</b> pull_gauge.hpp:46</div></div> <div class="ttc" id="classmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1HierarchicalAllocatorProcess_html"><div class="ttname"><a href="classmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1HierarchicalAllocatorProcess.html">mesos::internal::master::allocator::internal::HierarchicalAllocatorProcess</a></div><div class="ttdef"><b>Definition:</b> hierarchical.hpp:73</div></div> <div class="ttc" id="counter_8hpp_html"><div class="ttname"><a href="counter_8hpp.html">counter.hpp</a></div></div> +<div class="ttc" id="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics_html_a26d704e1a17cc20c79341cc068b9ba09"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a26d704e1a17cc20c79341cc068b9ba09">mesos::internal::master::allocator::internal::Metrics::quota_allocated</a></div><div class="ttdeci">hashmap< std::string, hashmap< std::string, process::metrics::PullGauge > > quota_allocated</div><div class="ttdef"><b>Definition:</b> metrics.hpp:83</div></div> <div class="ttc" id="namespacemesos_html"><div class="ttname"><a href="namespacemesos.html">mesos</a></div><div class="ttdef"><b>Definition:</b> spec.hpp:30</div></div> <div class="ttc" id="3rdparty_2libprocess_2include_2process_2pid_8hpp_html"><div class="ttname"><a href="3rdparty_2libprocess_2include_2process_2pid_8hpp.html">pid.hpp</a></div></div> -<div class="ttc" id="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics_html_af180af540adbda46abde39c5d07d4525"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#af180af540adbda46abde39c5d07d4525">mesos::internal::master::allocator::internal::Metrics::resources_offered_or_allocated</a></div><div class="ttdeci">std::vector< process::metrics::Gauge > resources_offered_or_allocated</div><div class="ttdef"><b>Definition:</b> metrics.hpp:79</div></div> <div class="ttc" id="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics_html_a11403d0bd07c419aa51b7c898ff59af2"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a11403d0bd07c419aa51b7c898ff59af2">mesos::internal::master::allocator::internal::Metrics::allocation_run</a></div><div class="ttdeci">process::metrics::Timer< Milliseconds > allocation_run</div><div class="ttdef"><b>Definition:</b> metrics.hpp:70</div></div> <div class="ttc" id="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics_html_abe00e42bb325a7cc0a4d9dd1ead5d772"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#abe00e42bb325a7cc0a4d9dd1ead5d772">mesos::internal::master::allocator::internal::Metrics::removeRole</a></div><div class="ttdeci">void removeRole(const std::string &role)</div></div> -<div class="ttc" id="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics_html_aa44f094659729582e9b318b4f1281497"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#aa44f094659729582e9b318b4f1281497">mesos::internal::master::allocator::internal::Metrics::resources_total</a></div><div class="ttdeci">std::vector< process::metrics::Gauge > resources_total</div><div class="ttdef"><b>Definition:</b> metrics.hpp:76</div></div> -<div class="ttc" id="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics_html_aa95743e0893c30227a177d71323b8076"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#aa95743e0893c30227a177d71323b8076">mesos::internal::master::allocator::internal::Metrics::offer_filters_active</a></div><div class="ttdeci">hashmap< std::string, process::metrics::Gauge > offer_filters_active</div><div class="ttdef"><b>Definition:</b> metrics.hpp:90</div></div> +<div class="ttc" id="pull__gauge_8hpp_html"><div class="ttname"><a href="pull__gauge_8hpp.html">pull_gauge.hpp</a></div></div> <div class="ttc" id="structprocess_1_1PID_html"><div class="ttname"><a href="structprocess_1_1PID.html">process::PID</a></div><div class="ttdoc">A "process identifier" used to uniquely identify a process when dispatching messages. </div><div class="ttdef"><b>Definition:</b> pid.hpp:279</div></div> <div class="ttc" id="namespaceinternal_html"><div class="ttname"><a href="namespaceinternal.html">internal</a></div><div class="ttdef"><b>Definition:</b> attributes.hpp:24</div></div> -<div class="ttc" id="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics_html_a59012f7137be350d841a074e71fe8315"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a59012f7137be350d841a074e71fe8315">mesos::internal::master::allocator::internal::Metrics::event_queue_dispatches_</a></div><div class="ttdeci">process::metrics::Gauge event_queue_dispatches_</div><div class="ttdef"><b>Definition:</b> metrics.hpp:64</div></div> +<div class="ttc" id="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics_html_aadba12696aee573f10b2bf671cce0361"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#aadba12696aee573f10b2bf671cce0361">mesos::internal::master::allocator::internal::Metrics::event_queue_dispatches</a></div><div class="ttdeci">process::metrics::PullGauge event_queue_dispatches</div><div class="ttdef"><b>Definition:</b> metrics.hpp:59</div></div> +<div class="ttc" id="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics_html_a5153f65e4954f80f6f06115454b89efe"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a5153f65e4954f80f6f06115454b89efe">mesos::internal::master::allocator::internal::Metrics::quota_guarantee</a></div><div class="ttdeci">hashmap< std::string, hashmap< std::string, process::metrics::PullGauge > > quota_guarantee</div><div class="ttdef"><b>Definition:</b> metrics.hpp:87</div></div> <div class="ttc" id="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics_html"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html">mesos::internal::master::allocator::internal::Metrics</a></div><div class="ttdef"><b>Definition:</b> metrics.hpp:44</div></div> <div class="ttc" id="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics_html_a235553a831bc8a8aae9eca23e11a1890"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a235553a831bc8a8aae9eca23e11a1890">mesos::internal::master::allocator::internal::Metrics::addRole</a></div><div class="ttdeci">void addRole(const std::string &role)</div></div> -<div class="ttc" id="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics_html_ab0a7cf096034771cddd963e7383e9eb9"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#ab0a7cf096034771cddd963e7383e9eb9">mesos::internal::master::allocator::internal::Metrics::event_queue_dispatches</a></div><div class="ttdeci">process::metrics::Gauge event_queue_dispatches</div><div class="ttdef"><b>Definition:</b> metrics.hpp:59</div></div> <div class="ttc" id="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics_html_a6d35157337f4c68484e4224969c3e51f"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a6d35157337f4c68484e4224969c3e51f">mesos::internal::master::allocator::internal::Metrics::setQuota</a></div><div class="ttdeci">void setQuota(const std::string &role, const Quota &quota)</div></div> <div class="ttc" id="hashmap_8hpp_html"><div class="ttname"><a href="hashmap_8hpp.html">hashmap.hpp</a></div></div> +<div class="ttc" id="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics_html_a003c9e00159946e311b8c5cf48313b51"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1Metrics.html#a003c9e00159946e311b8c5cf48313b51">mesos::internal::master::allocator::internal::Metrics::event_queue_dispatches_</a></div><div class="ttdeci">process::metrics::PullGauge event_queue_dispatches_</div><div class="ttdef"><b>Definition:</b> metrics.hpp:64</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/32a8ab49/content/api/latest/c++/src_2master_2allocator_2sorter_2drf_2metrics_8hpp.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/src_2master_2allocator_2sorter_2drf_2metrics_8hpp.html b/content/api/latest/c++/src_2master_2allocator_2sorter_2drf_2metrics_8hpp.html index c9d9717..4ea3518 100644 --- a/content/api/latest/c++/src_2master_2allocator_2sorter_2drf_2metrics_8hpp.html +++ b/content/api/latest/c++/src_2master_2allocator_2sorter_2drf_2metrics_8hpp.html @@ -57,7 +57,7 @@ <div class="contents"> <div class="textblock"><code>#include <string></code><br /> <code>#include <<a class="el" href="3rdparty_2libprocess_2include_2process_2pid_8hpp_source.html">process/pid.hpp</a>></code><br /> -<code>#include <<a class="el" href="gauge_8hpp_source.html">process/metrics/gauge.hpp</a>></code><br /> +<code>#include <<a class="el" href="pull__gauge_8hpp_source.html">process/metrics/pull_gauge.hpp</a>></code><br /> <code>#include <<a class="el" href="hashmap_8hpp_source.html">stout/hashmap.hpp</a>></code><br /> </div> <p><a href="src_2master_2allocator_2sorter_2drf_2metrics_8hpp_source.html">Go to the source code of this file.</a></p>
