TopQueries interface

A database query.

Properties

aggregationFunction

The function that is used to aggregate each query's metrics. NOTE: This property will not be serialized. It can only be populated by the server.

executionType

The execution type that is used to filter the query instances that are returned. NOTE: This property will not be serialized. It can only be populated by the server.

intervalType

The duration of the interval (ISO8601 duration format). NOTE: This property will not be serialized. It can only be populated by the server.

numberOfTopQueries

The number of requested queries. NOTE: This property will not be serialized. It can only be populated by the server.

observationEndTime

The end time for queries that are returned (ISO8601 format) NOTE: This property will not be serialized. It can only be populated by the server.

observationStartTime

The start time for queries that are returned (ISO8601 format) NOTE: This property will not be serialized. It can only be populated by the server.

observedMetric

The type of metric to use for ordering the top metrics. NOTE: This property will not be serialized. It can only be populated by the server.

queries

The list of queries. NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

aggregationFunction

The function that is used to aggregate each query's metrics. NOTE: This property will not be serialized. It can only be populated by the server.

aggregationFunction?: QueryAggregationFunction

Property Value

executionType

The execution type that is used to filter the query instances that are returned. NOTE: This property will not be serialized. It can only be populated by the server.

executionType?: QueryExecutionType

Property Value

intervalType

The duration of the interval (ISO8601 duration format). NOTE: This property will not be serialized. It can only be populated by the server.

intervalType?: string

Property Value

string

numberOfTopQueries

The number of requested queries. NOTE: This property will not be serialized. It can only be populated by the server.

numberOfTopQueries?: number

Property Value

number

observationEndTime

The end time for queries that are returned (ISO8601 format) NOTE: This property will not be serialized. It can only be populated by the server.

observationEndTime?: Date

Property Value

Date

observationStartTime

The start time for queries that are returned (ISO8601 format) NOTE: This property will not be serialized. It can only be populated by the server.

observationStartTime?: Date

Property Value

Date

observedMetric

The type of metric to use for ordering the top metrics. NOTE: This property will not be serialized. It can only be populated by the server.

observedMetric?: QueryObservedMetricType

Property Value

queries

The list of queries. NOTE: This property will not be serialized. It can only be populated by the server.

queries?: QueryStatistic[]

Property Value