Skip to content

Commit d1e12ee

Browse files
committed
Remove resource and scope fields
1 parent 7601df4 commit d1e12ee

File tree

1 file changed

+1
-28
lines changed

1 file changed

+1
-28
lines changed

specification/logs/data-model.md

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ weight: 2
3535
+ [Displaying Severity](#displaying-severity)
3636
+ [Comparing Severity](#comparing-severity)
3737
* [Field: `Body`](#field-body)
38-
* [Field: `Resource`](#field-resource)
39-
* [Field: `InstrumentationScope`](#field-instrumentationscope)
4038
* [Field: `Attributes`](#field-attributes)
4139
+ [Errors and Exceptions](#errors-and-exceptions)
4240
* [Field: `EventName`](#field-eventname)
@@ -209,8 +207,6 @@ Here is the list of fields in a log record:
209207
| SeverityText | The severity text (also known as log level). |
210208
| SeverityNumber | Numerical value of the severity. |
211209
| Body | The body of the log record. |
212-
| Resource | Describes the source of the log. |
213-
| InstrumentationScope | Describes the scope that emitted the log. |
214210
| Attributes | Additional information about the event. |
215211
| EventName | Name that identifies the class / type of event. |
216212

@@ -440,35 +436,12 @@ to preserve the semantics of structured logs emitted by the applications.
440436
Can vary for each occurrence of the event coming from the same source.
441437
This field is optional.
442438

443-
### Field: `Resource`
444-
445-
Type: [Resource](../resource/sdk.md).
446-
447-
Description: Describes the source of the log, aka
448-
[resource](../overview.md#resources). Multiple occurrences of events coming from
449-
the same event source can happen across time and they all have the same value of
450-
`Resource`. Can contain for example information about the application that emits
451-
the record or about the infrastructure where the application runs. Data formats
452-
that represent this data model may be designed in a manner that allows the
453-
`Resource` field to be recorded only once per batch of log records that come
454-
from the same source. SHOULD follow OpenTelemetry
455-
[semantic conventions for Resources](https://github.com/open-telemetry/semantic-conventions/blob/main/docs/resource/README.md).
456-
This field is optional.
457-
458-
### Field: `InstrumentationScope`
459-
460-
Type: [Instrumentation Scope](../common/instrumentation-scope.md).
461-
462-
Description: the [instrumentation scope](../common/instrumentation-scope.md).
463-
Multiple occurrences of events coming from the same scope can happen across time and
464-
they all have the same value of `InstrumentationScope`. This field is optional.
465-
466439
### Field: `Attributes`
467440

468441
Type: [`map<string, any>`](#type-mapstring-any) or [Attribute Collection](../common/README.md#attribute-collections).
469442

470443
Description: Additional information about the specific event occurrence. Unlike
471-
the `Resource` field, which is fixed for a particular source, `Attributes` can
444+
the [`Resource`](../resource/sdk.md), which is fixed for a particular source, `Attributes` can
472445
vary for each occurrence of the event coming from the same source. Can contain
473446
information about the request context (other than [Trace Context Fields](#trace-context-fields)).
474447
This field is optional.

0 commit comments

Comments
 (0)