Skip to content

data

Index

Fields

fn withDatasourceUid

withDatasourceUid(value)

PARAMETERS:

  • value (string)

Grafana data source unique identifier; it should be 'expr' for a Server Side Expression operation.

fn withModel

withModel(value)

PARAMETERS:

  • value (object)

JSON is the raw JSON query and includes the above properties as well as custom properties.

fn withModelMixin

withModelMixin(value)

PARAMETERS:

  • value (object)

JSON is the raw JSON query and includes the above properties as well as custom properties.

fn withQueryType

withQueryType(value)

PARAMETERS:

  • value (string)

QueryType is an optional identifier for the type of query. It can be used to distinguish different types of queries.

fn withRefId

withRefId(value)

PARAMETERS:

  • value (string)

RefID is the unique identifier of the query, set by the frontend call.

fn withRelativeTimeRange

withRelativeTimeRange(value)

PARAMETERS:

  • value (object)

RelativeTimeRange is the per query start and end time for requests.

fn withRelativeTimeRangeMixin

withRelativeTimeRangeMixin(value)

PARAMETERS:

  • value (object)

RelativeTimeRange is the per query start and end time for requests.

obj relativeTimeRange

fn relativeTimeRange.withFrom

relativeTimeRange.withFrom(value)

PARAMETERS:

  • value (integer)

A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years.

fn relativeTimeRange.withTo

relativeTimeRange.withTo(value)

PARAMETERS:

  • value (integer)

A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years.