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

Console instrumentation: send a Faro error for console.error logs #703

Merged

Conversation

codecapitano
Copy link
Collaborator

Why

The console instrumentation sends a log message for each console log level.

For console.error() logs this behavior oftentimes lead to confusion because users expect it to be send as an error and available in the dedicated errors overviews in Grafana cloud.

Faro now sends a error log in case of a console.error message.

What

  • Send an error log if log level is error

Links

Checklist

  • Tests added
  • Changelog updated
  • Documentation updated

@codecapitano codecapitano force-pushed the console-instrumentation-send-error-for-console.error-logs branch from cf63de7 to 6f11ab9 Compare October 10, 2024 12:44
@codecapitano codecapitano self-assigned this Oct 10, 2024
@codecapitano codecapitano added the improvement Request a change of an existing feature label Oct 10, 2024
@codecapitano codecapitano changed the title improvement(Console instr.): send a Faro error for console.error logs Console instrumentation: send a Faro error for console.error logs Oct 10, 2024
@codecapitano codecapitano merged commit a43406f into main Oct 11, 2024
2 checks passed
@codecapitano codecapitano deleted the console-instrumentation-send-error-for-console.error-logs branch October 11, 2024 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Request a change of an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants