Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindClosestAllowedIntervalMS ¶
FindClosestAllowedIntervalMS is used for the auto time grain setting. It finds the closest time grain from the list of allowed time grains for Azure Monitor using the Grafana interval in milliseconds Some metrics only allow a limited list of time grains. The allowedTimeGrains parameter allows overriding the default list of allowed time grains.
func SetAutoTimeGrain ¶
SetAutoTimeGrain tries to find the closest interval to the query's intervalMs value if the metric has a limited set of possible intervals/time grains then use those instead of the default list of intervals
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.