Skip to content

Commit

Permalink
✏️ Update with one more example
Browse files Browse the repository at this point in the history
  • Loading branch information
dej611 committed Mar 26, 2024
1 parent 10e34e4 commit dff3c88
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/kbn-lens-formula-docs/src/operations/time_range.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ export const timeRange = buildContextVariableDocumentationDefinition({
defaultMessage: `
The specified time range, in milliseconds (ms).
Example: How long is the current time range?
Example: How long is the current time range in (ms)?
\`time_range()\`
Example: A static average per minute computed with the current time range:
\`(sum(bytes) / time_range()) * 1000 * 60\`
`,
}),
});

0 comments on commit dff3c88

Please sign in to comment.