as "FOO" after the SELECT portion of the TSQuery. Replace FOO with the alias you want.%metricName% and %entityName% to substitute the metric name and entity name, respectively, into the alias. This is helpful for queries returning multiple timeseries.