Reporter.sendMetric is sending the keys name as the value
silviofernandesdeveloper opened this issue · 3 comments
silviofernandesdeveloper commented
Problem
I'm using appoptics-apm-node to send my metrics, but when I used the TAGs I realized that the values of the keys are coming with the value of the TAGs.
To reproduce the problem, I created a simple application and attached below, you need to run specifying your appoptics service key
appoptics-bindings-node-tags-bug.zip
npm install
APPOPTICS_SERVICE_KEY={YOUR-SERVICE-KEY} npm start
Solution
Looking for at the code I realized that in the assignment of the TAGs the same object, the values of the TAGs, was being passed to key and value, probably error by CTRL+C and CTRL+V
The hotfix is here, but I could not run the tests 😞
bmacnaughton commented
Thank you for finding, reporting, and submitting a fix for the bug.
bmacnaughton commented
This is now available via appoptics-apm@6.4.0
silviofernandesdeveloper commented
🙌
Em seg, 13 de mai de 2019 às 09:29, Bruce MacNaughton <
notifications@github.com> escreveu:
… This is now available via ***@***.***
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#10>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AECGVDPCSB3EW4PZHDLZVQ3PVFNLRANCNFSM4HMIZQSA>
.