Commit c8f64a09 authored by jingbo.wang's avatar jingbo.wang

options全部屏蔽

parent d459acde
...@@ -45,7 +45,7 @@ func msgInfluxProcess(traceMsgs []end_points.TraceMsg) { ...@@ -45,7 +45,7 @@ func msgInfluxProcess(traceMsgs []end_points.TraceMsg) {
continue continue
} }
path := traceMsg.Name path := traceMsg.Name
if strings.ToLower(path) == "options" { if strings.ToLower(traceMsg.Tags.HttpMethod) == "options" {
continue continue
} }
if _, ok := httpMethod[path]; ok { if _, ok := httpMethod[path]; ok {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment