Skip to content

Insights logging issues #206

@joshuap

Description

@joshuap

A few issues that we found today:

  1. When the Insights API is rate limited, the current error message says it's the exceptions API. We should say which API is being rate limited, and also check our other service errors for similar issues now that we have two APIs.
  2. Our service_exception_handler for Laravel currently warns the logger by default, and it includes the error stack trace—which can result in a lot of logging when Insights events are throttled. We should remove the stack trace from these log messages to reduce the amount of data we're logging.
  3. Similar to 2, we should add some throttling to our logging so that we don't spam the logs as much when the errors or Insights events APIs are severely throttled. Vector does it this way according to @stympy.

@subzero10 can you break this up into separate issues when you get the chance? 1 and 2 are the most important. I think 3 could happen after you look into #203.

Front logo Front conversations

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions