-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add YAML definitions for log semantic conventions and define requirem…
…ent levels (#133) Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
- Loading branch information
Showing
3 changed files
with
71 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
groups: | ||
- id: attributes.log | ||
prefix: log | ||
type: attribute_group | ||
brief: "Describes Log attributes" | ||
attributes: | ||
- id: iostream | ||
requirement_level: opt_in | ||
brief: > | ||
The stream associated with the log. See below for a list of well-known values. | ||
type: | ||
allow_custom_values: false | ||
members: | ||
- id: stdout | ||
value: 'stdout' | ||
brief: 'Logs from stdout stream' | ||
- id: stderr | ||
value: 'stderr' | ||
brief: 'Events from stderr stream' | ||
- id: attributes.log.file | ||
prefix: log.file | ||
type: attribute_group | ||
brief: > | ||
A file to which log was emitted. | ||
attributes: | ||
- id: name | ||
type: string | ||
requirement_level: recommended | ||
brief: > | ||
The basename of the file. | ||
examples: ["audit.log"] | ||
- id: path | ||
type: string | ||
requirement_level: opt_in | ||
brief: > | ||
The full path to the file. | ||
examples: [ "/var/log/mysql/audit.log" ] | ||
- id: name_resolved | ||
type: string | ||
requirement_level: opt_in | ||
brief: > | ||
The basename of the file, with symlinks resolved. | ||
examples: [ "uuid.log" ] | ||
- id: path_resolved | ||
type: string | ||
requirement_level: opt_in | ||
brief: > | ||
The full path to the file, with symlinks resolved. | ||
examples: [ "/var/lib/docker/uuid.log" ] |
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