1 | /** SPAN_KIND hints at relationship between spans, e.g. client/server */
|
2 | export declare const SPAN_KIND = "span.kind";
|
3 | /** Marks a span representing the client-side of an RPC or other remote call */
|
4 | export declare const SPAN_KIND_RPC_CLIENT = "client";
|
5 | /** Marks a span representing the server-side of an RPC or other remote call */
|
6 | export declare const SPAN_KIND_RPC_SERVER = "server";
|
7 | /** Marks a span representing the producing-side within a messaging system or other remote call */
|
8 | export declare const SPAN_KIND_MESSAGING_PRODUCER = "producer";
|
9 | /** Marks a span representing the consuming-side within a messaging system or other remote call */
|
10 | export declare const SPAN_KIND_MESSAGING_CONSUMER = "consumer";
|
11 | /**
|
12 | * ERROR (boolean) true if and only if the application considers the operation
|
13 | * represented by the Span to have failed
|
14 | */
|
15 | export declare const ERROR = "error";
|
16 | /**
|
17 | * COMPONENT (string) ia s low-cardinality identifier of the module, library,
|
18 | * or package that is generating a span.
|
19 | */
|
20 | export declare const COMPONENT = "component";
|
21 | /**
|
22 | * SAMPLING_PRIORITY (number) determines the priority of sampling this Span.
|
23 | * If greater than 0, a hint to the Tracer to do its best to capture the trace.
|
24 | * If 0, a hint to the trace to not-capture the trace. If absent, the Tracer
|
25 | * should use its default sampling mechanism.
|
26 | */
|
27 | export declare const SAMPLING_PRIORITY = "sampling.priority";
|
28 | /**
|
29 | * PEER_SERVICE (string) Remote service name (for some unspecified
|
30 | * definition of "service"). E.g., "elasticsearch", "a_custom_microservice", "memcache"
|
31 | */
|
32 | export declare const PEER_SERVICE = "peer.service";
|
33 | /** PEER_HOSTNAME (string) Remote hostname. E.g., "opentracing.io", "internal.dns.name" */
|
34 | export declare const PEER_HOSTNAME = "peer.hostname";
|
35 | /**
|
36 | * PEER_ADDRESS (string) Remote "address", suitable for use in a
|
37 | * networking client library. This may be a "ip:port", a bare
|
38 | * "hostname", a FQDN, or even a JDBC substring like "mysql://prod-db:3306"
|
39 | */
|
40 | export declare const PEER_ADDRESS = "peer.address";
|
41 | /**
|
42 | * PEER_HOST_IPV4 (number) Remote IPv4 address as a .-separated tuple.
|
43 | * E.g., "127.0.0.1"
|
44 | */
|
45 | export declare const PEER_HOST_IPV4 = "peer.ipv4";
|
46 | export declare const PEER_HOST_IPV6 = "peer.ipv6";
|
47 | export declare const PEER_PORT = "peer.port";
|
48 | /**
|
49 | * HTTP_URL (string) URL of the request being handled in this segment of the
|
50 | * trace, in standard URI format. E.g., "https://domain.net/path/to?resource=here"
|
51 | */
|
52 | export declare const HTTP_URL = "http.url";
|
53 | /**
|
54 | * HTTP_METHOD (string) HTTP method of the request for the associated Span. E.g.,
|
55 | * "GET", "POST"
|
56 | */
|
57 | export declare const HTTP_METHOD = "http.method";
|
58 | /**
|
59 | * HTTP_STATUS_CODE (number) HTTP response status code for the associated Span.
|
60 | * E.g., 200, 503, 404
|
61 | */
|
62 | export declare const HTTP_STATUS_CODE = "http.status_code";
|
63 | /**
|
64 | * MESSAGE_BUS_DESTINATION (string) An address at which messages can be exchanged.
|
65 | * E.g. A Kafka record has an associated "topic name" that can be extracted
|
66 | * by the instrumented producer or consumer and stored using this tag.
|
67 | */
|
68 | export declare const MESSAGE_BUS_DESTINATION = "message_bus.destination";
|
69 | /**
|
70 | * DB_INSTANCE (string) Database instance name. E.g., In java, if the
|
71 | * jdbc.url="jdbc:mysql://127.0.0.1:3306/customers", the instance name is "customers".
|
72 | */
|
73 | export declare const DB_INSTANCE = "db.instance";
|
74 | /**
|
75 | * DB_STATEMENT (string) A database statement for the given database type.
|
76 | * E.g., for db.type="SQL", "SELECT * FROM wuser_table";
|
77 | * for db.type="redis", "SET mykey 'WuValue'".
|
78 | */
|
79 | export declare const DB_STATEMENT = "db.statement";
|
80 | /**
|
81 | * DB_TYPE (string) Database type. For any SQL database, "sql". For others,
|
82 | * the lower-case database category, e.g. "cassandra", "hbase", or "redis".
|
83 | */
|
84 | export declare const DB_TYPE = "db.type";
|
85 | /**
|
86 | * DB_USER (string) Username for accessing database. E.g., "readonly_user"
|
87 | * or "reporting_user"
|
88 | */
|
89 | export declare const DB_USER = "db.user";
|
90 | //# sourceMappingURL=tags.d.ts.map |
\ | No newline at end of file |