Skip to content

Hotfix : Fix regression to enable database metrics in telegraf only when needed

Compare
Choose a tag to compare
@github-actions github-actions released this 02 Feb 11:19

With micrometer metrics enabled by default for all apps (#481), database metrics related telegraf input plugin was enabled. This introduced a regression, as now for all apps we started running postgres queries. This change fixes the regression.

Going forward,

  • For freeapps, we never include any database metrics via telegraf.
  • For paidapps, any customers who have set DD_API_KEY or APPMETRICS_TARGET would get the database metrics via telegraf.