Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Integralist
Copy link
Collaborator

@Integralist Integralist commented Apr 17, 2023

Problem: reporting Fastly API errors to Sentry exhausts service limits.
Solution: only report errors that are actual Fastly CLI logic bugs (as those are actionable errors).
Note: the primary affected file is pkg/errors/log.go as that filters out errors before sending to Sentry.

The behaviour is now reversed. We no longer default to sending all errors to
Sentry. Instead, for each error report, we must opt-in to sending the error to
Sentry. This is because the majority of errors instrumented are Fastly API
errors and these are not actionable as far as the Fastly CLI is concerned.
@Integralist Integralist added the enhancement New feature or request label Apr 17, 2023
@Integralist Integralist force-pushed the integralist/skip-logging-api-errors branch from 5986bb8 to 3260ed5 Compare April 17, 2023 10:35
@Integralist Integralist merged commit 183e759 into main Apr 17, 2023
@Integralist Integralist deleted the integralist/skip-logging-api-errors branch April 17, 2023 10:58
@Integralist Integralist changed the title fix(errors/log): support allowing errors to Sentry fix(errors/log): support filtering errors to Sentry Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants