Traces can be viewed in the Traces Perspective screen in the StackState UI. To enable tracing, you first need to install the StackState Agent V2 StackPack and configure one or more tracing integrations, see how to set up traces. This page describes how to override the default tracing configuration and hide traces from the StackState UI.
Note that it is not advised to change the default configuration for tracing.
It is not advised to change the default settings for retention!
Retention limits specify the index size of StackState and how long data is stored. Changing the default value here can lead to reduced stability and may cause trace and topology data to go out of sync.
If required, overrides to the default retention limits can be placed in the file etc/kafka-to-es/application.conf:
stackstate.kafkaTraceToES.elasticsearch.index.splittingStrategy = "days" // defines the unit of time for which data is retained
stackstate.kafkaTraceToES.elasticsearch.index.maxIndicesRetained = 8 // defines the total number of time units to be retained, e.g. 8 days