mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-01-18 03:22:12 +02:00
cba1664b46
* Initial metrics addition to the OTLP exporter * Fixes Update to incorporate merged changes. Fix lint issues. * Add sum float64 transform unit test * Fix static check * Update comments Fix malformed License header. Add documentation for new transform functions. Remove errant TODO. * Fix test failures and handle ErrEmptyDataSet Use `assert.NoError` instead of `assert.Nil` to correctly display checked errors. Use the result of `assert.NoError` to guard against `nil` pointer dereferences. Add check to skip `Record`s that return an `ErrEmptyDataSet` error and include test to check this error is correctly returned from the transform package. Co-authored-by: Rahul Patel <rahulpa@google.com>