We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4c609aa + 0fe01f4 commit 5be2c8cCopy full SHA for 5be2c8c
packages/opentelemetry-semantic-conventions/src/trace/rpc.ts
@@ -14,8 +14,30 @@
14
* limitations under the License.
15
*/
16
export const RpcAttribute = {
17
+ /**
18
+ * A string identifying the remoting system.
19
+ *
20
+ * @remarks
21
+ * Required
22
+ */
23
+ RPC_SYSTEM: 'rpc.system',
24
+
25
26
+ * The full name of the service being called, including its package name, if applicable.
27
28
29
+ * Not required, but recommended
30
31
RPC_SERVICE: 'rpc.service',
32
33
34
+ * The name of the method being called, must be equal to the $method part in the span name.
35
36
37
38
39
+ RPC_METHOD: 'rpc.method',
40
41
// GRPC (no spec)
42
GRPC_KIND: 'grpc.kind', // SERVER or CLIENT
43
GRPC_METHOD: 'grpc.method',
0 commit comments