From php-instrumentation
Use this skill whenever the user wants to instrument a Laravel 8 application with Datadog APM. Triggers on mentions of Laravel 8 tracing, PHP 7.4 APM, dd-trace-php for Apache2, or Datadog instrumentation for legacy PHP applications.
How this skill is triggered — by the user, by Claude, or both
Slash command
/php-instrumentation:laravel8-dd-tracerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Instrument a Laravel 8 application (PHP 7.4, Apache2) with Datadog APM tracing.
Instrument a Laravel 8 application (PHP 7.4, Apache2) with Datadog APM tracing.
setup-laravel8-apache2 skill)ssh -i <KEY_PATH> ubuntu@<EC2_HOST> 'DD_API_KEY=<DD_API_KEY> \
DD_SITE="<DD_SITE>" \
bash -c "$(curl -L https://install.datadoghq.com/scripts/install_script_agent7.sh)"'
ssh -i <KEY_PATH> ubuntu@<EC2_HOST> 'curl -LO https://github.com/DataDog/dd-trace-php/releases/latest/download/datadog-setup.php && \
sudo php datadog-setup.php --php-bin=all'
For Apache2 with mod_php, add environment variables to the Apache VirtualHost or to a PHP INI file:
ssh -i <KEY_PATH> ubuntu@<EC2_HOST> 'echo -e "\ndatadog.service = travellist\ndatadog.env = sandbox\ndatadog.version = 1.0.0" | sudo tee -a /etc/php/7.4/apache2/conf.d/98-ddtrace.ini'
ssh -i <KEY_PATH> ubuntu@<EC2_HOST> 'sudo systemctl restart apache2'
# Verify ddtrace extension is loaded
ssh -i <KEY_PATH> ubuntu@<EC2_HOST> 'php -m | grep ddtrace'
# -> ddtrace
# Check ddtrace in phpinfo output
curl -s http://<EC2_PUBLIC_IP>/phpinfo | grep -o 'ddtrace'
# -> ddtrace
# Generate traffic
for i in {1..10}; do curl -s -o /dev/null -w "%{http_code}\n" http://<EC2_PUBLIC_IP>/; done
# Check agent status
ssh -i <KEY_PATH> ubuntu@<EC2_HOST> 'sudo datadog-agent status'
In the Datadog UI: APM > Services — look for travellist with env:sandbox.
ddtrace not in php -m outputCause: PHP tracer not installed or Apache not restarted.
Fix: Re-run tracer installation and restart: sudo systemctl restart apache2
env:noneCause: Unified service tags not configured.
Fix: Add datadog.service, datadog.env, datadog.version to the PHP INI file and restart Apache.
npx claudepluginhub jek-bao-choo/datadog-agentic-plugins --plugin php-instrumentationSearches MemPalace before answering questions about past work, people, projects, or prior decisions. Returns verbatim stored content instead of guessing from model memory.
Guides Payload CMS config (payload.config.ts), collections, fields, hooks, access control, APIs. Debugs validation errors, security, relationships, queries, transactions, hook behavior.
Implements vector databases with Pinecone, Weaviate, Qdrant, Milvus, pgvector for semantic search, RAG, recommendations, and similarity systems. Optimizes embeddings, indexing, and hybrid search.