#510 make facet multi-arg
This commit is contained in:
parent
5e9bdba777
commit
440b86633a
2 changed files with 3 additions and 3 deletions
|
|
@ -1447,7 +1447,7 @@
|
|||
:returning #'format-selects
|
||||
:with-data #'format-with-data
|
||||
;; NRQL extensions:
|
||||
:facet #'format-selector
|
||||
:facet #'format-selects
|
||||
:since #'format-interval
|
||||
:until #'format-interval
|
||||
:compare-with #'format-interval
|
||||
|
|
@ -2331,7 +2331,7 @@
|
|||
:where [:some :value]
|
||||
#_[:and [:= :environment "production"]
|
||||
[:= :process.name "match"]]
|
||||
:facet [:some.metric :alias]
|
||||
:facet [[:some.metric :alias]]
|
||||
:since [1 :day :ago]
|
||||
:timeseries [:auto]}
|
||||
{:dialect :nrql})
|
||||
|
|
|
|||
|
|
@ -1023,7 +1023,7 @@
|
|||
(defn facet
|
||||
"(facet [:metric.name :alias])"
|
||||
[& args]
|
||||
(generic-1 :facet args))
|
||||
(generic :facet args))
|
||||
|
||||
(defn since
|
||||
"(since 2 :days :ago)"
|
||||
|
|
|
|||
Loading…
Reference in a new issue