Platform Tracing Configure
Generate Event Monitoring metadata that turns Platform Tracing (TraceSpanEvent publishing) on or off.
- CCM score
- 71 of 100
- skills.sh installs
- 5.4K
- GitHub stars
- 1.2K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers a single toggle: writes
enablePlatformTracingtosettings/Event.settings-meta.xmlset to true or false - Warns that the
PlatformTracingorg permission and API version 68.0 or higher are required for the setting to take effect - Limits output to
enablePlatformTracingso other EventSettings fields owned by other teams are not overwritten on deploy - Designed for admins and developers in SFDX projects, with Agentforce, CDC, and subscription tracing routed to sibling skills
Install
$ npx -y skills add forcedotcom/sf-skills --skill platform-tracing-configure -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Platform Tracing — Configure
Generate EventSettings metadata to enable or disable the Platform Tracing toggle, which controls whether TraceSpanEvent is published at a sample rate. This modifies a single field (enablePlatformTracing) within the existing EventSettings metadata type.
Scope
- In scope: Generating
Event.settings-meta.xmlwith theenablePlatformTracingfield to enable or disable TraceSpanEvent publishing. - Out of scope: Agentforce agent tracing to Data Cloud (use
platform-tracing-agentforce-configure). Other EventSettings fields (enableDeleteMonitoringData,enableLoginForensics, etc.) owned by other teams. Event Log Files. Change Data Capture.
Prerequisites
Before generating, inform the user of these requirements:
Details
- Repository
- github.com/forcedotcom/sf-skills
- Category
- DevOps & Cloud
- First seen
- Jul 14, 2026
Questions
What does the platform-tracing-configure skill do?
It generates Event.settings-meta.xml metadata that turns the enablePlatformTracing field on or off in Event Monitoring, which controls whether TraceSpanEvent is published at a sample rate. It changes only that single field and leaves other EventSettings fields alone.
What do I need before platform-tracing-configure will work?
The org must have the PlatformTracing permission, which is provisioned rather than set through metadata, or the setting deploys with no effect on TraceSpanEvent. Your project's sourceApiVersion should also be 68.0 or higher, since older tooling does not recognize the field.
How do I install platform-tracing-configure?
Run npx -y skills add forcedotcom/sf-skills --skill platform-tracing-configure -y in a project. The skill then lets your agent generate the Event settings file that enables or disables Platform Tracing.
When should I not use platform-tracing-configure?
Do not use it for Agentforce agent tracing to Data Cloud, which belongs to platform-tracing-agentforce-configure, or for Event Log Files, Change Data Capture or ManagedEventSubscription. Those tasks have their own skills.
More from forcedotcom/sf-skills
All 78- Experience Ui Bundle Metadata Generate5.3K
- Platform Value Set Generate5.3K
- Experience Ui Bundle App Coordinate5.3K
- Experience Ui Bundle Deploy5.3K
- Experience Ui Bundle Salesforce Data Access5.3K
- Platform Tracing Agentforce Configure5.3K
- Dx App Analytics Query5.3K
- Experience Ui Bundle Custom App Generate5.3K
- Integration Eventing Cdc Configure5.3K
- Integration Eventing Subscription Configure5.3K
- Platform Trust Archive Manage5.3K
- Experience Ui Bundle File Upload Generate5.2K
- Experience Ui Bundle Features Generate5.2K
- Dx Devops Test Failures Analyze5.2K
- Dx Devops Test Pipeline Configure5.1K
- Experience Ui Bundle Site Generate5.1K
- Dx Devops Test Suite Assignments Configure5.1K
- Dx Devops Test Suite Run5.1K
- Experience Cms Brand Apply5K
- Experience Ui Bundle Agentforce Client Generate5K
- Platform Agentexchange Partner Offers Configure5K
- Data360 Code Extension Generate5K
- Dx Code Analyzer Custom Rule Create5K
- Omnistudio Datamapper Generate4.9K
Similar to Platform Tracing Configure
More DevOps & Cloudplatform-tracing-agentforce-configureSkillforcedotcom/sf-skills5.3K installsGenerate and toggle the Agentforce agent trace spans flowing to Data Cloud via AgentforcePlatformTracingSettings metadata.
platform-observabilityPluginforcedotcom/sf-skills1.2K starsConfigure Salesforce tracing metadata: generate EventSettings that turn TraceSpanEvent publishing on or off, and generate AgentforcePlatformTracingSettings that
observability-and-instrumentationSkilladdyosmani/agent-skills76K installsInstrumentation guidance that makes production behavior visible and diagnosable, covering logs, metrics, and traces.
otel-instrumentationSkilldash0hq/agent-skills1.1K installsInstrumentation guide for OpenTelemetry traces, metrics, and logs covering SDK setup, data hygiene, and sampling.
opentelemetrySkillbobmatnyc/claude-mpm-skills666 installsOpenTelemetry instrumentation guide covering traces, metrics, logs, OTLP export, and Collector pipelines for production observability.