Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document lookupSeries. fix #1035 #1760

Merged
merged 1 commit into from
Jun 14, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/expressions.md
Original file line number Diff line number Diff line change
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