Q&A - NewRelic NaN value not supported #23375
Answered
by
pront
nadavhames
asked this question in
Q&A
-
QuestionHi, I am piping host_metrics source into newrelic sink, and I am receiving the below errors repeatedly. My guess is that a metric inside of host_metrics returns NaN and newrelic sink does not support NaNs for some reason. Vector Configsources:
server_host_metrics:
type: host_metrics
sinks:
newrelic_metrics:
type: new_relic
inputs: ["server_host_metrics"]
account_id: "${NEWRELIC_ID:?err}"
license_key: "${NEWRELIC_LICENSE_KEY:?err}"
api: metrics
compression: gzip
region: us Vector LogsJul 14 21:02:28 ip-x.x.x.x.us-east-2.compute.internal vector[1000532]: 2025-07-14T21:02:28.245269Z ERROR sink{component_kind="sink" component_id=newrelic_metrics component_type=new_relic}: vector_common::internal_event::component_events_dropped: Events dropped intentional=false count=17 reason="NaN value not supported"
Jul 14 21:02:29 ip-x.x.x.x.us-east-2.compute.internal vector[1000532]: 2025-07-14T21:02:29.246780Z ERROR sink{component_kind="sink" component_id=newrelic_metrics component_type=new_relic}: vector_common::internal_event::component_events_dropped: Internal log [Events dropped] is being suppressed to avoid flooding.
Jul 14 21:02:43 ip-x.x.x.x.us-east-2.compute.internal vector[1000532]: 2025-07-14T21:02:43.245198Z ERROR sink{component_kind="sink" component_id=newrelic_metrics component_type=new_relic}: vector_common::internal_event::component_events_dropped: Internal log [Events dropped] has been suppressed 1 times.
Jul 14 21:02:43 ip-x.x.x.x.us-east-2.compute.internal vector[1000532]: 2025-07-14T21:02:43.245590Z ERROR sink{component_kind="sink" component_id=newrelic_metrics component_type=new_relic}: vector_common::internal_event::component_events_dropped: Events dropped intentional=false count=16 reason="NaN value not supported" |
Beta Was this translation helpful? Give feedback.
Answered by
pront
Jul 18, 2025
Replies: 1 comment
-
Hi @nadavhames, these errors indicate a real issue so we want to keep them generally. However, you can introduce a remap transform and filter out events with invalid metric values. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
nadavhames
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @nadavhames, these errors indicate a real issue so we want to keep them generally. However, you can introduce a remap transform and filter out events with invalid metric values.