v0.3.0
Support generating the specific tag for span according to specific rules.
The rule file can be passed by --aliyun-log.tag-appender-rules
flag ,Here is the format of rule file
{
// this example shows that db.system tag will be set and the tag value will be set elasticsearch when the span name prefix is elastic-POST
"OperationWithPrefix": {
"elastic-POST": {
"db.system": "elasticsearch"
}
},
// this example shows that db.system tag will be set and the tag value will be set database when the span contains the db.instance tag
"Tags": {
"db.instance": {
"db.system": "database"
},
}
}