Skip to content

Commit

Permalink
profiles: fix index in example (open-telemetry#254)
Browse files Browse the repository at this point in the history
For `abc;def` the `locations_start_index` should be `4` as `2` points to
`baz`.

Follow up of
open-telemetry#239 (comment)
  • Loading branch information
florianl authored May 28, 2024
1 parent 343a8b4 commit 5b60ee6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions oteps/profiles/0239-profiles-data-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -1349,7 +1349,7 @@ sample:
locations_length: 3
value:
- 100
- locations_start_index: 2
- locations_start_index: 3
locations_length: 2
value:
- 200
Expand All @@ -1361,8 +1361,8 @@ location_indices:
- 0 # foo
- 1 # bar
- 2 # baz
- 4 # abc
- 5 # def
- 3 # abc
- 4 # def
location:
- line:
- function_index: 0 # foo
Expand Down

0 comments on commit 5b60ee6

Please sign in to comment.