Add backward compatibility configs for tally to otel migration - #7235
Conversation
|
Related to #7211 |
bergundy
left a comment
There was a problem hiding this comment.
LGTM, looks like there's good test coverage.
| WithoutUnitSuffix bool `yaml:"withoutUnitSuffix"` | ||
| // WithoutCounterSuffix controls the additional of _total suffixes to counter metric names. | ||
| // This config only takes effect when using opentelemetry framework. | ||
| WithoutCounterSuffix bool `yaml:"withoutCounterSuffix"` |
There was a problem hiding this comment.
Also added config for disabling the addition of _total to Counters
|
Hi! I might be wrong, but to me it seems like OTEL is missing backwards compatibility for tally users that configured |
Hi @1nu, thanks for reporting! Yeah, looks like it's the case and |
|
Support |
|
I just discovered another potential backward compatibility issue in handling becomes |
|
I have reverted the change to always use OTEL as the framework, so there will be no impact for Tally users in the next release. We will look into those issues and do some more testing. Also needs to continue to support statsD users somehow with otel before fully deprecate tally. Thanks again @1nu for flagging those issues! |
What changed?
Why?
_totalwill be appended to counter metricsThis PR adds configs for controlling both behaviors when using otel framework so that the behavior will be the same as tally.
How did you test it?
Potential risks
Documentation
Is hotfix candidate?