opentelemetry-js
opentelemetry-js copied to clipboard
Unable to define views for metrics when using node-sdk
What happened?
When you are using node-sdk
to setup the Opentelemetry environment you don't have the ability to define Views anymore since the latest version. As a recent change moved the views from a function addView
on the MeterProvider to the constructor
OpenTelemetry Setup Code
No response
package.json
No response
Relevant log output
No response