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

In metrics, specify semgrep core error types #4156

Merged
merged 3 commits into from Oct 27, 2021
Merged

Conversation

emjin
Copy link
Contributor

@emjin emjin commented Oct 27, 2021

Differentiate between SemgrepError types in reported metrics (e.g. Timeout, MaxMemory, etc)

Fixes https://linear.app/r2c/issue/PA-560/semgrep-core-errors-all-appear-as-semgrepcoreerror-in-metrics

Test plan: semgrep --config tests/e2e/rules/long.yaml tests/e2e/targets/equivalence/ --metrics on --timeout 1

PR checklist:

  • Documentation is up-to-date
  • Changelog is up-to-date
  • Change has no security implications (otherwise, ping security team)

@emjin emjin merged commit b2d6162 into develop Oct 27, 2021
@emjin emjin deleted the EJ-560-specify-error-type branch October 27, 2021 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants