package datasource

import "strings"

const (
	ComponentType = "component_type"
	InstanceName  = "instance_name"

	LabelComponent = "component"
	LabelInstance  = "instance"
	LabelCluster   = "cluster_name"
	LabelSQLType   = "sql_type"
	LabelType      = "type"
	LabelLE        = "le"
)

func UnifyDBName(i string) string {
	return strings.TrimLeft(i, "db-")
}
