func SqsURL() string {
	env, _ := getStringEnv("SQS_URL")
	return env
}
SqsURL return sqs url to post events
package config
import (
	"errors"
	"os"
	"strconv"
	"strings"
)
var errMsgVar = errors.New("getenv: env variable not exist")
func getStringEnv(key string) (string, error) {
	env := os.Getenv(key)
	if len(env) == 0 {
		return env, errMsgVar
	}
	return env, nil
}
func getIntEnv(key string) (int64, error) {
	env := os.Getenv(key)
	if len(env) == 0 {
		return 0, errMsgVar
	}
	envResult, err := strconv.ParseInt(env, 10, 64)
	if err != nil {
		return 0, err
	}
	return envResult, nil
}
func getBoolEnv(key string) (bool, error) {
	env := os.Getenv(key)
	if len(env) == 0 {
		return false, errMsgVar
	}
	envResult, err := strconv.ParseBool(env)
	if err != nil {
		return false, err
	}
	return envResult, nil
}
func getArryStringEnv(key string) ([]string, error) {
	env := os.Getenv(key)
	if len(env) == 0 {
		return nil, errMsgVar
	}
	envResult := strings.FieldsFunc(env, func(r rune) bool {
		if r == ',' {
			return true
		}
		return false
	})
	return envResult, nil
}
func DataPointConfig() int64 {
	env, _ := getIntEnv("DATA_POINT_CONFIG")
	if env == 0 {
		env = 30
	}
	return env
}
func StatisticConfig() string {
	env, _ := getStringEnv("STATISTIC_CONFIG")
	if len(env) == 0 {
		env = "Average"
	}
	return env
}
func FleetTypeConfig() string {
	env, _ := getStringEnv("FLEET_TYPE_CONFIG")
	if len(env) <= 1 {
		env = "FleetRequestId"
	}
	return env
}
func IDmetricConfig() string {
	env, _ := getStringEnv("ID_METRIC_CONFIG")
	if len(env) <= 1 {
		env = "metric"
	}
	return env
}
func ScantypeConfig() string {
	env, _ := getStringEnv("SCAN_TYPE_CONFIG")
	if len(env) <= 1 {
		env = "TimestampDescending"
	}
	return env
}
func MetricnameConfig() string {
	env, _ := getStringEnv("METRIC_NAME_CONFIG")
	if len(env) <= 1 {
		env = "PendingCapacity"
	}
	return env
}
func NamespaceConfig() string {
	env, _ := getStringEnv("NAMESPACE_CONFIG")
	if len(env) <= 1 {
		env = "AWS/EC2Spot"
	}
	return env
}
func UnitConfig() string {
	env, _ := getStringEnv("UNIT_CONFIG")
	if len(env) <= 1 {
		env = "Count"
	}
	return env
}
func TimeToConfig() int64 {
	env, _ := getIntEnv("TIME_TO_CONFIG")
	if env <= 1 {
		env = 5
	}
	return env
}
func SpeedConfig() int64 {
	env, _ := getIntEnv("SPEED_CONFIG")
	if env <= 1 {
		env = 10
	}
	return env
}
func DividerConfig() int64 {
	env, _ := getIntEnv("DIVIDER_CONFIG")
	if env == 0 {
		env = 4
	}
	return env
}
func FleetIgnored() []string {
	env, _ := getArryStringEnv("FLEET_IGNORED")
	return env
}
func EnableEventsOnSqs() bool {
	env, _ := getBoolEnv("ENABLE_EVENTS_ON_SQS")
	return env
}