influxdb/kv/migration/all/0010_add-index-telegraf-by-...

10 lines
331 B
Go

package all
import (
"github.com/influxdata/influxdb/v2/kv"
"github.com/influxdata/influxdb/v2/telegraf"
)
// Migration0010_AddIndexTelegrafByOrg adds the index telegraf configs by organization ID
var Migration0010_AddIndexTelegrafByOrg = kv.NewIndexMigration(telegraf.ByOrganizationIndexMapping, kv.WithIndexMigrationCleanup)