Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example PR for demo #11688

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/tracing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ One way to generate traces locally today is with the OCR2 basic smoke test.
Core and the median plugins are instrumented with open telemetry traces, which are sent to the OTEL collector and forwarded to the Tempo backend. The grafana UI can then read the trace data from the Tempo backend.



## CI environment

Another way to generate traces is by enabling traces for PRs. This will instrument traces for `TestOCRv2Basic` in the CI run.
Expand Down
5 changes: 5 additions & 0 deletions core/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
}

func Main() (code int) {
randomChange()

Check failure on line 29 in core/main.go

View workflow job for this annotation

GitHub Actions / lint

Error return value is not checked (errcheck)
recovery.ReportPanics(func() {
app := cmd.NewApp(newProductionClient())
if err := app.Run(os.Args); err != nil {
Expand All @@ -50,3 +51,7 @@
PasswordPrompter: cmd.NewPasswordPrompter(),
}
}

func randomChange() error {
return nil
}
Loading