Created
March 3, 2020 02:41
-
-
Save willthames/8083179ec73962820f380a441048ec6d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
log_by_lua_block { | |
local tokenize = require('tokenize') | |
ngx.var.tokenized_uri = tokenize.tokenize(ngx.var.uri) | |
} | |
opentracing_operation_name "$request_method $tokenized_uri"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment