Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-53551

Map log levels sent to Sentry

    XMLWordPrintable

Details

    • Evergreen - Milestone 2

    Description

      We have errors in Sentry about the log levels we send

      This is because only the following levels are allowed/understood in Sentry (https://docs.sentry.io/clients/node/usage/#raven-node-additional-data):

      Sentry is aware of the following levels:

      • debug (the least serious)
      • info
      • warning
      • error
      • fatal (the most serious)

      Expected behavior

      We should send levels that Sentry understands, and map the levels we currently send as-is extracted from Java.

      As we only send >= WARNING anyway, we mainly (only?) have to map severe to fatal.

      Attachments

        Activity

          batmat Baptiste Mathus created issue -
          batmat Baptiste Mathus made changes -
          Field Original Value New Value
          Sprint Evergreen - Milestone 2 [ 516 ]
          batmat Baptiste Mathus made changes -
          Attachment screenshot-1.png [ 44471 ]
          batmat Baptiste Mathus made changes -
          Description h3. We have errors in Sentry about the log levels we send

          h3. We have errors in Sentry about the log levels we send

          !screenshot-1.png!

          This is because only the following levels are allowed/understood in Sentry ([https://docs.sentry.io/clients/node/usage/#raven-node-additional-data):]
          {quote}Sentry is aware of the following levels:
           * debug (the least serious)
           * info
           * warning
           * error
           * fatal (the most serious){quote}
          h3. Expected behavior

          We should send levels that Sentry understands, and map the levels we currently send as-is extracted from Java.

          As we only send >= WARNING anyway, we mainly (only?) have to map {{severe}} to {{fatal}}.
          rtyler R. Tyler Croy made changes -
          Assignee R. Tyler Croy [ rtyler ] Baptiste Mathus [ batmat ]
          rtyler R. Tyler Croy made changes -
          Rank Ranked higher
          batmat Baptiste Mathus made changes -
          Labels evergreen sentry evergreen newbie-friendly sentry
          batmat Baptiste Mathus made changes -
          Assignee Baptiste Mathus [ batmat ] R. Tyler Croy [ rtyler ]
          batmat Baptiste Mathus made changes -
          Assignee R. Tyler Croy [ rtyler ]
          joschi Jochen Schalanda added a comment - I gave this one a try in  https://github.com/jenkins-infra/evergreen/pull/328 .
          joschi Jochen Schalanda made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          joschi Jochen Schalanda made changes -
          Assignee Jochen Schalanda [ joschi ]
          batmat Baptiste Mathus made changes -
          Status In Progress [ 3 ] In Review [ 10005 ]

          This has been merged and deployed. Closing. Thanks again joschi

          batmat Baptiste Mathus added a comment - This has been merged and deployed. Closing. Thanks again joschi
          batmat Baptiste Mathus made changes -
          Resolution Fixed [ 1 ]
          Status In Review [ 10005 ] Closed [ 6 ]
          johanc Johan Cornelissen made changes -
          Rank Ranked lower

          People

            joschi Jochen Schalanda
            batmat Baptiste Mathus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: