|
2 | 2 | linkTitle: Profiles |
3 | 3 | ---> |
4 | 4 |
|
5 | | -# General profiles attributes |
| 5 | +# Profiles attributes |
6 | 6 |
|
7 | 7 | **Status**: [Development][DocumentStatus] |
8 | 8 |
|
9 | 9 | <!-- toc --> |
10 | 10 |
|
11 | | -- [Frame types](#frame-types) |
| 11 | +- [General profiles identification attributes](#general-profiles-identification-attributes) |
| 12 | + - [Frame types](#frame-types) |
| 13 | +- [Compatibility with pprof](#compatibility-with-pprof) |
12 | 14 |
|
13 | 15 | <!-- tocstop --> |
14 | 16 |
|
| 17 | +## General profiles identification attributes |
| 18 | + |
15 | 19 | The attributes described in this section are rather generic. |
16 | 20 | They may be used in any Profiles record they apply to. |
17 | 21 |
|
18 | | -## Frame types |
| 22 | +### Frame types |
19 | 23 |
|
20 | 24 | **Description:** Describes the origin of a single frame in a Profile. |
21 | 25 |
|
@@ -54,4 +58,34 @@ They may be used in any Profiles record they apply to. |
54 | 58 | <!-- END AUTOGENERATED TEXT --> |
55 | 59 | <!-- endsemconv --> |
56 | 60 |
|
| 61 | +## Compatibility with pprof |
| 62 | + |
| 63 | +Existing [pprof][pprofLink] formats can be unambiguously mapped to this data |
| 64 | +model. Reverse mapping from this data model is also possible to the extent that |
| 65 | +the target profiles format has equivalent capabilities. |
| 66 | + |
| 67 | +The attributes described in this section are specific to support convertibility. |
| 68 | +They may be used in any Profiles record they apply to. |
| 69 | + |
| 70 | +<!-- semconv pprof(full) --> |
| 71 | +<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. --> |
| 72 | +<!-- see templates/registry/markdown/snippet.md.j2 --> |
| 73 | +<!-- prettier-ignore-start --> |
| 74 | +<!-- markdownlint-capture --> |
| 75 | +<!-- markdownlint-disable --> |
| 76 | + |
| 77 | +| Attribute | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability | |
| 78 | +|---|---|---|---|---|---| |
| 79 | +| [`pprof.location.is_folded`](/docs/registry/attributes/pprof.md) | boolean | Provides an indication that multiple symbols map to this location's address, for example due to identical code folding by the linker. In that case the line information represents one of the multiple symbols. This field must be recomputed when the symbolization state of the profile changes. | | `Recommended` |  | |
| 80 | +| [`pprof.mapping.has_filenames`](/docs/registry/attributes/pprof.md) | boolean | Indicates that there are filenames related to this mapping. | | `Recommended` |  | |
| 81 | +| [`pprof.mapping.has_functions`](/docs/registry/attributes/pprof.md) | boolean | Indicates that there are functions related to this mapping. | | `Recommended` |  | |
| 82 | +| [`pprof.mapping.has_inline_frames`](/docs/registry/attributes/pprof.md) | boolean | Indicates that there are inline frames related to this mapping. | | `Recommended` |  | |
| 83 | +| [`pprof.mapping.has_line_numbers`](/docs/registry/attributes/pprof.md) | boolean | Indicates that there are line numbers related to this mapping. | | `Recommended` |  | |
| 84 | + |
| 85 | +<!-- markdownlint-restore --> |
| 86 | +<!-- prettier-ignore-end --> |
| 87 | +<!-- END AUTOGENERATED TEXT --> |
| 88 | +<!-- endsemconv --> |
| 89 | + |
57 | 90 | [DocumentStatus]: https://opentelemetry.io/docs/specs/otel/document-status |
| 91 | +[pprofLink]: https://github.com/google/pprof |
0 commit comments