admin 管理员组文章数量: 1086019
We have enabled APM on our Nest Backend, the agent is hosted separately on a Machine and we communicate via Hostname and URL, but we see Our CPU and Memory chocking with agent in a regular pattern, we even doubled our APM app resources(CPU and Memory) but it somehow again expand to crash, we disable initializing datadog apm and our application works fine. We have attached a screenshot for the trend being observed
This is our configuration for datadog
import tracer from 'dd-trace';
export function initDatadog() {
tracer.init({
service: 'popstack-api',
env: process.env.DD_ENV,
version: '1.0.0',
logInjection: true,
startupLogs: true,
url: process.env.DD_URL,
hostname: process.env.DD_HOSTNAME || 'localhost',
tags: {
service: 'popstack-api',
env: process.env.DD_ENV || 'development'
},
runtimeMetrics: true
});
console.log('Datadog APM initialized');
}
We appreciate help to find the root cause and get this fix, so we can continue our monitoring.
本文标签: Datadog APM enabled Nest application Crashing due to memory and CPU LeaksStack Overflow
版权声明:本文标题:Datadog APM enabled Nest application Crashing due to memory and CPU Leaks - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://roclinux.cn/p/1744004646a2517065.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论