mirror of
https://github.com/hanzoai/otel-collector.git
synced 2026-11-03 02:20:04 +00:00
- Go module: github.com/SigNoz/signoz-otel-collector → github.com/hanzoai/otel-collector - All signoz-prefixed packages → o11y-prefixed - Docker: signoz/* → ghcr.io/hanzoai/otel-collector - ClickHouse exporter → Hanzo Datastore - Env vars: SIGNOZ_* → HANZO_* - Directory renames for all processor/receiver/exporter packages
18 lines
561 B
Go
18 lines
561 B
Go
package migrate
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
"go.uber.org/zap"
|
|
)
|
|
|
|
func registerAsync(parentCmd *cobra.Command, logger *zap.Logger) {
|
|
asyncCommand := &cobra.Command{
|
|
Use: "async",
|
|
Short: "Runs 'async' migrations for the store. Async migrations are used to apply new migrations to the store asynchronously. These include data migrations or mutations which can be applied in the background without blocking the application.",
|
|
}
|
|
|
|
registerAsyncCheck(asyncCommand, logger)
|
|
registerAsyncUp(asyncCommand, logger)
|
|
parentCmd.AddCommand(asyncCommand)
|
|
}
|