Open osowskit opened 6 years ago
Create a datadog user in MySQL and grant it permission to run metric queries on your behalf. Copy Datadog’s conf.d/mysql.yaml.example template to conf.d/mysql.yaml to create a configuration file for Datadog.
/etc/datadog-agent/conf.d/mysql.d/conf.yaml.example The file results in an error
Add the login credentials for your newly created datadog user to conf.d/mysql.yaml. Restart the Agent.
MySQL
The deprecated binary 'dd-agent' is no longer provided. Please use the 'datadog-agent' binary instead.
https://docs.datadoghq.com/developers/write_agent_check/?tab=agentv6#verifying-your-check
Getting my_metric
The instances
shouldn't have an indent
init_config:
instances:
- min_collection_interval: 30
Alert Conditions
email template
Oh my!
{{#is_alert}} We've hit an Alert! IP {{host.ip}} reported: `{{value}}` {{/is_alert}}
{{#is_no_data}} Do data present? {{/is_no_data}}
{{#is_warning}} OOO - Getting close it's warning time. {{/is_warning}}
this is crazy @osowskit@gmail.com
https://docs.datadoghq.com/agent/faq/how-datadog-agent-determines-the-hostname/?tab=agentv6
sudo /etc/init.d/datadog-agent info
Usage: /etc/init.d/datadog-agent {start|stop|restart|status}
Downtime
Monitor email
ddtrace-run
not found even after installing pip install ddtrace
.
mkdir conf.d/python.d # Create a Python config directory under conf.d vi
conf.d/python.d/conf.yaml # Create and open the config file`
Should be
mkdir conf.d/python.d # Create a Python config directory under conf.d
vi conf.d/python.d/conf.yaml # Create and open the config file
Configuration file has incorrect formatting on https://www.datadoghq.com/blog/monitoring-flask-apps-with-datadog/#configure-the-python-integration.
https://docs.datadoghq.com/logs/log_collection/python/#configure-the-datadog-agent
'Simple' has a number of requirements and likely should link to docs instead.
https://www.datadoghq.com/blog/monitoring-flask-apps-with-datadog/#update-the-python-code
Formatting of Python is incorrect
I had an issue where i had python set up on a non-root user account that didn't have access to ddtrace-run
.
Using the payload/widget information outlined in https://docs.datadoghq.com/graphing/dashboards/widgets/#timeseries the application gets
["400", {"errors"=>["The 'definition' parameter is required for all graphs"]}]
Documentation for https://docs.datadoghq.com/graphing/dashboards/widgets/#timeseries should indicate that it will also have a field definition that can be obtained from an existing Dashboard (JSON).
Anomaly screenshot
Combined mix