inspectit-ocelot icon indicating copy to clipboard operation
inspectit-ocelot copied to clipboard

[Bug] - Fix autocompletion for inspectit.tracing.use-64-bit-trace-ids

Open MariusBrill opened this issue 3 years ago • 1 comments

Describe the bug Currently the autocompleter does not recognize the property inspectit.tracing.use-64-bit-trace-ids even though it is there.

MariusBrill avatar May 19 '22 09:05 MariusBrill

Valid

EddeCCC avatar Apr 02 '25 09:04 EddeCCC

At the moment the auto-completion returns the property name use64-bit-trace-ids. The agent accepts both use-64-bit-trace-ids and use64-bit-trace-ids.

However, to comply to naming conventions, the auto-completion should return use-64-bit-trace-ids.

EddeCCC avatar Jul 24 '25 12:07 EddeCCC

Actually, the com.google.common.base.CaseFormat does not treat digits as word boundaries, thus it always returns use64-bit-trace-ids. I believe it's simpler to just change the property name to the output of guava.

EddeCCC avatar Jul 24 '25 12:07 EddeCCC