NodeJS metrics, Dependency Version Change. Error Message:"TypeError: requestCount.bind is not a function" #3043
yyang-cgx
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
The changes are by and large done. I am actually going to remove that disclaimer today or tomorrow. I am working on docs for the new metrics API/SDK |
Beta Was this translation helpful? Give feedback.
1 reply
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
Was following this get-started instructions on NodeJS on metrics to write my monitoring.js file. Then I was running into an error message indicating:
Solution:
Change sdk-metrics-base version in package.json file to:
Following https://www.npmjs.com/package/@opentelemetry/sdk-metrics-base
Work In Progress
The OpenTelemetry SDK in this directory is undergoing drastic changes. If you need to use metrics, we recommend you use version 0.27.0.
Hope it helps someone!
Beta Was this translation helpful? Give feedback.
All reactions