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

Improve UI for info messages #174

Merged
merged 1 commit into from
Jun 29, 2021
Merged

Improve UI for info messages #174

merged 1 commit into from
Jun 29, 2021

Conversation

jcreixell
Copy link
Contributor

  • In addition to reporting errors, it can be useful to use periskop to
    report events of interest that are not necessarily errors. Combined
    with the sampling capabilities of periskop and the HTTP context, it
    can be useful to debug rare events and a better alternative to
    grepping through logs.
  • This change demonstrates the usage of info messages and improves the
    UI to hide missing optional fields like 'class'.
  • Changes in client libraries will follow to facilitate creating these
    kinds of info messages directly from code.

  - In addition to reporting errors, it can be useful to use periskop to
    report events of interest that are not necessarily errors. Combined
    with the sampling capabilities of periskop and the HTTP context, it
    can be useful to debug rare events and a better alternative to
    grepping through logs.
  - This change demonstrates the usage of info messages and improves the
    UI to hide missing optional fields like 'class'.
  - Changes in client libraries will follow to facilitate creating these
    kinds of info messages directly from code.
@jcreixell jcreixell requested review from rciovati and marctc June 29, 2021 09:06
"total_count": 1,
"severity": "info",
"created_at": "2019-09-15T11:46:25.333Z",
"latest_errors": [
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for info messages "error" is not the best name (maybe events would be better), but changing it will imply a breaking API change and will need to be considered carefully

@jcreixell jcreixell merged commit ba6fa73 into master Jun 29, 2021
@jcreixell jcreixell deleted the info-messages branch June 29, 2021 10:03
jcreixell added a commit to periskop-dev/periskop-scala that referenced this pull request Jun 30, 2021
  - Periskop's aggregation logic in combination with the ability to
    collect HTTP contexts makes it a very powerful tool to expose events
    of interest beyond regular exceptions. Examples include
    branch-and-compare diffs and inconsistency detection.
  - This change introduces ExceptionOccurrence as a type representing
    both regular messages and exceptions.
  - Periskop has already been updated to handle these cases nicely.
  - See periskop-dev/periskop#174
jcreixell added a commit to periskop-dev/periskop-scala that referenced this pull request Jun 30, 2021
* Add support to collect messages wihout throwables

  - Periskop's aggregation logic in combination with the ability to
    collect HTTP contexts makes it a very powerful tool to expose events
    of interest beyond regular exceptions. Examples include
    branch-and-compare diffs and inconsistency detection.
  - This change introduces ExceptionOccurrence as a type representing
    both regular messages and exceptions.
  - Periskop has already been updated to handle these cases nicely.
  - See periskop-dev/periskop#174
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants