Skip to content

Commit

Permalink
Add memory allocation size attribute (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurit authored Dec 23, 2021
1 parent e282185 commit 29cbcbc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion specification/semantic_conventions.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,9 @@ Inside each `InstrumentationLibraryLogs` instance is a list of `LogRecord`
instances. For each `LogRecord` instance:

- `com.splunk.sourcetype` MUST be set to the value `otel.profiling`
- `source.event.period` MUST contain the sampling period for call stack sampler
- `source.event.period` MUST contain the sampling period if this `LogRecord` represents a periodic event
- `source.event.name` OPTIONALLY can contain the name of the event that triggered the sampling
- `memory.allocated` MUST contain the allocation size if this `LogRecord` represents a memory allocation event

### `LogRecord` Message Fields

Expand Down

0 comments on commit 29cbcbc

Please sign in to comment.