Skip to content

Commit

Permalink
docs(new-trace): Updating performance onboarding checklist content. (#…
Browse files Browse the repository at this point in the history
…10827)

Co-authored-by: Abdullah Khan <[email protected]>
  • Loading branch information
Abdkhan14 and Abdullah Khan authored Jul 24, 2024
1 parent 22dadd1 commit f41616d
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion public/_platforms/_index.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"key": "javascript.next-performance-onboarding-1-install",
"key": "javascript.nextjs-performance-onboarding-1-install",
"type": "framework",
"doc_link": "https://docs.sentry.io/platforms/javascript/guides/nextjs/tracing/",
"name": "Next",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"key": "javascript.next-performance-onboarding-2-configure",
"key": "javascript.nextjs-performance-onboarding-2-configure",
"type": "framework",
"doc_link": "https://docs.sentry.io/platforms/javascript/guides/nextjs/tracing/",
"name": "Next",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"key": "javascript.next-performance-onboarding-3-verify",
"key": "javascript.nextjs-performance-onboarding-3-verify",
"type": "framework",
"doc_link": "https://docs.sentry.io/platforms/javascript/guides/nextjs/tracing/",
"name": "Next",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"key": "javascript.node-performance-onboarding-1-install",
"key": "node.performance-onboarding-1-install",
"type": "framework",
"doc_link": "https://docs.sentry.io/platforms/javascript/guides/node/tracing/",
"name": "Node",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"key": "javascript.node-performance-onboarding-2-configure",
"key": "node.performance-onboarding-2-configure",
"type": "framework",
"doc_link": "https://docs.sentry.io/platforms/javascript/guides/node/tracing/",
"name": "Node",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"key": "javascript.node-performance-onboarding-3-verify",
"key": "node.performance-onboarding-3-verify",
"type": "framework",
"doc_link": "https://docs.sentry.io/platforms/javascript/guides/node/tracing/",
"name": "Node",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"name": "PHP",
"aliases": [],
"categories": [],
"body": "<h4 id=\"configure\" style=\"position:relative;\">Configure</h4>\n<p>To capture all errors and transactions, even the one during the startup of your application, you should initialize the Sentry PHP SDK as soon as possible.</p><div class=\"gatsby-highlight\" data-language=\"javascript\"><pre class=\"language-javascript highlight\"><code class=\"language-javascript\"><span class=\"token punctuation\">\\</span>Sentry<span class=\"token punctuation\">\\</span><span class=\"token function\">init</span><span class=\"token punctuation\">(</span><span class=\"token punctuation\">[</span>\n <span class=\"token literal-property property\">'dsn' </span><span class=\"token operator\">=></span> <span class=\"token string\">'___PUBLIC_DSN___'</span><span class=\"token punctuation\">,</span>\n <span class=\"token comment\">// Set tracesSampleRate to 1.0 to capture 100%</span>\n <span class=\"token comment\">// of transactions for performance monitoring.</span>\n <span class=\"token literal-property property\">'traces_sample_rate'</span> <span class=\"token operator\">=></span> <span class=\"token number\">1.0</span><span class=\"token punctuation\">,</span>\n <span class=\"token punctuation\">]</span><span class=\"token punctuation\">)</span><span class=\"token punctuation\">;</span></code></pre></div>\n<p>We recommend adjusting the value of <code>tracesSampleRate</code> in production. Learn more about tracing <a href=\"https://docs.sentry.io/platforms/php/configuration/options/\">options,</a> how to use the <a href=\"https://docs.sentry.io/platforms/php/configuration/sampling/\">traces_sampler</a> function, or how to <a href=\"https://docs.sentry.io/platforms/php/configuration/sampling/\">sample transactions</a>.</p>"
"body": "<h4 id=\"configure\" style=\"position:relative;\">Configure</h4>\n<p>To capture all errors and transactions, even the one during the startup of your application, you should initialize the Sentry PHP SDK as soon as possible.</p><div class=\"gatsby-highlight\" data-language=\"javascript\"><pre class=\"language-javascript highlight\"><code class=\"language-javascript\"><span class=\"token punctuation\">\\</span>Sentry<span class=\"token punctuation\">\\</span><span class=\"token function\">init</span><span class=\"token punctuation\">(</span><span class=\"token punctuation\">[</span>\n <span class=\"token literal-property property\">'dsn' </span><span class=\"token operator\">=></span> <span class=\"token string\">'___PUBLIC_DSN___'</span><span class=\"token punctuation\">,</span>\n\n <span class=\"token comment\">// Set tracesSampleRate to 1.0 to capture 100%</span>\n <span class=\"token comment\">// of transactions for performance monitoring.</span>\n <span class=\"token literal-property property\">'traces_sample_rate'</span> <span class=\"token operator\">=></span> <span class=\"token number\">1.0</span><span class=\"token punctuation\">,</span>\n<span class=\"token punctuation\">]</span><span class=\"token punctuation\">)</span><span class=\"token punctuation\">;</span></code></pre></div>\n<p>We recommend adjusting the value of <code>tracesSampleRate</code> in production. Learn more about tracing <a href=\"https://docs.sentry.io/platforms/php/configuration/options/\">options,</a> how to use the <a href=\"https://docs.sentry.io/platforms/php/configuration/sampling/\">traces_sampler</a> function, or how to <a href=\"https://docs.sentry.io/platforms/php/configuration/sampling/\">sample transactions</a>.</p>"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"name": "Django",
"aliases": [],
"categories": [],
"body": "<h4 id=\"configure\" style=\"position:relative;\">Configure</h4>\n<p>To configure the Sentry SDK, initialize it in your <code>settings.py</code> file:</p>\n<div class=\"gatsby-highlight\" data-language=\"python\"><pre class=\"language-Python highlight\"><code class=\"language-python\"><span class=\"token keyword\">import</span> sentry-sdk\n\nsentry_sdk<span class=\"token punctuation\">.</span><span class=\"token function\">init</span><span class=\"token punctuation\">(</span>\n <span class=\"token literal-property property\">dsn</span><span class=\"token operator\">=</span> <span class=\"token string\">\"___PUBLIC_DSN___\"</span><span class=\"token punctuation\">,</span>\n <span class=\"token literal-property property\">traces_sample_rate=1.0,</span>\n<span class=\"token punctuation\">)</span></code></pre></div>\n<p>Learn more about tracing <a href=\"https://docs.sentry.io/platforms/python/configuration/options/#tracing-options\">options,</a> how to use the <a href=\"https://docs.sentry.io/platforms/python/configuration/sampling/\">traces_sampler</a> function, or how to <a href=\"https://docs.sentry.io/platforms/python/configuration/sampling/\">sample transactions</a>.</p>"
"body": "<h4 id=\"configure\" style=\"position:relative;\">Configure</h4>\n<p>To configure the Sentry SDK, initialize it in your <code>settings.py</code> file:</p>\n<div class=\"gatsby-highlight\" data-language=\"python\"><pre class=\"language-Python highlight\"><code class=\"language-python\"><span class=\"token keyword\">import</span> sentry-sdk\n\nsentry_sdk<span class=\"token punctuation\">.</span><span class=\"token function\">init</span><span class=\"token punctuation\">(</span>\n <span class=\"token literal-property property\">dsn</span><span class=\"token operator\">=</span> <span class=\"token string\">\"___PUBLIC_DSN___\"</span><span class=\"token punctuation\">,</span>\n\n <span class=\"token comment\">// Set traces_sample_rate to 1.0 to capture 100%</span>\n <span class=\"token comment\">// of transactions for performance monitoring.</span>\n <span class=\"token literal-property property\">traces_sample_rate=1.0,</span>\n<span class=\"token punctuation\">)</span></code></pre></div>\n<p>Learn more about tracing <a href=\"https://docs.sentry.io/platforms/python/configuration/options/#tracing-options\">options,</a> how to use the <a href=\"https://docs.sentry.io/platforms/python/configuration/sampling/\">traces_sampler</a> function, or how to <a href=\"https://docs.sentry.io/platforms/python/configuration/sampling/\">sample transactions</a>.</p>"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"name": "Flask",
"aliases": [],
"categories": [],
"body": "<h4 id=\"configure\" style=\"position:relative;\">Configure</h4>\n<p>To configure the Sentry SDK, initialize it in your <code>settings.py</code> file:</p>\n<div class=\"gatsby-highlight\" data-language=\"python\"><pre class=\"language-Python highlight\"><code class=\"language-python\"><span class=\"token keyword\">import</span> sentry-sdk\n\nsentry_sdk<span class=\"token punctuation\">.</span><span class=\"token function\">init</span><span class=\"token punctuation\">(</span>\n <span class=\"token literal-property property\">dsn</span><span class=\"token operator\">=</span> <span class=\"token string\">\"___PUBLIC_DSN___\"</span><span class=\"token punctuation\">,</span>\n <span class=\"token literal-property property\">traces_sample_rate=1.0,</span>\n<span class=\"token punctuation\">)</span></code></pre></div>\n<p>Learn more about tracing <a href=\"https://docs.sentry.io/platforms/python/configuration/options/#tracing-options\">options,</a> how to use the <a href=\"https://docs.sentry.io/platforms/python/configuration/sampling/\">traces_sampler</a> function, or how to <a href=\"https://docs.sentry.io/platforms/python/configuration/sampling/\">sample transactions</a>.</p>"
"body": "<h4 id=\"configure\" style=\"position:relative;\">Configure</h4>\n<p>To configure the Sentry SDK, initialize it in your <code>settings.py</code> file:</p>\n<div class=\"gatsby-highlight\" data-language=\"python\"><pre class=\"language-Python highlight\"><code class=\"language-python\"><span class=\"token keyword\">import</span> sentry-sdk\n\nsentry_sdk<span class=\"token punctuation\">.</span><span class=\"token function\">init</span><span class=\"token punctuation\">(</span>\n <span class=\"token literal-property property\">dsn</span><span class=\"token operator\">=</span> <span class=\"token string\">\"___PUBLIC_DSN___\"</span><span class=\"token punctuation\">,</span>\n\n <span class=\"token comment\">// Set traces_sample_rate to 1.0 to capture 100%</span>\n <span class=\"token comment\">// of transactions for performance monitoring.</span>\n <span class=\"token literal-property property\">traces_sample_rate=1.0,</span>\n<span class=\"token punctuation\">)</span></code></pre></div>\n<p>Learn more about tracing <a href=\"https://docs.sentry.io/platforms/python/configuration/options/#tracing-options\">options,</a> how to use the <a href=\"https://docs.sentry.io/platforms/python/configuration/sampling/\">traces_sampler</a> function, or how to <a href=\"https://docs.sentry.io/platforms/python/configuration/sampling/\">sample transactions</a>.</p>"
}

0 comments on commit f41616d

Please sign in to comment.