File tree Expand file tree Collapse file tree 3 files changed +36
-0
lines changed
specification/logs/semantic_conventions Expand file tree Collapse file tree 3 files changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ release.
2020
2121### Logs
2222
23+ - Add log_source attributes.
24+ ([ #2022 ] ( https://github.com/open-telemetry/opentelemetry-specification/pull/2022 ) )
25+
2326### Resource
2427
2528### Semantic Conventions
Original file line number Diff line number Diff line change @@ -94,6 +94,12 @@ formats is required. Implementing more than one format is optional.
9494| ----------------------------------------------| --------| --| ----| ---| ------| ----| ------| ---| ----| ---| ----| -----|
9595| TBD|
9696
97+ ## Logs
98+
99+ | Feature | Optional| Collector| Go| Java| JS | Python| Ruby| Erlang| PHP| Rust| C++| .NET| Swift|
100+ | ----------------------------------------------| --------| ---------| --| ----| ---| ------| ----| ------| ---| ----| ---| ----| -----|
101+ | TBD|
102+
97103## Resource
98104
99105| 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 Sources
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 Sources] ( #log-sources )
12+ * [ File] ( #file )
13+
14+ <!-- tocstop -->
15+
16+ ## Log Sources
17+
18+ ### 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