Skip to content

Commit 5be2c8c

Browse files
authored
Merge 0fe01f4 into 4c609aa
2 parents 4c609aa + 0fe01f4 commit 5be2c8c

File tree

1 file changed

+22
-0
lines changed
  • packages/opentelemetry-semantic-conventions/src/trace

1 file changed

+22
-0
lines changed

packages/opentelemetry-semantic-conventions/src/trace/rpc.ts

+22
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,30 @@
1414
* limitations under the License.
1515
*/
1616
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+
* @remarks
29+
* Not required, but recommended
30+
*/
1731
RPC_SERVICE: 'rpc.service',
1832

33+
/**
34+
* The name of the method being called, must be equal to the $method part in the span name.
35+
*
36+
* @remarks
37+
* Not required, but recommended
38+
*/
39+
RPC_METHOD: 'rpc.method',
40+
1941
// GRPC (no spec)
2042
GRPC_KIND: 'grpc.kind', // SERVER or CLIENT
2143
GRPC_METHOD: 'grpc.method',

0 commit comments

Comments
 (0)