Skip to content

Commit

Permalink
disable logs temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
kenanfarukcakir committed Aug 16, 2024
1 parent 97a0ff9 commit 700bacb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,12 @@ func main() {

tracingEnabled, err := strconv.ParseBool(os.Getenv("TRACING_ENABLED"))
metricsEnabled, _ := strconv.ParseBool(os.Getenv("METRICS_ENABLED"))
logsEnabled, _ := strconv.ParseBool(os.Getenv("LOGS_ENABLED"))
// logsEnabled, _ := strconv.ParseBool(os.Getenv("LOGS_ENABLED"))

// Temporarily closed until otlp export's cpu performance problem is resolved
// https://github.com/getanteon/alaz/tree/feat/logs-in-otlp
// https://github.com/open-telemetry/opentelemetry-go/issues/5196
logsEnabled := false

// datastore backend
dsBackend := datastore.NewBackendDS(ctx, config.BackendDSConfig{
Expand Down

0 comments on commit 700bacb

Please sign in to comment.