API Reference@grafana/data › rangeUtil

rangeUtil namespace

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

rangeUtil namespace

Import

import { rangeUtil } from '@grafana/data';

Functions

Function Description
calculateInterval(range, resolution, lowLimitInterval)
describeInterval(str)
describeTextRange(expr)
getRelativeTimesList(timepickerSettings, currentDisplay)
intervalToMs(str)
intervalToSeconds(str)
isRelativeTimeRange(raw)
roundInterval(interval)
secondsToHms(seconds)

Variables

Variable Description
convertRawToRange
describeTimeRangeAbbreviation
isValidTimeSpan