Skip to content
Merged
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
3 changes: 3 additions & 0 deletions .changes/unreleased/BUG FIXES-20260630-131853.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
kind: BUG FIXES
body: Don't attempt to retry telemetry transmission on server errors, like rate limiting 429 errors.
time: 2026-06-30T13:18:53.530515-06:00
3 changes: 1 addition & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ go run github.com/homeport/termshot/cmd/termshot@v0.6.1 -c -f ~/screenshot.png -

### PR Checklist

- [ ] Ensure you have [changie](https://changie.dev/guide/installation/) installed for release notes prep.
- [ ] Run `npx changie new` or install [changie](https://changie.dev/guide/installation/) to prepare a new changelog entry for the next set of release notes.
- [ ] Ensure any command changes are sensitive to these global flags:
- `--json` — Force machine readable output to stdout. Does not apply to stderr.
- `--markdown` — Force markdown output to stdout. Does not apply to stderr.
Expand All @@ -20,7 +20,6 @@ go run github.com/homeport/termshot/cmd/termshot@v0.6.1 -c -f ~/screenshot.png -
- [ ] Get the logging interface from the context and add debug logging for interesting conditions and nonfatal situations.
- [ ] Run `make gen/screenshot` if the root command output changes.
- [ ] Add the `Autocomplete` field to **positional arguments** and **flags** to assist shell autocomplete.
- [ ] Run `changie new` to prepare a new changelog entry for the next set of release notes.

## PCI review checklist

Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ $ tfctl --version

#### PR Preparation Checklist

1. Ensure you have [changie](https://changie.dev/guide/installation/) installed for release notes prep.
1. Run `npx changie new` to prepare a new changelog entry for the next set of release notes.
1. Ensure any command changes are sensitive to these global flags:
- `--json` — Force machine readable output to stdout. Does not apply to stderr.
- `--markdown` — Force markdown output to stdout. Does not apply to stderr.
Expand All @@ -939,4 +939,3 @@ $ tfctl --version
1. Get the logging interface from the context and add debug logging for interesting conditions and nonfatal situations.
1. Run `make gen/screenshot` if the root command output changes.
1. Add the `Autocomplete` field to positional arguments and flags to assist shell autocomplete.
1. Run `changie new` to prepare a new changelog entry for the next set of release notes.
3 changes: 3 additions & 0 deletions internal/pkg/telemetry/telemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ func Init(ctx context.Context, cfg Config) *Telemetry {
hostname := resolveEndpoint()
opts := []otlptracehttp.Option{
otlptracehttp.WithEndpoint(hostname),
otlptracehttp.WithRetry(otlptracehttp.RetryConfig{
Enabled: false,
}),
}
if strings.HasPrefix(hostname, "localhost") {
opts = append(opts, otlptracehttp.WithInsecure())
Expand Down