|
|
@@ -63,64 +63,61 @@
|
|
|
</section>
|
|
|
|
|
|
<div class="editor-row">
|
|
|
- <div class="pull-left">
|
|
|
-
|
|
|
- <div class="grafana-info-box span8" ng-if="ctrl.panelCtrl.editorHelpIndex === 1">
|
|
|
- <h5>Shorter legend names</h5>
|
|
|
- <ul>
|
|
|
- <li>alias() function to specify a custom series name</li>
|
|
|
- <li>aliasByNode(2) to alias by a specific part of your metric path</li>
|
|
|
- <li>aliasByNode(2, -1) you can add multiple segment paths, and use negative index</li>
|
|
|
- <li>groupByNode(2, 'sum') is useful if you have 2 wildcards in your metric path and want to sumSeries and group by</li>
|
|
|
- </ul>
|
|
|
- </div>
|
|
|
+ <div class="grafana-info-box span8" ng-if="ctrl.panelCtrl.editorHelpIndex === 1">
|
|
|
+ <h5>Shorter legend names</h5>
|
|
|
+ <ul>
|
|
|
+ <li>alias() function to specify a custom series name</li>
|
|
|
+ <li>aliasByNode(2) to alias by a specific part of your metric path</li>
|
|
|
+ <li>aliasByNode(2, -1) you can add multiple segment paths, and use negative index</li>
|
|
|
+ <li>groupByNode(2, 'sum') is useful if you have 2 wildcards in your metric path and want to sumSeries and group by</li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
|
|
|
- <div class="grafana-info-box span8" ng-if="ctrl.panelCtrl.editorHelpIndex === 2">
|
|
|
- <h5>Series as parameter</h5>
|
|
|
- <ul>
|
|
|
- <li>Some graphite functions allow you to have many series arguments</li>
|
|
|
- <li>Use #[A-Z] to use a graphite query as parameter to a function</li>
|
|
|
- <li>
|
|
|
- Examples:
|
|
|
- <ul>
|
|
|
- <li>asPercent(#A, #B)</li>
|
|
|
- <li>prod.srv-01.counters.count - asPercent(#A) : percentage of count in comparison with A query</li>
|
|
|
- <li>prod.srv-01.counters.count - sumSeries(#A) : sum count and series A </li>
|
|
|
- <li>divideSeries(#A, #B)</li>
|
|
|
- </ul>
|
|
|
- </li>
|
|
|
- <li>If a query is added only to be used as a parameter, hide it from the graph with the eye icon</li>
|
|
|
- </ul>
|
|
|
- </div>
|
|
|
+ <div class="grafana-info-box span8" ng-if="ctrl.panelCtrl.editorHelpIndex === 2">
|
|
|
+ <h5>Series as parameter</h5>
|
|
|
+ <ul>
|
|
|
+ <li>Some graphite functions allow you to have many series arguments</li>
|
|
|
+ <li>Use #[A-Z] to use a graphite query as parameter to a function</li>
|
|
|
+ <li>
|
|
|
+ Examples:
|
|
|
+ <ul>
|
|
|
+ <li>asPercent(#A, #B)</li>
|
|
|
+ <li>prod.srv-01.counters.count - asPercent(#A) : percentage of count in comparison with A query</li>
|
|
|
+ <li>prod.srv-01.counters.count - sumSeries(#A) : sum count and series A </li>
|
|
|
+ <li>divideSeries(#A, #B)</li>
|
|
|
+ </ul>
|
|
|
+ </li>
|
|
|
+ <li>If a query is added only to be used as a parameter, hide it from the graph with the eye icon</li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
|
|
|
- <div class="grafana-info-box span6" ng-if="ctrl.panelCtrl.editorHelpIndex === 3">
|
|
|
- <h5>Stacking</h5>
|
|
|
- <ul>
|
|
|
- <li>You find the stacking option under Display Styles tab</li>
|
|
|
- <li>When stacking is enabled make sure null point mode is set to 'null as zero'</li>
|
|
|
- </ul>
|
|
|
- </div>
|
|
|
+ <div class="grafana-info-box span6" ng-if="ctrl.panelCtrl.editorHelpIndex === 3">
|
|
|
+ <h5>Stacking</h5>
|
|
|
+ <ul>
|
|
|
+ <li>You find the stacking option under Display Styles tab</li>
|
|
|
+ <li>When stacking is enabled make sure null point mode is set to 'null as zero'</li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
|
|
|
- <div class="grafana-info-box span6" ng-if="ctrl.panelCtrl.editorHelpIndex === 4">
|
|
|
- <h5>Templating</h5>
|
|
|
- <ul>
|
|
|
- <li>You can use a template variable in place of metric names</li>
|
|
|
- <li>You can use a template variable in place of function parameters</li>
|
|
|
- <li>You enable the templating feature in Dashboard settings / Feature toggles </li>
|
|
|
- </ul>
|
|
|
- </div>
|
|
|
+ <div class="grafana-info-box span6" ng-if="ctrl.panelCtrl.editorHelpIndex === 4">
|
|
|
+ <h5>Templating</h5>
|
|
|
+ <ul>
|
|
|
+ <li>You can use a template variable in place of metric names</li>
|
|
|
+ <li>You can use a template variable in place of function parameters</li>
|
|
|
+ <li>You enable the templating feature in Dashboard settings / Feature toggles </li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
|
|
|
- <div class="grafana-info-box span6" ng-if="ctrl.panelCtrl.editorHelpIndex === 5">
|
|
|
- <h5>Max data points</h5>
|
|
|
- <ul>
|
|
|
- <li>Every graphite request is issued with a maxDataPoints parameter</li>
|
|
|
- <li>Graphite uses this parameter to consolidate the real number of values down to this number</li>
|
|
|
- <li>If there are more real values, then by default they will be consolidated using averages</li>
|
|
|
- <li>This could hide real peaks and max values in your series</li>
|
|
|
- <li>You can change how point consolidation is made using the consolidateBy graphite function</li>
|
|
|
- <li>Point consolidation will effect series legend values (min,max,total,current)</li>
|
|
|
- <li>If you override maxDataPoint and set a high value performance can be severely effected</li>
|
|
|
- </ul>
|
|
|
- </div>
|
|
|
+ <div class="grafana-info-box span6" ng-if="ctrl.panelCtrl.editorHelpIndex === 5">
|
|
|
+ <h5>Max data points</h5>
|
|
|
+ <ul>
|
|
|
+ <li>Every graphite request is issued with a maxDataPoints parameter</li>
|
|
|
+ <li>Graphite uses this parameter to consolidate the real number of values down to this number</li>
|
|
|
+ <li>If there are more real values, then by default they will be consolidated using averages</li>
|
|
|
+ <li>This could hide real peaks and max values in your series</li>
|
|
|
+ <li>You can change how point consolidation is made using the consolidateBy graphite function</li>
|
|
|
+ <li>Point consolidation will effect series legend values (min,max,total,current)</li>
|
|
|
+ <li>If you override maxDataPoint and set a high value performance can be severely effected</li>
|
|
|
+ </ul>
|
|
|
</div>
|
|
|
</div>
|