Skip to content

Commit

Permalink
docs: document lookupSeries.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dieterbe authored and kylebrandt committed Jun 14, 2016
1 parent 7feba24 commit 6cd906a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/expressions.md
Expand Up @@ -512,7 +512,12 @@ Returns the first count (scalar) results of number.

## lookup(table string, key string) numberSet

Returns the first key from the given lookup table with matching tags, this searches the built-in index and so only makes sense when using OpenTSDB and sending data to /index or relaying through bosun.

## lookupSeries(series seriesSet, table string, key string) numberSet

Returns the first key from the given lookup table with matching tags.
The first argument is a series to use from which to derive the tag information. This is good for alternative storage backends such as graphite and influxdb.

## month(offset scalar, startEnd string) scalar

Expand Down

0 comments on commit 6cd906a

Please sign in to comment.