File tree 3 files changed +35
-0
lines changed
specification/logs/semantic_conventions
3 files changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ release.
19
19
([ #1935 ] ( https://github.com/open-telemetry/opentelemetry-specification/pull/1935 ) )
20
20
21
21
### Logs
22
+ - Add log_source attributes.
23
+ ([ #2022 ] ( https://github.com/open-telemetry/opentelemetry-specification/pull/2022 ) )
22
24
23
25
### Resource
24
26
Original file line number Diff line number Diff line change @@ -94,6 +94,12 @@ formats is required. Implementing more than one format is optional.
94
94
| ----------------------------------------------| --------| --| ----| ---| ------| ----| ------| ---| ----| ---| ----| -----|
95
95
| TBD|
96
96
97
+ ## Logs
98
+
99
+ | Feature | Optional| Collector| Go| Java| JS | Python| Ruby| Erlang| PHP| Rust| C++| .NET| Swift|
100
+ | ----------------------------------------------| --------| ---------| --| ----| ---| ------| ----| ------| ---| ----| ---| ----| -----|
101
+ | TBD|
102
+
97
103
## Resource
98
104
99
105
| Feature | Optional | Go | Java | JS | Python | Ruby | Erlang | PHP | Rust | C++ | .NET | Swift |
Original file line number Diff line number Diff line change
1
+ # Semantic Conventions for Log Files
2
+
3
+ ** Status** : [ Experimental] ( ../../document-status.md )
4
+
5
+ This document describes attributes for log files in OpenTelemetry.
6
+
7
+ <!-- Re-generate TOC with `markdown-toc --no-first-h1 -i` -->
8
+
9
+ <!-- toc -->
10
+
11
+ - [ Log Files] ( #log-files )
12
+ * [ ` log_source.file. ` ] ( #log_sourcefile )
13
+
14
+ <!-- tocstop -->
15
+
16
+ ## Log Files
17
+
18
+ ### ` log_source.file. `
19
+
20
+ ** Description:** A file from which logs were read.
21
+ | Name | Description | Value Type | Attribute Key | Attribute Values |
22
+ | ----------------| ----------- | ---------- | -------------- | -------------------- |
23
+ | log_source.file | The basename of the file | string | name | (identifier) |
24
+ | | The full path to the file | string | path | (identifier) |
25
+ | | The basename of the file, with symlinks resolved | string | type | (identifier) |
26
+ | | The full path to the file, with symlinks resolved | string | mode | (identifier) |
27
+ | | If applicable, the stream associated with the file | string | stream | stdout, stderr |
You can’t perform that action at this time.
0 commit comments