Skip to content

Commit

Permalink
Cache instrumentation links (#10155)
Browse files Browse the repository at this point in the history
* fix: hide platforms with no cache custom instrumentation on cache
instrumentation page
* add node cache cache instrumentation redirect
  • Loading branch information
a-hariti authored and matejminar committed Jun 6, 2024
1 parent 74500d5 commit d84d64a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 0 additions & 5 deletions docs/product/performance/caches/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,5 @@ If available, custom instrumentation is documented on an environment-by-environm

- [Python SDK](/platforms/python/performance/instrumentation/custom-instrumentation/caches-module/)
- [JavaScript SDKs](/platforms/javascript/guides/node/performance/instrumentation/custom-instrumentation/caches-module/)
- [Laravel SDK](/platforms/php/guides/laravel/performance/instrumentation/custom-instrumentation/)
- [Java SDK](/platforms/java/performance/instrumentation/custom-instrumentation/)
- [Ruby SDK](/platforms/ruby/performance/instrumentation/custom-instrumentation/)
- [.NET SDK](/platforms/dotnet/performance/instrumentation/custom-instrumentation/)
- [Symfony SDK](/platforms/php/guides/symfony/performance/instrumentation/custom-instrumentation/)

To see what cache data can be set on spans, see the [Cache Module Developer Specification](https://develop.sentry.dev/sdk/performance/modules/caches/).
4 changes: 4 additions & 0 deletions src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ type Redirect = {
};

const REDIRECTS: Redirect[] = [
{
from: '/platforms/javascript/performance/instrumentation/custom-instrumentation/caches-module/',
to: '/platforms/javascript/guides/node/performance/instrumentation/custom-instrumentation/caches-module/',
},
{
from: '/organization/integrations/github/',
to: '/organization/integrations/source-code-mgmt/github/',
Expand Down

0 comments on commit d84d64a

Please sign in to comment.