You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hallo @reyiyo,can you provide us the output of datadog-agent check proxysql after the restart? Another question is if this is running in a containers environment
Hello @reyiyo
Circling back here as we found a cause for your issue that we fixed with #7750
In short, the "queries" performed by the proxysql integration were shared between check instances (an instance being a configuration stanza). This issue was unnoticed as sharing the queries between the check instances is not a problem as long as all instances are still considered "valid" by the agent.
When using autodiscovery, instances are created/deleted on the fly. So after a restart of the proxysql container, a new instance of the check is created but this instance tries to report metrics using the initial check instance (that was removed and is invalid). This is unexpected behavior and led to the agent not submitting the metrics that were collected,
The fix will be included in the next version of the datadog-agent (v7.24.0 and v6.24.0), but if you would like to test before that, you can use the following Dockerfile:
FROM datadog/agent:7.23.0
RUN pip --disable-pip-version-check install datadog_checks_base==15.0.0
CMD ["/init"]
After a ProxySQL restart, metrics are lost until an agent restart is made.
Output of the info page
Before ProxySQL restart:
After ProxySQL restart:
Additional environment details (Operating System, Cloud provider, etc):
Steps to reproduce the issue:
Describe the results you received:
Metrics are not collected any more
Describe the results you expected:
Metric collection should restart
Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: