model/profile: add symbolization information#2522
model/profile: add symbolization information#2522lmolkova merged 13 commits intoopen-telemetry:mainfrom
Conversation
Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
158b6a4 to
b92f85c
Compare
|
I think we agreed here to add these as |
Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
55c2de6 to
b139af0
Compare
|
@aalexand thanks for reminding me about the But I don't recall from the recoding, that we agreed on a 1:1 mapping from the google/pprof has_* fields. To me, the suggestions you made in open-telemetry/opentelemetry-proto#595, made sense as they add information about the quality of the symbol information. Using the 1:1 mapping from the google/pprof has_* fields does not allow the backend to make a sound decision on the quality of the received information. |
Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
Similar to the boolean attributes `Mapping.has_*` (open-telemetry#595 and open-telemetry/semantic-conventions#2522) also drop `Location.is_folded`. The complementary PR for the OTel SemConv, that builds on top of open-telemetry/semantic-conventions#2522 is florianl/semantic-conventions#1
|
Given open-telemetry/opentelemetry-proto#690 and the discussion in the Slack, what do you think about making adding the is_folded attribute a part of this PR as well? I think it might be easier and more convenient to review adding all of these at once. This will help ensure consistency in naming and typing etc. |
Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
|
Cherry-picked and so added the is_folded change here as well. |
|
Hmm, I am not sure about this proposal here. Is it the idea that the collector would transform a profile message to become a span hence wanting attribute to represent the low level message properties? Keep in mind the idea of adding attributes to the registry is so that they can be the key & sometimes value used in the attributes property of the message ie https://github.com/open-telemetry/opentelemetry-proto/blob/8654ab7a5a43ca25fe8046e59dcd6935c3f76de0/opentelemetry/proto/profiles/v1development/profiles.proto#L114 If you are wanting to define a profile message hence using attributes to indicate if that message should have functions for instance I would recommend you raise an issue weaver listing what are the properties of a profile. It might help to define how these attributes would be used, |
The has_* debug info fields were derived from the pprof format. We decided to move them to attributes, see open-telemetry/semantic-conventions#2522.
Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
Similar to the boolean attributes `Mapping.has_*` (#595 and open-telemetry/semantic-conventions#2522) also drop `Location.is_folded`. The complementary PR for the OTel SemConv, that builds on top of open-telemetry/semantic-conventions#2522 is florianl/semantic-conventions#1 Co-authored-by: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com>
|
@jhalliday @christos68k to take a look also |
Co-authored-by: Christos Kalkanis <christos.kalkanis@elastic.co>
Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
Changes
Add Profiling specific attributes that describe the symbolization level of a Mapping.
FYI: @open-telemetry/profiling-approvers
Merge requirement checklist
[chore]