add signoz
This commit is contained in:
parent
53a1c17064
commit
3f21455e3b
|
@ -24,7 +24,7 @@ var (
|
|||
// Init ...
|
||||
func Init(appName, server string) {
|
||||
cfg := zap.Config{
|
||||
Encoding: "console",
|
||||
Encoding: "json",
|
||||
Level: zap.NewAtomicLevelAt(zapcore.DebugLevel),
|
||||
OutputPaths: []string{"stdout"},
|
||||
InitialFields: map[string]interface{}{"server": server, "capture": appName},
|
||||
|
|
Loading…
Reference in New Issue