The retention period for Prometheus is statically set in an STF deployment to 24 hours. It should be possible for an administrator to set the Prometheus metrics retention period when deploying STF.
Merged and in upstream stable-1.2 branch
Moved back to ON_DEV due to issue in https://bugzilla.redhat.com/show_bug.cgi?id=1918781. Will require a re-spin.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Release of components for Service Telemetry Framework 1.2 - Operator Container), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2021:0649