platform-tracing-configure

Modify Salesforce EventSettings metadata to enable or disable platform tracing.

Updated Jul 2, 2026
One-click install
npx skills add https://github.com/padjei/SF_Agents --skill platform-tracing-configure-padjei
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: platform-tracing-configure
Source: https://github.com/padjei/SF_Agents/tree/main/.claude/skills/platform-tracing-configure
Command: npx skills add https://github.com/padjei/SF_Agents --skill platform-tracing-configure-padjei

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires sfcli, and includes scripts (resource) and assets (resource) components.

What problem does it solve?

This skill solves the need for generating Salesforce EventSettings metadata to control Platform Tracing and its publishing via TraceSpanEvent in Event Monitoring.

Core Features & Use Cases

  • Toggle Platform Tracing: Enable or disable the Platform Tracing toggle in Event Settings.
  • Automated Metadata Generation: Automate the generation of EventSettings metadata to set enablePlatformTracing for trace span events.
  • Prerequisites Check: Ensures necessary org permission and API version prerequisites are met before execution.
  • Output Confirmation: Generates a specified Event settings XML file with the correct state for Platform Tracing.

Quick Start

Use the 'platform-tracing-configure' skill to enable Platform Tracing.

Frequently Asked Questions about platform-tracing-configure

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enable Platform Tracing in Salesforce Event Settings?

To enable Platform Tracing in Salesforce Event Settings, you modify the EventSettings metadata to set the enablePlatformTracing flag, which activates TraceSpanEvent publishing for event monitoring.

What prerequisites are needed to configure Platform Tracing in Salesforce?

Configuring Platform Tracing requires the 'PlatformTracing' org permission and Salesforce API version 68.0 or higher to successfully modify EventSettings metadata.

How does TraceSpanEvent publishing work with Event Monitoring?

TraceSpanEvent publishing works with Event Monitoring by generating EventSettings metadata that controls the platform tracing toggle, allowing you to capture and manage trace span events.

Can I use sfcli to automate EventSettings metadata generation?

Yes, you can use sfcli to automate EventSettings metadata generation for Platform Tracing, outputting an XML file with the correct state for the enablePlatformTracing setting.

Why is my Platform Tracing configuration not applying in Salesforce?

Platform Tracing configuration may not apply if your org lacks the 'PlatformTracing' permission or uses an API version below 68.0, both required for EventSettings metadata modification.