x1ongzhu 4750177287 first commit 6 лет назад
..
agent 4750177287 first commit 6 лет назад
cmd 4750177287 first commit 6 лет назад
collector 4750177287 first commit 6 лет назад
conf 4750177287 first commit 6 лет назад
dao 4750177287 first commit 6 лет назад
model 4750177287 first commit 6 лет назад
pkg 4750177287 first commit 6 лет назад
server 4750177287 first commit 6 лет назад
BUILD 4750177287 first commit 6 лет назад
CHANGELOG.md 4750177287 first commit 6 лет назад
CONTRIBUTORS.md 4750177287 first commit 6 лет назад
OWNERS 4750177287 first commit 6 лет назад
README.md 4750177287 first commit 6 лет назад

README.md

dapper-collector 收集 trace 数据写入 influxdb 与 HBase

Influxdb 存储格式

measurement tags fields
span service_name,operation_name,peer.service,span.kind max_duration,min_duration,avg_duration,errors

HBase 存储格式

dapper:listidx

rowkey cf:kind:d:{duration nanosecond} cf:kind:e:{span_id}
hex(hash({service_name})hex(hash({operation_name}))){timestamp/5} hex({trace_id}):hex({span_id}) hex({trace_id})
create 'dapper:listidx', {NAME=>'kind', VERSION=>1, TTL=>604800}

dapper:rawtrace

rowkey cf:pb:hex({spanid}){c,s}
hex({trace_id}) protobuf({raw_data})
create 'dapper:rawtrace', {NAME=>'pb', VERSION=>1, TTL=>604800}