Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
docs
Commits
1d8daeac
Commit
1d8daeac
authored
Sep 11, 2015
by
Brian Brazil
Committed by
Julius Volz
Oct 09, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document new vector() function.
parent
af4e1332
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
functions.md
content/docs/querying/functions.md
+4
-0
No files found.
content/docs/querying/functions.md
View file @
1d8daeac
...
@@ -269,6 +269,10 @@ expression is to be evaluated.
...
@@ -269,6 +269,10 @@ expression is to be evaluated.
`topk(k integer, v instant-vector)`
returns the
`k`
largest elements of
`v`
by
`topk(k integer, v instant-vector)`
returns the
`k`
largest elements of
`v`
by
sample value.
sample value.
## `vector()`
`vector(s scalar)`
returns the scalar
`s`
as a vector with no labels.
## `<aggregation>_over_time()`: Aggregating values over time:
## `<aggregation>_over_time()`: Aggregating values over time:
The following functions allow aggregating each series of a given range vector
The following functions allow aggregating each series of a given range vector
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment