-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(influx2otel): only map to histogram when all fields match
When AddPoint is called with the unknown metric type, it tries to infer the type from the given field names. Right now it infers histogram when any of the fields matches the histogram keys, but that leads to a lot of errors when your data isn't actually a histogram. Instead, only infer a histogram if all fields match the expected histogram keys.
- Loading branch information
1 parent
32fff60
commit 86ed142
Showing
2 changed files
with
50 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters