diff --git a/docs/platforms/go/common/profiling/index.mdx b/docs/platforms/go/common/profiling/index.mdx deleted file mode 100644 index d6771461816f4..0000000000000 --- a/docs/platforms/go/common/profiling/index.mdx +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: Set Up Profiling -description: "Learn how to enable profiling in your app if it is not already set up." -sidebar_order: 5000 ---- - - - - -## Enable Profiling - - -To enable profiling, set the `ProfilesSampleRate`: - - -```go {diff} -err := sentry.Init(sentry.ClientOptions{ - Dsn: "___PUBLIC_DSN___", - EnableTracing: true, - TracesSampleRate: 1.0, -+ ProfilesSampleRate: 1.0, -}) -``` - - - -The `ProfilesSampleRate` setting is _relative_ to the `TracesSampleRate` setting. - -For Profiling to work, you have to first enable Sentry’s tracing via `TracesSampleRate` (like in the example above). Read our tracing setup documentation to learn how to configure sampling. If you set your sample rate to 1.0, all transactions will be captured. - - diff --git a/docs/platforms/go/common/profiling/troubleshooting/index.mdx b/docs/platforms/go/common/profiling/troubleshooting/index.mdx deleted file mode 100644 index 22851bdcb132f..0000000000000 --- a/docs/platforms/go/common/profiling/troubleshooting/index.mdx +++ /dev/null @@ -1,19 +0,0 @@ ---- -title: Troubleshooting -description: "Learn how to troubleshoot your profiling setup." -sidebar_order: 9000 ---- - -If you don't see any profiling data in [sentry.io](https://sentry.io), you can try the following: - -- Ensure that Tracing is enabled. -- Ensure that the automatic instrumentation is sending performance data to Sentry by going to the **Performance** page in [sentry.io](https://sentry.io). -- If the automatic instrumentation is not sending performance data, try using custom instrumentation. -- Enable debug mode in the SDK and check the logs. - -### Limitations - -Profile samples are collected periodically for each goroutine. -If your program uses a large number of concurrent goroutines, make sure to check whether the overhead is within the acceptable range for your use case. - -As always, and especially with Profiling in Go being an alpha feature, feedback is welcome on [Discord](https://discord.com/channels/621778831602221064/621786587939864586) or [GitHub](https://github.com/getsentry/sentry-go/issues/630). diff --git a/docs/product/explore/profiling/getting-started.mdx b/docs/product/explore/profiling/getting-started.mdx index fc4764c425c6a..c050c0d5c85fd 100644 --- a/docs/product/explore/profiling/getting-started.mdx +++ b/docs/product/explore/profiling/getting-started.mdx @@ -24,12 +24,11 @@ Profiling depends on Sentry's performance monitoring product being enabled befor - [Flutter](/platforms/flutter/profiling/) [experimental, iOS and macOS only] - [.NET](/platforms/dotnet/guides/maui/profiling/) [experimental, iOS only] - Standalone and server apps - - [.NET](/platforms/dotnet/profiling/) [experimental] - [Node.js](/platforms/javascript/guides/node/profiling/) - [Python](/platforms/python/profiling/) - [PHP](/platforms/php/profiling/) - - [Go](/platforms/go/profiling/) [experimental] - [Ruby](/platforms/ruby/profiling/) [beta] + - [.NET](/platforms/dotnet/profiling/) [experimental] ### Continuous Profiling diff --git a/docs/product/explore/profiling/index.mdx b/docs/product/explore/profiling/index.mdx index 5bf6d3fe941bf..187aabbe6f05f 100644 --- a/docs/product/explore/profiling/index.mdx +++ b/docs/product/explore/profiling/index.mdx @@ -10,15 +10,14 @@ description: "Profiling offers a deeper level of visibility on top of traditiona - [Android (Java and Kotlin only)](/platforms/android/profiling/) - [iOS and macOS (Swift and Objective-C only)](/platforms/apple/profiling/) -- [Flutter [experimental, iOS and macOS only]](/platforms/flutter/profiling/) - [Python](/platforms/python/profiling/) -- [.NET [experimental]](/platforms/dotnet/profiling/) - [Node.js](/platforms/javascript/guides/node/profiling/) - [PHP (including Laravel and Symfony)](/platforms/php/profiling/) - [Browser JavaScript [beta]](/platforms/javascript/profiling/) -- [Go [experimental]](/platforms/go/profiling/) - [Ruby [beta]](/platforms/ruby/profiling/) - [React Native [beta]](/platforms/react-native/profiling/) +- [Flutter [experimental, iOS and macOS only]](/platforms/flutter/profiling/) +- [.NET [experimental]](/platforms/dotnet/profiling/)