feat: add a new single-line formatter for console_exporter
This commit is contained in:
1 parent
dc4d3942f5
commit
64e531e733
2 files changed
+105
No files matched your search
@@ -26,8 +26,11 @@ func main() {
|
||||
|
||||
envFilter := "OBSERVER_CONSOLE"
|
||||
|
||||
singlelineFmt := console_exporter.NewSimpleSinglelineFormatter()
|
||||
|
||||
exps = append(exps, exporters.DevConsoleExporter(console_exporter.ProcessorOptions{
|
||||
FilterFromEnvVar: &envFilter,
|
||||
TraceFormatter: &singlelineFmt,
|
||||
}))
|
||||
|
||||
gelfExp, err := exporters.GelfExporter()
|
||||
|
||||
Reference in new issue
Block a user