[common] rename _ref suffix to _strindex by florianl · Pull Request #768 · open-telemetry/opentelemetry-proto (original) (raw)

Conversation

@florianl

@florianl

Rename the experimental profiling field suffix from _ref _to _strindex to align with the naming in the profiles proto.

Signed-off-by: Florian Lehner florian.lehner@elastic.co

@florianl

Signed-off-by: Florian Lehner florian.lehner@elastic.co

felixge

christos68k

jhalliday

Gandem

jsuereth

aalexand

tigrannajaryan

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you considered going the other way round and use _ref suffix everywhere since that's more concise?

@aalexand

Have you considered going the other way round and use _ref suffix everywhere since that's more concise?

IIRC we wanted to very clearly emphasize the nature of this referencing which is direct index into the array, as opposed to an indirection via a separate ID field like in pprof.

This file contains hidden or 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

[ Show hidden characters]({{ revealButtonHref }})

Reviewers

@felixge felixge felixge approved these changes

@jsuereth jsuereth jsuereth approved these changes

@jhalliday jhalliday jhalliday approved these changes

@aalexand aalexand aalexand approved these changes

@tigrannajaryan tigrannajaryan tigrannajaryan approved these changes

@christos68k christos68k christos68k approved these changes

+1 more reviewer

@Gandem Gandem Gandem approved these changes

Reviewers whose approvals may not affect merge requirements