Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[exporter/splunkhec] dropped metric event because of unsupported value: NaN #14877

Closed
hvaghani221 opened this issue Oct 11, 2022 · 1 comment · Fixed by #14876
Closed

[exporter/splunkhec] dropped metric event because of unsupported value: NaN #14877

hvaghani221 opened this issue Oct 11, 2022 · 1 comment · Fixed by #14876
Assignees
Labels
bug Something isn't working exporter/splunkhec priority:p2 Medium

Comments

@hvaghani221
Copy link
Member

hvaghani221 commented Oct 11, 2022

What happened?

Description

splunkhec exporter throws unsupported value: NaN error when SummaryDataPoint.Sum and HistogramDataPoint.Sum returns NaN during json marshal

Steps to Reproduce

Expected Result

It should marshal without any error

Actual Result

Permanent error: dropped metric event: &{0xc030652cd0 aks-agentpool-34656813-vmss_9 kubernetes  aks_metrics_fni metric map[azure.resourcegroup.name:XYZ azure.vm.name:aks-agentpool-34656813-vmss_9 azure.vm.scaleset.name:aks-agentpool-34656813-vmss azure.vm.size:Standard_D8as_v5 cloud.account.id:ID cloud.platform:azure_aks cloud.provider:azure cloud.region:westeurope deployment.environment:qas host.id:8bb51409-5e87-44db-95d5-4781e00700bd http.scheme:http k8s.cluster.name:cluster k8s.namespace.name:istio-system k8s.node.name:aks-agentpool-34656813-vmss000009 k8s.pod.name:istio-ingressgateway-internal-7dd4b7f89d-5vgfj k8s.pod.uid:fcfeecd1-6b94-44c4-af8e-8b13a59deb9b metric_name:istio_agent_go_sched_latencies_seconds_sum:NaN metric_type:Histogram net.host.name:HOST net.host.port:15020 os.type:linux service.instance.id:HOST:15020 service.name:prometheus_simple/HOST:15020]}, error: splunk.Event.Fields: unsupported value: NaN

Collector version

v0.61.0

Environment information

Environment

OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")

OpenTelemetry Collector configuration

No response

Log output

No response

Additional context

No response

@hvaghani221 hvaghani221 added bug Something isn't working needs triage New item requiring triage labels Oct 11, 2022
@evan-bradley evan-bradley added priority:p2 Medium exporter/splunkhec and removed needs triage New item requiring triage labels Oct 12, 2022
@github-actions
Copy link
Contributor

Pinging code owners: @atoulme @dmitryax. See Adding Labels via Comments if you do not have permissions to add labels yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working exporter/splunkhec priority:p2 Medium
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants