{"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\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<div class=\"wp-block-image kg-card kg-image-card kg-card-hascaption\">\n<figure class=\"aligncenter size-large\"><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<\/div>\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<div class=\"wp-block-image kg-card kg-image-card kg-card-hascaption\">\n<figure class=\"aligncenter size-full\"><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<\/div>\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<div class=\"wp-block-image kg-card kg-image-card kg-card-hascaption\">\n<figure class=\"aligncenter size-full\"><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<\/div>\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":{"_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,"_wpcom_ai_launchpad_first_post":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"{title}\n\n{excerpt}\n\n{url}","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 v28.0 - 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=\"Welcome to Spike.\" \/>\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\":\"Welcome to Spike.\",\"description\":\"In this space, our team talks about all things incidents, response, oncall, and share our journey of building Spike.\",\"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":"Welcome to Spike.","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":"Welcome to Spike.","description":"In this space, our team talks about all things incidents, response, oncall, and share our journey of building Spike.","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","_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}]}}