case class Query(metricName: MetricName, tags: Seq[QueryTag] = Seq.empty, groupBys: Seq[GroupBy] = Seq.empty, aggregators: Seq[Aggregator] = Seq.empty, limit: Option[Int] = None, order: Order = Order.defaultOrder, excludeTags: Boolean = false, plugins: Seq[QueryPlugin] = Seq.empty) extends Product with Serializable
- tags
Tags narrow down the search. Only metrics that include the tag and matches one of the values are returned. Tags are optional.
- groupBys
The resulting data points can be grouped by one or more tags, a time range, or by value, or by a combination of the three.
- aggregators
An ordered array of aggregators. They are processed in the order specified. The output of an aggregator is passed to the input of the next until all have been processed.
- limit
Limits the number of data points returned from the data store. The limit is applied before any aggregator is executed.
- order
Orders the returned data points. This sorting is done before any aggregators are executed.
- excludeTags
By default, the result of the query includes tags and tag values associated with the data points. If
excludeTags
is set to true, the tags will be excluded from the response.- plugins
optional plugin references to customize the behavior of the query on this metric
- Alphabetic
- By Inheritance
- Query
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Query(metricName: MetricName, tags: Seq[QueryTag] = Seq.empty, groupBys: Seq[GroupBy] = Seq.empty, aggregators: Seq[Aggregator] = Seq.empty, limit: Option[Int] = None, order: Order = Order.defaultOrder, excludeTags: Boolean = false, plugins: Seq[QueryPlugin] = Seq.empty)
- tags
Tags narrow down the search. Only metrics that include the tag and matches one of the values are returned. Tags are optional.
- groupBys
The resulting data points can be grouped by one or more tags, a time range, or by value, or by a combination of the three.
- aggregators
An ordered array of aggregators. They are processed in the order specified. The output of an aggregator is passed to the input of the next until all have been processed.
- limit
Limits the number of data points returned from the data store. The limit is applied before any aggregator is executed.
- order
Orders the returned data points. This sorting is done before any aggregators are executed.
- excludeTags
By default, the result of the query includes tags and tag values associated with the data points. If
excludeTags
is set to true, the tags will be excluded from the response.- plugins
optional plugin references to customize the behavior of the query on this metric
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val aggregators: Seq[Aggregator]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val excludeTags: Boolean
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val groupBys: Seq[GroupBy]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val limit: Option[Int]
- val metricName: MetricName
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val order: Order
- val plugins: Seq[QueryPlugin]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tags: Seq[QueryTag]
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated