forked from galaxydi/go-loghub
-
Notifications
You must be signed in to change notification settings - Fork 114
/
config.go
40 lines (33 loc) · 1.3 KB
/
config.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package sls
const (
version = "0.6.0" // SDK version
signatureMethod = "hmac-sha1" // Signature method
// OffsetNewest stands for the log head offset, i.e. the offset that will be
// assigned to the next message that will be produced to the shard.
OffsetNewest = "end"
// OffsetOldest stands for the oldest offset available on the logstore for a
// shard.
OffsetOldest = "begin"
// ProgressHeader stands for the progress header in GetLogs response
ProgressHeader = "X-Log-Progress"
ProcessedRows = "x-log-processed-rows"
ProcessedBytes = "x-log-processed-bytes"
ElapsedMillisecond = "x-log-elapsed-millisecond"
TelemetryType = "x-tlm-type"
WhereQuery = "x-log-where-query"
AggQuery = "x-log-agg-query"
CpuSec = "x-log-cpu-sec"
CpuCores = "x-log-cpu-cores"
PowerSql = "x-log-power-sql"
InsertedSql = "x-log-insertedsql"
// GetLogsCountHeader stands for the count header in GetLogs response
GetLogsCountHeader = "X-Log-Count"
// RequestIDHeader stands for the requestID in all response
RequestIDHeader = "x-log-requestid"
GetLogsQueryInfo = "X-Log-Query-Info"
BodyRawSize = "X-Log-Bodyrawsize"
HasSQLHeader = "x-log-has-sql"
ETLVersion = 2
ETLType = "ETL"
ETLSinksType = "AliyunLOG"
)