{"id":302,"date":"2021-04-09T12:23:21","date_gmt":"2021-04-09T12:23:21","guid":{"rendered":"https:\/\/blog.spike.sh\/2021\/04\/09\/how-to-error-tracking-alerts-sentry\/"},"modified":"2025-06-06T14:04:45","modified_gmt":"2025-06-06T08:34:45","slug":"how-to-error-tracking-alerts-sentry","status":"publish","type":"post","link":"https:\/\/blog.spike.sh\/how-to-error-tracking-alerts-sentry\/","title":{"rendered":"How to Set Up Error Tracking and Alerts with Sentry"},"content":{"rendered":"\n<nav aria-label=\"Table of Contents\" class=\"wp-block-table-of-contents\"><ol><li><a class=\"wp-block-table-of-contents__entry\" href=\"https:\/\/blog.spike.sh\/how-to-error-tracking-alerts-sentry\/#installation\">Installation<\/a><\/li><li><a class=\"wp-block-table-of-contents__entry\" href=\"https:\/\/blog.spike.sh\/how-to-error-tracking-alerts-sentry\/#sentry-s-error-view\">Sentry\u2019s error view<\/a><\/li><li><a class=\"wp-block-table-of-contents__entry\" href=\"https:\/\/blog.spike.sh\/how-to-error-tracking-alerts-sentry\/#taking-actions-after-the-error\">Taking actions after the error<\/a><\/li><li><a class=\"wp-block-table-of-contents__entry\" href=\"https:\/\/blog.spike.sh\/how-to-error-tracking-alerts-sentry\/#sending-custom-messages-to-sentry\">Sending custom messages to Sentry<\/a><\/li><li><a class=\"wp-block-table-of-contents__entry\" href=\"https:\/\/blog.spike.sh\/how-to-error-tracking-alerts-sentry\/#alerts\">Alerts<\/a><\/li><li><a class=\"wp-block-table-of-contents__entry\" href=\"https:\/\/blog.spike.sh\/how-to-error-tracking-alerts-sentry\/#conclusion\">Conclusion<\/a><\/li><\/ol><\/nav>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/sentry.io\">Sentry<\/a> is one of the most popular error tracking tools, which monitors your application for errors and exceptions. Sentry also has an <a href=\"https:\/\/github.com\/getsentry\/\">open source <\/a>version of the product that you can host yourself, but today we will talk about their cloud hosted product.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"installation\"><strong>Installation<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You can install Sentry by creating a project in your Sentry account and following the installation instructions. &nbsp;In most cases, you will install the Sentry SDK on the backend or frontend (depending on your project) and start Sentry as early in your application as possible. Sentry supports 90+ platforms, so your language and framework should most likely be in the list.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"sentry-s-error-view\"><strong>Sentry\u2019s error view<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After you install Sentry, it will start tracking unhandled exceptions and sending it to your Sentry project. Here is what an error from Sentry will look like.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large kg-card kg-image-card kg-card-hascaption\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"619\" data-attachment-id=\"868\" data-permalink=\"https:\/\/blog.spike.sh\/how-to-error-tracking-alerts-sentry\/1-6\/\" data-orig-file=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/1-5.png\" data-orig-size=\"1188,718\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/1-5-1024x619.png\" src=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/1-5-1024x619.png\" alt=\"\" class=\"wp-image-868\" srcset=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/1-5-1024x619.png 1024w, https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/1-5-300x181.png 300w, https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/1-5-768x464.png 768w, https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/1-5.png 1188w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Error in Sentry<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You can see that Sentry shows a lot of valuable information for each error. Broadly, an error in Sentry will show &#8211;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Error<\/strong> information like error\/exception type and message.<\/li>\n\n\n\n<li><strong>Stack trace<\/strong> for the error which shows you code snippets of exactly where the error occurred. You will also see values of local variables in your code.<\/li>\n\n\n\n<li><strong>Environment<\/strong> information to tell you whether the error occurred in your local setup or in production.<\/li>\n\n\n\n<li><strong>Platform<\/strong> information like device, OS, browser, language etc. It will also show you the packages installed on the server and their versions.<\/li>\n\n\n\n<li><strong>User<\/strong> information shows you the users affected by this error.<\/li>\n\n\n\n<li><strong>Events<\/strong> information shows you the number of times the particular error occurred. This can help you set the priority for fixing the error. <\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The stack trace information is especially useful because it shows you the place in the code that triggered the error, and additional information from the local environment. <\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full kg-card kg-image-card kg-card-hascaption\"><img loading=\"lazy\" decoding=\"async\" width=\"836\" height=\"718\" data-attachment-id=\"869\" data-permalink=\"https:\/\/blog.spike.sh\/how-to-error-tracking-alerts-sentry\/2-6\/\" data-orig-file=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/2-5.png\" data-orig-size=\"836,718\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"2\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/2-5.png\" src=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/2-5.png\" alt=\"\" class=\"wp-image-869\" srcset=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/2-5.png 836w, https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/2-5-300x258.png 300w, https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/2-5-768x660.png 768w\" sizes=\"auto, (max-width: 836px) 100vw, 836px\" \/><figcaption class=\"wp-element-caption\">Stack trace in Sentry<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"taking-actions-after-the-error\"><strong>Taking actions after the error<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Sentry also gives you different actions you can take to track and fix the error.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Change error status<\/strong>: You can resolve, ignore or delete the error in Sentry if you think that no action is required right away.<\/li>\n\n\n\n<li><strong>Assign error<\/strong>: You can also assign the error to another team member in your Sentry account so that she can take a look at it.<\/li>\n\n\n\n<li><strong>Link error to commits<\/strong>: You can connect your continuous integration and delivery (CI\/CD) tools like Github which enables Sentry to predict which commit caused the issue. Sentry also uses this to track health of releases using metrics like usage, errors and crashes.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"sending-custom-messages-to-sentry\"><strong>Sending custom messages to Sentry<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Although Sentry captures unhandled exceptions automatically, there are cases where you want to send handled exceptions or custom messages to Sentry. The Sentry SDK provides a way to do this using the <em>capture_exception<\/em> or <em>capture_message<\/em> method. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"alerts\"><strong>Alerts<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You can set up alerts in Sentry which can notify you about issues happening in your application. You can create alert rules for whenever a new issue is created, issue frequency increases or the issue status changes from resolved to unresolved. <\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full kg-card kg-image-card kg-card-hascaption\"><img loading=\"lazy\" decoding=\"async\" width=\"963\" height=\"562\" data-attachment-id=\"870\" data-permalink=\"https:\/\/blog.spike.sh\/how-to-error-tracking-alerts-sentry\/3-4\/\" data-orig-file=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/3-3.png\" data-orig-size=\"963,562\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"3\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/3-3.png\" src=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/3-3.png\" alt=\"\" class=\"wp-image-870\" srcset=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/3-3.png 963w, https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/3-3-300x175.png 300w, https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/3-3-768x448.png 768w\" sizes=\"auto, (max-width: 963px) 100vw, 963px\" \/><figcaption class=\"wp-element-caption\">Alert rule in Sentry<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You can receive notification for these alerts on email, or you can connect tools like <a href=\"https:\/\/spike.sh\">Spike.sh<\/a>, which can send you alerts on phone call, SMS, Slack and other channels. This makes sure that important issues are attended to before they snowball into bigger problems.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\"><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Sentry&#8217;s error tracking can be extremely valuable for you to build better and error free software. If you would like to know how to connect Spike.sh with Sentry, <a href=\"https:\/\/docs.spike.sh\/integrations-guideline\/integrate-spike-with-sentry\">read this guide<\/a>, or email us at <a href=\"mailto:hello@spike.sh\">hello@spike.sh<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sentry is one of the most popular error tracking tools, which monitors your application for errors and exceptions. Sentry also has an open source version of the product that you can host yourself, but today we will talk about their cloud hosted product. Installation You can install Sentry by creating a project in your Sentry [&hellip;]<\/p>\n","protected":false},"author":263547074,"featured_media":867,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","_lmt_disableupdate":"","_lmt_disable":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[97],"tags":[],"class_list":["post-302","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorised"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Set Up Error Tracking and Alerts with Sentry<\/title>\n<meta name=\"description\" content=\"Learn error tracking and alerts with Sentry\u2014monitor exceptions, set alert rules, and integrate with Spike.sh for instant notifications.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.spike.sh\/how-to-error-tracking-alerts-sentry\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Set Up Error Tracking and Alerts with Sentry\" \/>\n<meta property=\"og:description\" content=\"Learn error tracking and alerts with Sentry\u2014monitor exceptions, set alert rules, and integrate with Spike.sh for instant notifications.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.spike.sh\/how-to-error-tracking-alerts-sentry\/\" \/>\n<meta property=\"og:site_name\" content=\"Spike&#039;s blog\" \/>\n<meta property=\"article:published_time\" content=\"2021-04-09T12:23:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-06T08:34:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/cover-2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2400\" \/>\n\t<meta property=\"og:image:height\" content=\"960\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Pruthvi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pruthvi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/how-to-error-tracking-alerts-sentry\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/how-to-error-tracking-alerts-sentry\\\/\"},\"author\":{\"name\":\"Pruthvi\",\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/#\\\/schema\\\/person\\\/2c9fa677c459b8f4fb26f1a02b90b5ec\"},\"headline\":\"How to Set Up Error Tracking and Alerts with Sentry\",\"datePublished\":\"2021-04-09T12:23:21+00:00\",\"dateModified\":\"2025-06-06T08:34:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/how-to-error-tracking-alerts-sentry\\\/\"},\"wordCount\":611,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/how-to-error-tracking-alerts-sentry\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.spike.sh\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/cover-2.png\",\"articleSection\":[\"Uncategorized\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/blog.spike.sh\\\/how-to-error-tracking-alerts-sentry\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/how-to-error-tracking-alerts-sentry\\\/\",\"url\":\"https:\\\/\\\/blog.spike.sh\\\/how-to-error-tracking-alerts-sentry\\\/\",\"name\":\"How to Set Up Error Tracking and Alerts with Sentry\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/how-to-error-tracking-alerts-sentry\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/how-to-error-tracking-alerts-sentry\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.spike.sh\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/cover-2.png\",\"datePublished\":\"2021-04-09T12:23:21+00:00\",\"dateModified\":\"2025-06-06T08:34:45+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/#\\\/schema\\\/person\\\/2c9fa677c459b8f4fb26f1a02b90b5ec\"},\"description\":\"Learn error tracking and alerts with Sentry\u2014monitor exceptions, set alert rules, and integrate with Spike.sh for instant notifications.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/how-to-error-tracking-alerts-sentry\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blog.spike.sh\\\/how-to-error-tracking-alerts-sentry\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/how-to-error-tracking-alerts-sentry\\\/#primaryimage\",\"url\":\"https:\\\/\\\/blog.spike.sh\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/cover-2.png\",\"contentUrl\":\"https:\\\/\\\/blog.spike.sh\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/cover-2.png\",\"width\":2400,\"height\":960},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/how-to-error-tracking-alerts-sentry\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/blog.spike.sh\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Set Up Error Tracking and Alerts with Sentry\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/#website\",\"url\":\"https:\\\/\\\/blog.spike.sh\\\/\",\"name\":\"Spike&#039;s blog\",\"description\":\"Learnings and opinions in a changing world\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/blog.spike.sh\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/#\\\/schema\\\/person\\\/2c9fa677c459b8f4fb26f1a02b90b5ec\",\"name\":\"Pruthvi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e9476164464b4c9fb3455f2ee4879aad90f1790dce018e71caeaca2cbd548637?s=96&d=robohash&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e9476164464b4c9fb3455f2ee4879aad90f1790dce018e71caeaca2cbd548637?s=96&d=robohash&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e9476164464b4c9fb3455f2ee4879aad90f1790dce018e71caeaca2cbd548637?s=96&d=robohash&r=g\",\"caption\":\"Pruthvi\"},\"url\":\"https:\\\/\\\/blog.spike.sh\\\/author\\\/pruthvi\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Set Up Error Tracking and Alerts with Sentry","description":"Learn error tracking and alerts with Sentry\u2014monitor exceptions, set alert rules, and integrate with Spike.sh for instant notifications.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.spike.sh\/how-to-error-tracking-alerts-sentry\/","og_locale":"en_GB","og_type":"article","og_title":"How to Set Up Error Tracking and Alerts with Sentry","og_description":"Learn error tracking and alerts with Sentry\u2014monitor exceptions, set alert rules, and integrate with Spike.sh for instant notifications.","og_url":"https:\/\/blog.spike.sh\/how-to-error-tracking-alerts-sentry\/","og_site_name":"Spike&#039;s blog","article_published_time":"2021-04-09T12:23:21+00:00","article_modified_time":"2025-06-06T08:34:45+00:00","og_image":[{"width":2400,"height":960,"url":"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/cover-2.png","type":"image\/png"}],"author":"Pruthvi","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Pruthvi","Estimated reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.spike.sh\/how-to-error-tracking-alerts-sentry\/#article","isPartOf":{"@id":"https:\/\/blog.spike.sh\/how-to-error-tracking-alerts-sentry\/"},"author":{"name":"Pruthvi","@id":"https:\/\/blog.spike.sh\/#\/schema\/person\/2c9fa677c459b8f4fb26f1a02b90b5ec"},"headline":"How to Set Up Error Tracking and Alerts with Sentry","datePublished":"2021-04-09T12:23:21+00:00","dateModified":"2025-06-06T08:34:45+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.spike.sh\/how-to-error-tracking-alerts-sentry\/"},"wordCount":611,"commentCount":0,"image":{"@id":"https:\/\/blog.spike.sh\/how-to-error-tracking-alerts-sentry\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/cover-2.png","articleSection":["Uncategorized"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.spike.sh\/how-to-error-tracking-alerts-sentry\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.spike.sh\/how-to-error-tracking-alerts-sentry\/","url":"https:\/\/blog.spike.sh\/how-to-error-tracking-alerts-sentry\/","name":"How to Set Up Error Tracking and Alerts with Sentry","isPartOf":{"@id":"https:\/\/blog.spike.sh\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.spike.sh\/how-to-error-tracking-alerts-sentry\/#primaryimage"},"image":{"@id":"https:\/\/blog.spike.sh\/how-to-error-tracking-alerts-sentry\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/cover-2.png","datePublished":"2021-04-09T12:23:21+00:00","dateModified":"2025-06-06T08:34:45+00:00","author":{"@id":"https:\/\/blog.spike.sh\/#\/schema\/person\/2c9fa677c459b8f4fb26f1a02b90b5ec"},"description":"Learn error tracking and alerts with Sentry\u2014monitor exceptions, set alert rules, and integrate with Spike.sh for instant notifications.","breadcrumb":{"@id":"https:\/\/blog.spike.sh\/how-to-error-tracking-alerts-sentry\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.spike.sh\/how-to-error-tracking-alerts-sentry\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/blog.spike.sh\/how-to-error-tracking-alerts-sentry\/#primaryimage","url":"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/cover-2.png","contentUrl":"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/cover-2.png","width":2400,"height":960},{"@type":"BreadcrumbList","@id":"https:\/\/blog.spike.sh\/how-to-error-tracking-alerts-sentry\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.spike.sh\/"},{"@type":"ListItem","position":2,"name":"How to Set Up Error Tracking and Alerts with Sentry"}]},{"@type":"WebSite","@id":"https:\/\/blog.spike.sh\/#website","url":"https:\/\/blog.spike.sh\/","name":"Spike&#039;s blog","description":"Learnings and opinions in a changing world","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.spike.sh\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/blog.spike.sh\/#\/schema\/person\/2c9fa677c459b8f4fb26f1a02b90b5ec","name":"Pruthvi","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/e9476164464b4c9fb3455f2ee4879aad90f1790dce018e71caeaca2cbd548637?s=96&d=robohash&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/e9476164464b4c9fb3455f2ee4879aad90f1790dce018e71caeaca2cbd548637?s=96&d=robohash&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e9476164464b4c9fb3455f2ee4879aad90f1790dce018e71caeaca2cbd548637?s=96&d=robohash&r=g","caption":"Pruthvi"},"url":"https:\/\/blog.spike.sh\/author\/pruthvi\/"}]}},"modified_by":"Sreekar","jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/cover-2.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pfMe4Q-4S","jetpack-related-posts":[{"id":310,"url":"https:\/\/blog.spike.sh\/introduction-to-performance-monitoring-with-sentry\/","url_meta":{"origin":302,"position":0},"title":"How to Start Performance Monitoring with Sentry","author":"Pruthvi","date":"30th April, 2021","format":false,"excerpt":"InstallationPerformance dashboardDiagnosing performance issuesTransaction detailsAlertsConclusion Making sure that your websites and apps are not slowing down and frustrating your users is important to keep your customers happy. Sentry performance monitoring enables you to find and solve performance issues in your apps. Installation First, sign up for a Sentry account and\u2026","rel":"","context":"In &quot;Uncategorized&quot;","block_context":{"text":"Uncategorized","link":"https:\/\/blog.spike.sh\/category\/uncategorised\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/002.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/002.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/002.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/002.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/002.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":303,"url":"https:\/\/blog.spike.sh\/error-tracking-with-bugsnag\/","url_meta":{"origin":302,"position":1},"title":"How to Track Application Errors with Bugsnag","author":"Pruthvi","date":"15th April, 2021","format":false,"excerpt":"InstallationError viewPost-error actionsApplication stabilityAlertsConclusion Bugsnag is an error tracking tool that monitors exceptions in your applications and shows them in an easy-to-use dashboard. It also shows you the stability score to help you keep track of your application health. In this guide, we will learn how to use Bugsnag to\u2026","rel":"","context":"In &quot;Uncategorized&quot;","block_context":{"text":"Uncategorized","link":"https:\/\/blog.spike.sh\/category\/uncategorised\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/Bugsnag.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/Bugsnag.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/Bugsnag.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/Bugsnag.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/Bugsnag.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/Bugsnag.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":304,"url":"https:\/\/blog.spike.sh\/how-to-start-error-tracking-with-rollbar\/","url_meta":{"origin":302,"position":2},"title":"How to Start Error Tracking with Rollbar","author":"Pruthvi","date":"15th April, 2021","format":false,"excerpt":"InstallationError viewTaking actions on the errorCollaboration and CommunityAlertsConclusion Rollbar is an error tracking product that monitors your applications for errors and helps you take action on them. Rollbar also integrates with other products so you can send the errors to project management tools, incident alerting tools etc. In this post,\u2026","rel":"","context":"In &quot;Uncategorized&quot;","block_context":{"text":"Uncategorized","link":"https:\/\/blog.spike.sh\/category\/uncategorised\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/cover-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/cover-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/cover-1.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/cover-1.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/cover-1.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":307,"url":"https:\/\/blog.spike.sh\/introduction-to-error-monitoring-with-raygun\/","url_meta":{"origin":302,"position":3},"title":"Introduction to Error Monitoring with Raygun","author":"Pruthvi","date":"27th April, 2021","format":false,"excerpt":"InstallationError viewManaging errorsOther featuresAlertsConclusion Raygun enables you to track errors in your web and mobile applications and set up a process to manage them. This guide will help you set up Raygun to build more stable software. Installation Get started by signing up for a new Raygun account and creating\u2026","rel":"","context":"In &quot;Uncategorized&quot;","block_context":{"text":"Uncategorized","link":"https:\/\/blog.spike.sh\/category\/uncategorised\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/Blog-post-Raygun.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/Blog-post-Raygun.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/Blog-post-Raygun.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/Blog-post-Raygun.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/Blog-post-Raygun.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":314,"url":"https:\/\/blog.spike.sh\/sre-role-2021-analysed-30-job-postings\/","url_meta":{"origin":302,"position":4},"title":"What is expected in the SRE role? We analyzed 30 job postings to find out.","author":"Pruthvi","date":"21st September, 2021","format":false,"excerpt":"IntroductionFindingsDeploy and maintain infrastructureDefine and manage SLO, SLI and error budgetsSetup monitoring and alertsBe on call, respond to incidents and conduct post-mortemsBuild tools and automationsOther responsibilitiesConclusion Introduction In 2016, Google released the definitive book on Site Reliability Engineering (SRE) - a practice that had originated in the company to take\u2026","rel":"","context":"In &quot;Industry Insights&quot;","block_context":{"text":"Industry Insights","link":"https:\/\/blog.spike.sh\/category\/industry-insights\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/09\/003.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/09\/003.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/09\/003.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/09\/003.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/09\/003.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/09\/003.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":305,"url":"https:\/\/blog.spike.sh\/how-to-monitor-your-cron-jobs-using-cronitor\/","url_meta":{"origin":302,"position":5},"title":"How to Monitor Your Cron Jobs Using Cronitor","author":"Pruthvi","date":"16th April, 2021","format":false,"excerpt":"Create a new cron job monitorIntegrate Cronitor in your cron jobSetting up alertsConclusion Cron jobs handle a lot of background plumbing that keep applications running smoothly. But cron job failures often go unnoticed and be disastrous for your users and business. To make sure that you are aware about cron\u2026","rel":"","context":"In &quot;Uncategorized&quot;","block_context":{"text":"Uncategorized","link":"https:\/\/blog.spike.sh\/category\/uncategorised\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/Blog-cronitor.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/Blog-cronitor.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/Blog-cronitor.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/Blog-cronitor.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/Blog-cronitor.png?resize=1050%2C600&ssl=1 3x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/blog.spike.sh\/wp-json\/wp\/v2\/posts\/302","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.spike.sh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.spike.sh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.spike.sh\/wp-json\/wp\/v2\/users\/263547074"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.spike.sh\/wp-json\/wp\/v2\/comments?post=302"}],"version-history":[{"count":3,"href":"https:\/\/blog.spike.sh\/wp-json\/wp\/v2\/posts\/302\/revisions"}],"predecessor-version":[{"id":1804,"href":"https:\/\/blog.spike.sh\/wp-json\/wp\/v2\/posts\/302\/revisions\/1804"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.spike.sh\/wp-json\/wp\/v2\/media\/867"}],"wp:attachment":[{"href":"https:\/\/blog.spike.sh\/wp-json\/wp\/v2\/media?parent=302"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.spike.sh\/wp-json\/wp\/v2\/categories?post=302"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.spike.sh\/wp-json\/wp\/v2\/tags?post=302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}