migration

package
v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package migration handles any migrations needed to maintain compatibility

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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.

func EnsureDefaultGroupExists added in v0.10.1

func EnsureDefaultGroupExists()

EnsureDefaultGroupExists ensures the default group exists, creating it if necessary. This is called at application startup for fresh installs and is a no-op when the group already exists (e.g. after a previous migration or existing setup).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL