opentelemetry-js icon indicating copy to clipboard operation
opentelemetry-js copied to clipboard

Unable to define views for metrics when using node-sdk

Open weyert opened this issue 1 year ago • 0 comments

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

weyert avatar Jul 28 '22 23:07 weyert