Compare commits
2 Commits
efa92a73bd
...
cbfa97d480
Author | SHA1 | Date | |
---|---|---|---|
|
cbfa97d480 | ||
|
dc95d8d3bb |
@@ -43,4 +43,9 @@ go run ./tesseract/genconf/main.go -c config.yaml gen-env
|
||||
go run ./tesseract/genconf/main.go -c config.yaml gen-html
|
||||
```
|
||||
|
||||
This generates `index.html`, `log.v3.json`, `.env`, and `roots.pem` files in each log's directory.
|
||||
5. **Generate nginx configuration files:**
|
||||
```bash
|
||||
go run ./tesseract/genconf/main.go -c config.yaml gen-nginx
|
||||
```
|
||||
|
||||
You can symlink the generated $monitoringprefix.conf files from `/etc/nginx/sites-enabled/`
|
||||
|
@@ -45,7 +45,7 @@ func generateEnv(yamlFile string) {
|
||||
}
|
||||
|
||||
tesseractArgs := strings.Join(args, " ")
|
||||
envContent := fmt.Sprintf("TESSERACT_ARGS=\"%s\"\n", tesseractArgs)
|
||||
envContent := fmt.Sprintf("TESSERACT_ARGS=\"%s\"\nOTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318\n", tesseractArgs)
|
||||
|
||||
err = os.WriteFile(envPath, []byte(envContent), 0644)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user