-
Notifications
You must be signed in to change notification settings - Fork 888
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add semantic conventions for log_source attributes
- Loading branch information
1 parent
ecc2635
commit 6bc026a
Showing
3 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Semantic Conventions for Log Files | ||
|
||
**Status**: [Experimental](../../document-status.md) | ||
|
||
This document describes attributes for log files in OpenTelemetry. | ||
|
||
<!-- Re-generate TOC with `markdown-toc --no-first-h1 -i` --> | ||
|
||
<!-- toc --> | ||
|
||
- [Log Files](#log-files) | ||
* [`log_source.file.`](#log_sourcefile) | ||
|
||
<!-- tocstop --> | ||
|
||
## Log Files | ||
|
||
### `log_source.file.` | ||
|
||
**Description:** A file from which logs were read. | ||
| Name | Description | Value Type | Attribute Key | Attribute Values | | ||
| ----------------| ----------- | ---------- | -------------- | -------------------- | | ||
| log_source.file | The basename of the file | string | name | (identifier) | | ||
| | The full path to the file | string | path | (identifier) | | ||
| | The basename of the file, with symlinks resolved | string | type | (identifier) | | ||
| | The full path to the file, with symlinks resolved | string | mode | (identifier) | | ||
| | If applicable, the stream associated with the file | string | stream | stdout, stderr | |