Fixing the metric tagging issue here (#1986)
Co-authored-by: chris <chris@Profanity.local>
This commit is contained in:
@@ -40,7 +40,7 @@ func (w *Wrapper) HandlerFunc(handlerFunction server.HandlerFunc) server.Handler
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
tags["result"] = "failure"
|
tags["result"] = "failure"
|
||||||
} else {
|
} else {
|
||||||
tags["result"] = "failure"
|
tags["result"] = "success"
|
||||||
}
|
}
|
||||||
|
|
||||||
// Instrument the result (if the DefaultClient has been configured):
|
// Instrument the result (if the DefaultClient has been configured):
|
||||||
|
|||||||
Reference in New Issue
Block a user