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

Tracing startup should retry on error #193

Open
cohix opened this issue May 5, 2022 · 1 comment
Open

Tracing startup should retry on error #193

cohix opened this issue May 5, 2022 · 1 comment
Assignees

Comments

@cohix
Copy link
Contributor

cohix commented May 5, 2022

May 05 21:54:40 data-stg-da-0 constd[1168]: Error: atmo.New: setupTracing(atmo, reporter_uri, 0.040000): collectorExporterOptions: grpc.DialContext: context deadline exceeded
May 05 21:54:40 data-stg-da-0 constd[1168]: Usage:
May 05 21:54:40 data-stg-da-0 constd[1168]:   atmo [bundle-path] [flags]
May 05 21:54:40 data-stg-da-0 constd[1168]: Flags:
May 05 21:54:40 data-stg-da-0 constd[1168]:   -h, --help      help for atmo
May 05 21:54:40 data-stg-da-0 constd[1168]:   -v, --version   version for atmo
May 05 21:54:40 data-stg-da-0 constd[1168]:       --wait      if passed, Atmo will wait until a bundle becomes available on disk, checking once per second
May 05 21:54:41 data-stg-da-0 constd[1074]: {"log_message":"(E) failed to getReport for 8080: failed to Do metrics request: Get \"http://localhost:8080/meta/metrics\": dial tcp [::1]:8080: connect: connection refused","timestamp":"2022-05-05T21:54:41.169266543Z","level":1}
@cohix
Copy link
Contributor Author

cohix commented May 5, 2022

When that error occurs, we should instead retry on a backoff a reasonable number of times before dying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants