Add JSON encoder to stdoutmetric exporter that ignores timestamps #3223
Labels
area:metrics
Part of OpenTelemetry Metrics
pkg:exporter:stdout
Related to the stdout exporter package
Milestone
The current stdoutmetric exporter uses a JSON encoder to print metric data to STDOUT. It can be configured with alternate encoders. For example and demonstration purposes, it is needed to print metric data without timestamp. Otherwise, the produced output will continually change. Therefore, a new JSON encoder needs to be added to the exporter package that ignores these timestamps, likely just printing a zero value for them instead.
The text was updated successfully, but these errors were encountered: