-
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.
Merge branch 'main' into old_short_name
- Loading branch information
Showing
19 changed files
with
306 additions
and
107 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,27 @@ | ||
file_format: 1.1.0 | ||
schema_url: https://opentelemetry.io/schemas/1.14.0 | ||
versions: | ||
1.14.0: | ||
1.13.0: | ||
spans: | ||
changes: | ||
# https://github.com/open-telemetry/opentelemetry-specification/pull/2614 | ||
- rename_attributes: | ||
attribute_map: | ||
net.peer.ip: net.sock.peer.addr | ||
net.host.ip: net.sock.host.addr | ||
1.12.0: | ||
1.11.0: | ||
1.10.0: | ||
1.9.0: | ||
1.8.0: | ||
spans: | ||
changes: | ||
- rename_attributes: | ||
attribute_map: | ||
db.cassandra.keyspace: db.name | ||
db.hbase.namespace: db.name | ||
1.7.0: | ||
1.6.1: | ||
1.5.0: | ||
1.4.0: |
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,32 @@ | ||
groups: | ||
- id: exception | ||
prefix: exception | ||
brief: > | ||
This document defines the shared attributes used to | ||
report a single exception associated with a span or log. | ||
attributes: | ||
- id: type | ||
type: string | ||
brief: > | ||
The type of the exception (its fully-qualified class name, if applicable). | ||
The dynamic type of the exception should be preferred over the static type | ||
in languages that support it. | ||
examples: ["java.net.ConnectException", "OSError"] | ||
- id: message | ||
type: string | ||
brief: The exception message. | ||
examples: ["Division by zero", "Can't convert 'int' object to str implicitly"] | ||
- id: stacktrace | ||
type: string | ||
brief: > | ||
A stacktrace as a string in the natural representation for the language runtime. | ||
The representation is to be determined and documented by each language SIG. | ||
examples: 'Exception in thread "main" java.lang.RuntimeException: Test exception\n | ||
at com.example.GenerateTrace.methodB(GenerateTrace.java:13)\n | ||
at com.example.GenerateTrace.methodA(GenerateTrace.java:9)\n | ||
at com.example.GenerateTrace.main(GenerateTrace.java:5)' | ||
|
||
constraints: | ||
- any_of: | ||
- "exception.type" | ||
- "exception.message" |
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,15 @@ | ||
groups: | ||
- id: log-exception | ||
prefix: exception | ||
brief: > | ||
This document defines attributes for exceptions represented using Log | ||
Records. | ||
attributes: | ||
- ref: exception.type | ||
- ref: exception.message | ||
- ref: exception.stacktrace | ||
|
||
constraints: | ||
- any_of: | ||
- "exception.type" | ||
- "exception.message" |
25 changes: 4 additions & 21 deletions
25
semantic_conventions/trace/exception.yaml → ...ic_conventions/trace/trace-exception.yaml
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.