Troubleshooting Ruby App and API Protection
This product is not supported for your selected
Datadog site. (
).
Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel,
n'hésitez pas à nous contacter.
Common Issues
No security signals appearing
- Verify Agent version:
- Ensure you’re running Datadog Agent v7.41.1 or higher.
- Check Agent status:
datadog-agent status
.
- Check Ruby tracer version:
- Confirm you’re using Ruby tracer v1.9.0 or higher.
- Verify configuration or environment variables.
When using auto-instrumentation
- Ensure that
DD_APPSEC_ENABLED
is set to true
- Set
DD_AGENT_HOST
and DD_AGENT_PORT
if agent is running on a different host or port - Check that
DD_SERVICE
and DD_ENV
are properly configured - Verify
DD_APM_TRACING_ENABLED=true
if using APM features
When using configuration file
- Ensure that
c.appsec.enabled
is set to true
in your configuration - Ensure that
c.tracing.instrument :rails
and c.appsec.instrument :rails
is added to your configuration - Check that
c.service
is set - Verify that
c.tracing.enabled
is set to true
if using APM features
High latency:
- Check Agent resource usage.
- Verify network connectivity between Agent and Datadog.
- Consider adjusting sampling rates.
High memory usage:
- Adjust Agent resource limits if needed.
If you suspect performance issues with the Ruby tracer, please create an issue in the Datadog Ruby tracer GitHub repository with details about your environment and the issue you’re facing.
Still having issues?
If you’re still experiencing problems:
- Check the Application Security Monitoring troubleshooting guide.
- Review the Ruby tracer documentation.
- Contact Datadog support.