fix: use consistent tracer name (#4117)

This commit is contained in:
Colin Adler
2022-09-19 13:46:26 -05:00
committed by GitHub
parent 794b88fab4
commit 153e96f574
3 changed files with 13 additions and 7 deletions

View File

@ -5,6 +5,8 @@ import (
"strings"
)
const TracerName = "coderd"
func FuncName() string {
fnpc, _, _, ok := runtime.Caller(1)
if !ok {