cost-optimized-log-trace-sampling
Sampling strategies for logs and traces to optimize costs while maintaining observability. PROACTIVELY activate for: (1) Configuring trace sampling, (2) Log volume reduction, (3) Head-based vs tail-based sampling, (4) Priority-based sampling, (5) Cost optimization. Triggers: "sampling", "trace sampling", "log sampling", "cost optimization", "head-based", "tail-based", "sample rate"
What this skill does
# Cost-Optimized Log and Trace Sampling This skill provides expertise in sampling strategies for managing observability costs. ## Overview Observability data can be expensive at scale. Smart sampling strategies maintain visibility while controlling costs. ## Sampling Strategies ### Head-Based Sampling Decision made at trace start: - **Probabilistic**: Sample X% of traces randomly - **Rate-limiting**: Sample up to N traces per second ```yaml # OpenTelemetry config sampler: type: traceidratio ratio: 0.1 # Sample 10% ``` ### Tail-Based Sampling Decision made after trace completes: - **Error-based**: Always sample traces with errors - **Latency-based**: Sample slow traces (> p99 latency) - **Attribute-based**: Sample specific user IDs or endpoints ### Hybrid Approaches 1. Sample 100% of errors 2. Sample 100% of slow requests 3. Sample 10% of successful, fast requests ## Log Sampling Strategies 1. **Dynamic log levels**: Debug in dev, warn in prod 2. **Sample verbose logs**: Log 1% of debug statements 3. **Aggregate before sending**: Count similar events locally ## Cost Optimization Tips 1. Set appropriate retention periods 2. Use log aggregation to reduce volume 3. Filter noise before export 4. Use tiered storage (hot/warm/cold) [Content to be expanded based on plugin_spec_agentient-observability.md specifications]
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.