Commit 0fc8c4e0 by Torkel Ödegaard

small changes to influxdb aliasing, and help text, #525

parent 6c93dc6a
......@@ -154,16 +154,16 @@
</div>
</div>
<div class="pull-left" style="margin-top: 30px;">
<div class="pull-left metrics-editor-help" style="margin-top: 30px;">
<div class="span6">
<span>
<i class="icon-question-sign"></i> alias patterns:
<ul>
<li>$s = seriesName</li>
<li>$g = group by value</li>
<li>$[0-9] part of series name for series names seperated by dots.</li>
<ul>
</span>
<ul class="hide">
<li>$s = series name</li>
<li>$g = group by</li>
<li>$[0-9] part of series name for series names seperated by dots.</li>
<ul>
</div>
</div>
</div>
......
......@@ -52,7 +52,7 @@ function (_) {
datapoints[i] = [metricValue, groupPoints[i][timeCol]];
}
seriesName = series.name;
seriesName = series.name + '.' + key;
if (self.alias) {
seriesName = self.createNameForSeries(series.name, key);
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -468,3 +468,10 @@ select.grafana-target-segment-input {
padding-top: 15px;
text-align: left;
}
.metrics-editor-help:hover {
.hide {
display: block;
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment