My CloudWatch configuration stopped working after changing the server’s IP.
The log shows an attempt to access the key on the old server IP address “remote_addr”.
How do I force him to use the machine’s default ip?
t=2021-02-08T22:06:34+0000 lvl=eror msg=“Metric request error” logger=context userId=1 orgId=1 uname=admin error=“failed to call cloudwatch:ListMetrics: SharedCredsAccessKey: shared credentials default in /usr/share/grafana/.aws/credentials did not contain aws_access_key_id” remote_addr=172.31.15.134
t=2021-02-08T22:06:34+0000 lvl=eror msg=“Request Completed” logger=context userId=1 orgId=1 uname=admin method=POST path=/api/tsdb/query status=500 remote_addr=172.31.15.134 time_ms=0 size=34 referer=http://172.31.9.222:3000/datasources/edit/15/