{"id":14229,"date":"2020-06-03T22:57:07","date_gmt":"2020-06-03T22:57:07","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=14229"},"modified":"2021-11-05T10:59:22","modified_gmt":"2021-11-05T10:59:22","slug":"how-to-disable-newrelic-agent-completly-or-disable-for-specific-app-in-dotnet","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/how-to-disable-newrelic-agent-completly-or-disable-for-specific-app-in-dotnet\/","title":{"rendered":"How to disable newrelic agent completly or disable for specific app in dotnet?"},"content":{"rendered":"\n<p><strong>Note: any changes you make to the configuration files require an iisreset or IIS restart.<\/strong><\/p>\n\n\n\n<p><strong>Method 1 &#8211; .NET Agent &#8211; The method to disable the agent depends on if you are using Framework or Core:<\/strong><\/p>\n\n\n\n<p>Please check a image below;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"853\" height=\"345\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/disable-newrelic-agent-in-dotnet-app2.jpg\" alt=\"\" class=\"wp-image-14231\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/disable-newrelic-agent-in-dotnet-app2.jpg 853w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/disable-newrelic-agent-in-dotnet-app2-300x121.jpg 300w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/disable-newrelic-agent-in-dotnet-app2-768x311.jpg 768w\" sizes=\"auto, (max-width: 853px) 100vw, 853px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1009\" height=\"542\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/disable-newrelic-agent-in-dotnet-app3.jpg\" alt=\"\" class=\"wp-image-14230\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/disable-newrelic-agent-in-dotnet-app3.jpg 1009w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/disable-newrelic-agent-in-dotnet-app3-300x161.jpg 300w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/disable-newrelic-agent-in-dotnet-app3-768x413.jpg 768w\" sizes=\"auto, (max-width: 1009px) 100vw, 1009px\" \/><\/figure>\n\n\n\n<script src=\"https:\/\/gist.github.com\/devops-school\/c135d6e3e1ca3a3676f40010d2338006.js\"><\/script>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"994\" height=\"451\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/disable-newrelic-agent-in-dotnet-app1.jpg\" alt=\"\" class=\"wp-image-14232\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/disable-newrelic-agent-in-dotnet-app1.jpg 994w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/disable-newrelic-agent-in-dotnet-app1-300x136.jpg 300w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/disable-newrelic-agent-in-dotnet-app1-768x348.jpg 768w\" sizes=\"auto, (max-width: 994px) 100vw, 994px\" \/><\/figure>\n\n\n<div class=\"epyt-gallery\" data-currpage=\"1\" id=\"epyt_gallery_39528\"><iframe loading=\"lazy\"  id=\"_ytid_22056\"  width=\"760\" height=\"427\"  data-origwidth=\"760\" data-origheight=\"427\" src=\"https:\/\/www.youtube.com\/embed\/?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;\" class=\"__youtube_prefs__  no-lazyload\" title=\"YouTube player\"  data-epytgalleryid=\"epyt_gallery_39528\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe><div class=\"epyt-gallery-list\"><div>Sorry, there was a YouTube error.<\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Note: any changes you make to the configuration files require an iisreset or IIS restart. Method 1 &#8211; .NET Agent &#8211; The method to disable the agent depends on if&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[1],"tags":[],"class_list":["post-14229","post","type-post","status-publish","format-standard","hentry","category-sql"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/14229","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=14229"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/14229\/revisions"}],"predecessor-version":[{"id":24805,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/14229\/revisions\/24805"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=14229"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=14229"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=14229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}