Set the default telemetry interval
StackState Self-hosted v5.1.x
Overview
The telemetry interval specifies the time window for which events, metrics and traces are available in the StackState perspectives. It runs from left to right on the timeline at the bottom of the StackState UI. By default, the telemetry interval active when opening a view or explore mode is set to a relative time period, showing telemetry data from the last hour. If required, you can configure StackState to use a different default telemetry interval.
![](https://docs.stackstate.com/~gitbook/image?url=https%3A%2F%2F2702698828-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ft9xRpVRApnyVQrX3f8HH%252Fuploads%252Fgit-blob-34cb5bb852b3cc202fd2651cbdf5b441741d6ddc%252Fv51_telemetry_interval.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=b2b2a6a2&sv=1)
Customise the default telemetry interval
You can configure the default telemetry interval used in StackState with the parameter defaultTimeRange
. The configured value will then be applied automatically when a view or explore mode is opened.
A telemetry interval specified by a user in the StackState UI will override the default telemetry interval and will be applied to each subsequent view opened.
The default telemetry interval can be set to any of the following values:
LAST_5_MINUTES
LAST_15_MINUTES
LAST_30_MINUTES
LAST_1_HOUR
(default value)LAST_3_HOURS
LAST_6_HOURS
LAST_12_HOURS
LAST_24_HOURS
LAST_2_DAYS
LAST_7_DAYS
LAST_30_DAYS
Any other value will be ignored and converted to the default value (LAST_1_HOUR
).
To set a custom default telemetry interval, add the following to the values.yaml
file used to deploy StackState:
See also
Last updated