ConsoleMetricExporter only outputs shallowly #4061
Labels
bug
Something isn't working
priority:p4
Bugs and spec inconsistencies which do not fall into a higher prioritization
up-for-grabs
Good for taking. Extra help will be provided by maintainers
What happened?
Steps to Reproduce
Enable
ConsoleMetricExporter
Expected Result
See a full dump of metrics
Actual Result
Only see a shallow dump. For example, attributes are not visible
Additional Details
console.dir
is used to output, but it seems{depth: null}
needs to be passed to it to get full outputhttps://github.com/open-telemetry/opentelemetry-js/blob/main/packages/sdk-metrics/src/export/ConsoleMetricExporter.ts#L74
OpenTelemetry Setup Code
No response
package.json
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: