forked from leboncoin/zoekt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Datadog tracer as a supported tracer (sourcegraph#315)
Co-authored-by: Keegan Carruthers-Smith <[email protected]> Zoekt will use the Datadog tracer when the env var DD_ENV is set. That env var will also enable the Datadog Continous profiler in its low overhead mode.
- Loading branch information
Showing
5 changed files
with
190 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package main | ||
|
||
import ( | ||
"flag" | ||
"testing" | ||
) | ||
|
||
func TestLogDirFlag(t *testing.T) { | ||
|
||
logDirFlag := flag.Lookup("log_dir") | ||
if logDirFlag == nil { | ||
t.Fatal("log_dir flag not found, this breaks OSS users. Was a dependency modified?") | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.