Documentation
¶
Overview ¶
Package migration handles any migrations needed to maintain compatibility
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAndPerformDefaultGroupMigration ¶
func CheckAndPerformDefaultGroupMigration()
CheckAndPerformDefaultGroupMigration checks if default group migration is needed and performs it This is called once at application startup
func CheckAndPerformMiddlewareTelemetryMigration ¶ added in v0.8.0
func CheckAndPerformMiddlewareTelemetryMigration()
CheckAndPerformMiddlewareTelemetryMigration checks if middleware telemetry migration is needed and performs it. This migration ensures middleware-based telemetry configs are properly migrated. It handles any additional middleware telemetry configuration migrations beyond the samplingRate conversion. It repeats performTelemetryConfigMigration, because an earlier iteration did not migrate middleware telemetry configs.
func CheckAndPerformTelemetryConfigMigration ¶ added in v0.7.0
func CheckAndPerformTelemetryConfigMigration()
CheckAndPerformTelemetryConfigMigration checks if telemetry config migration is needed and performs it. This migration converts telemetry_config.samplingRate from float64 to string in run configs. It handles both deprecated top-level telemetry_config and middleware-based telemetry configs.
Types ¶
type DefaultGroupMigrator ¶
type DefaultGroupMigrator struct {
// contains filtered or unexported fields
}
DefaultGroupMigrator handles the migration of workloads and clients to the default group