From 29cbcbc969531d50ccfd0b6a4198bb8a89cedebb Mon Sep 17 00:00:00 2001 From: Lauri Tulmin Date: Thu, 23 Dec 2021 19:32:01 +0200 Subject: [PATCH] Add memory allocation size attribute (#161) --- specification/semantic_conventions.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/semantic_conventions.md b/specification/semantic_conventions.md index 3be5467..05e4328 100644 --- a/specification/semantic_conventions.md +++ b/specification/semantic_conventions.md @@ -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