Skip to content

v0.3.0

Compare
Choose a tag to compare
@qiansheng91 qiansheng91 released this 23 Aug 01:56
· 7 commits to master since this release

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"
        },
	}
}