config.go 864 B

123456789101112131415161718192021222324252627282930313233343536
  1. package hiedabke_alisls
  2. type AliSLSConfig struct {
  3. DebugMode bool
  4. AccessKeyID string
  5. AccessKeySecret string
  6. Endpoint string
  7. Project string
  8. Logstore string
  9. Topic string
  10. Hostname string
  11. AppName string
  12. SourceIP string
  13. }
  14. type AliSLSConfigExtend struct {
  15. TotalSizeLnBytes int64
  16. MaxIoWorkerCount int64
  17. MaxBlockSec int
  18. MaxBatchSize int64
  19. MaxBatchCount int
  20. LingerMs int64
  21. Retries int
  22. MaxReservedAttempts int
  23. BaseRetryBackoffMs int64
  24. MaxRetryBackoffMs int64
  25. AdjustShargHash bool
  26. Buckets int
  27. AllowLogLevel string
  28. LogFileName string
  29. IsJsonType bool
  30. LogMaxSize int
  31. LogMaxBackups int
  32. LogCompress bool
  33. NoRetryStatusCodeList []int
  34. }