-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathExceptionIncubatingAttributes.java
More file actions
64 lines (56 loc) · 2.17 KB
/
ExceptionIncubatingAttributes.java
File metadata and controls
64 lines (56 loc) · 2.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.semconv.incubating;
import static io.opentelemetry.api.common.AttributeKey.stringKey;
import io.opentelemetry.api.common.AttributeKey;
// DO NOT EDIT, this is an Auto-generated file from
// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class ExceptionIncubatingAttributes {
/**
* The exception message.
*
* <p>Notes:
*
* <blockquote>
*
* [!WARNING]
*
* <p>This attribute may contain sensitive information.
*
* </blockquote>
*
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.ExceptionAttributes#EXCEPTION_MESSAGE} attribute.
*/
@Deprecated
public static final AttributeKey<String> EXCEPTION_MESSAGE = stringKey("exception.message");
/**
* 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.
*
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.ExceptionAttributes#EXCEPTION_STACKTRACE} attribute.
*/
@Deprecated
public static final AttributeKey<String> EXCEPTION_STACKTRACE = stringKey("exception.stacktrace");
/**
* 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.
*
* <p>Notes:
*
* <p>If the recorded exception type is a wrapper that is not meaningful for failure
* classification, instrumentation MAY use the type of the inner exception instead. For example,
* in Go, errors created with {@code fmt.Errorf} using {@code %w} MAY be unwrapped when the
* wrapper type does not help classify the failure.
*
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.ExceptionAttributes#EXCEPTION_TYPE} attribute.
*/
@Deprecated public static final AttributeKey<String> EXCEPTION_TYPE = stringKey("exception.type");
// Enum definitions
private ExceptionIncubatingAttributes() {}
}