修改New Relic的采集时间。

huangapple go评论55阅读模式
英文:

Modify newrelic harvesting time

问题

我想要减少从我们的Web应用程序发送到NewRelic的数据量以降低成本。所以我考虑增加默认为一分钟的收集时间。我无法在任何地方找到如何执行此操作的信息。

英文:

I want to reduce the data ingested to newrelic (from our web application) to reduce our cost.
So i am thinking to increase harvesting time which is by default one minute.
I am unable to find anywhere how to do it.

答案1

得分: 1

不过,你可以调整每个周期内发生的抽样量(即增加或减少在跟踪中捕获的跨度数量)。以下是示例的Java代理配置,但其他语言代理应该也有类似的标志。

https://docs.newrelic.com/docs/apm/agents/java-agent/configuration/java-agent-configuration-config-file/#cfg-span-events-max-samples-stored

英文:

I don't think its possible to modify the agent harvest cycle frequency today, but you can tune the amount of sampling that occurs during each cycle (i.e - increase or reduce the number of spans captured within a trace). Below is that configuration for the java agent for example, but a similar flag should be available for other language agents as well.

https://docs.newrelic.com/docs/apm/agents/java-agent/configuration/java-agent-configuration-config-file/#cfg-span-events-max-samples-stored

huangapple
  • 本文由 发表于 2023年5月25日 20:32:20
  • 转载请务必保留本文链接:https://go.coder-hub.com/76332304.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定