You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2025-01-13 17:20:54,086 NewRelic Audit: Data Sent from the InstrumentedApp : ["xyz",[[{"timestamp":0,"type":"TestEvent"},{"attr1":"value1","attr2":1,"attr3":0.20000000298023224,"attr4":true},{}]]]
Steps to Reproduce
Snippet used to record the event
var eventAttributes = new Dictionary<string, object> {
{"attr1", "value1"},
{"attr2", 1},
{"attr3", 0.2f},
{"attr4", true}
};
NewRelic.Api.Agent.NewRelic.RecordCustomEvent("TestEvent", eventAttributes);
Your Environment
Agent version: 10.34.1
.NET version: 8.0
OS: 24.04.1 LTS
Base docker image: mcr.microsoft.com/dotnet/sdk:8.0-noble
The text was updated successfully, but these errors were encountered:
Description
When recording a CustomEvent containing a single decimal float value, the agent reports a different value.
Value set: 0.2f
Value reported: 0.20000000298023224
Expected Behavior
The agent reports exactly the value that it was initially set: 0.2
Troubleshooting or NR Diag results
Audit logs:
Steps to Reproduce
Snippet used to record the event
Your Environment
Agent version: 10.34.1
.NET version: 8.0
OS: 24.04.1 LTS
Base docker image: mcr.microsoft.com/dotnet/sdk:8.0-noble
The text was updated successfully, but these errors were encountered: