4 Star 24 Fork 6

cncounter / translation

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 871 Bytes
一键复制 编辑 原始数据 按行查看 历史
renfufei 提交于 2020-06-05 10:49 . 目录

DataDog集成MySQL的配置:

https://docs.datadoghq.com/integrations/mysql/

sudo su

安装:

DD_AGENT_MAJOR_VERSION=7 DD_API_KEY=xxxxxx bash -c "$(curl -L https://raw.githubusercontent.com/DataDog/datadog-agent/master/cmd/agent/install_script.sh)"

如果网络连接失败,则可以下载到本地再执行:

DD_AGENT_MAJOR_VERSION=7 DD_API_KEY=xxxxxx bash -c ./install_script.sh

If you ever want to stop the Agent, run:

 systemctl stop datadog-agent

And to run it again run:

 systemctl start datadog-agent

mysql --defaults-file=/etc/mysql/debian.cnf

创建用户:

CREATE USER 'datadog'@'localhost' IDENTIFIED BY 'datadog';

MySQL 8.0+ 使用

CREATE USER 'datadog'@'localhost' IDENTIFIED WITH mysql_native_password by 'datadog';

cd /etc/datadog-agent/conf.d/mysql.d/ cp -a conf.yaml.example conf.yaml

HTML
1
https://gitee.com/cncounter/translation.git
git@gitee.com:cncounter/translation.git
cncounter
translation
translation
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891