Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/sentry-performance-tracing

@0d57af8
Run it yourself

Set up performance monitoring and distributed tracing with Sentry. Use when implementing performance tracking, tracing requests, or monitoring application performance. Trigger with phrases like "sentry performance", "sentry tracing", "sentry APM", "monitor performance sentry".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/sentry-performance-tracing

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesbest-practices.md

≈227 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Best Practices

Best Practices

Sample Rate Guidelines

const environment = process.env.NODE_ENV;

const sampleRates = {
  development: 1.0,   // 100% - capture everything
  staging: 0.5,       // 50% - good balance
  production: 0.1,    // 10% - cost efficient
};

Sentry.init({
  tracesSampleRate: sampleRates[environment] || 0.1,
});

Custom Instrumentation

// Wrap database operations
function instrumentedQuery<T>(sql: string, fn: () => Promise<T>): Promise<T> {
  const span = Sentry.getCurrentHub().getScope()?.getSpan();
  const child = span?.startChild({
    op: 'db.query',
    description: sql.substring(0, 100),
  });

  return fn()
    .then((result) => {
      child?.setStatus('ok');
      return result;
    })
    .catch((error) => {
      child?.setStatus('internal_error');
      throw error;
    })
    .finally(() => child?.finish());
}

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill provides standard documentation and code examples for implementing Sentry performance monitoring and distributed tracing in Node.js and Python applications. No security issues were detected.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 0d57af8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 3 months ago
What it can do
Reads files Edits files Runs commands
version
1.51.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
compatibility
Designed for Claude Code
All 5 allowed tools
ReadWriteEditGrepBash(node:*)
Other metadata
tags
[
  "saas",
  "sentry",
  "monitoring",
  "performance",
  "tracing",
  "spans"
]

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/sentry-performance-tracing