소스 검색

influxdb: tweak to help text

Daniel Lee 8 년 전
부모
커밋
fb99ddf295
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      docs/sources/features/datasources/influxdb.md
  2. 2 2
      public/app/plugins/datasource/influxdb/partials/query.options.html

+ 1 - 1
docs/sources/features/datasources/influxdb.md

@@ -88,7 +88,7 @@ You can switch to raw query mode by clicking hamburger icon and then `Switch edi
 - $m = replaced with measurement name
 - $measurement = replaced with measurement name
 - $col = replaced with column name
-- $tag_hostname = replaced with the value of the hostname tag. Use your tag instead of hostname and the tag must be used to group by in the query when used in the ALIAS BY field.
+- $tag_exampletag = replaced with the value of the `exampletag` tag. To use your tag as an alias in the ALIAS BY field then the tag must be used to group by in the query.
 - You can also use [[tag_hostname]] pattern replacement syntax. For example, in the ALIAS BY field using this text `Host: [[tag_hostname]]` would substitute in the `hostname` tag value for each legend value and an example legend value would be: `Host: server1`.
 
 ### Table query / raw data

+ 2 - 2
public/app/plugins/datasource/influxdb/partials/query.options.html

@@ -46,8 +46,8 @@
 				<li>$measurement = replaced with measurement name</li>
 				<li>$1 - $9 = replaced with part of measurement name (if you separate your measurement name with dots)</li>
 				<li>$col = replaced with column name</li>
-				<li>$tag_hostname = replaced with the value of the hostname tag</li>
-				<li>You can also use [[tag_hostname]] pattern replacement syntax</li>
+				<li>$tag_exampletag = replaced with the value of the <i>exampletag</i> tag</li>
+				<li>You can also use [[tag_exampletag]] pattern replacement syntax</li>
 			</ul>
 		</div>