Rpc Attributes

4 attributes in this category. 4 stable

Stable Attributes

rpc.grpc.status_code

integer PII: Maybe Visibility: Public OTel: True

The numeric status code of the gRPC request.

Example 2
Changelog
v0.4.0 #228
v0.0.0
Raw JSON
{
  "key": "rpc.grpc.status_code",
  "brief": "The numeric status code of the gRPC request.",
  "type": "integer",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": true,
  "visibility": "public",
  "example": 2,
  "changelog": [
    {
      "version": "0.4.0",
      "prs": [
        228
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}

rpc.method

string PII: Maybe Visibility: Public OTel: True

The fully-qualified logical name of the method from the RPC interface perspective.

Example com.example.ExampleService/exampleMethod
Changelog
v0.7.0 #351 Added rpc.method attribute
Raw JSON
{
  "key": "rpc.method",
  "brief": "The fully-qualified logical name of the method from the RPC interface perspective.",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": true,
  "visibility": "public",
  "example": "com.example.ExampleService/exampleMethod",
  "changelog": [
    {
      "version": "0.7.0",
      "prs": [
        351
      ],
      "description": "Added rpc.method attribute"
    }
  ]
}

rpc.response.status_code

string PII: Maybe Visibility: Public OTel: True

Status code of the RPC returned by the RPC server or generated by the client.

Example DEADLINE_EXCEEDED
Changelog
v0.7.0 #352 Added rpc.response.status_code attribute
Raw JSON
{
  "key": "rpc.response.status_code",
  "brief": "Status code of the RPC returned by the RPC server or generated by the client.",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": true,
  "visibility": "public",
  "example": "DEADLINE_EXCEEDED",
  "changelog": [
    {
      "version": "0.7.0",
      "prs": [
        352
      ],
      "description": "Added rpc.response.status_code attribute"
    }
  ]
}

rpc.service

string PII: Maybe Visibility: Public OTel: True

The full (logical) name of the service being called, including its package name, if applicable.

Example myService.BestService
Changelog
v0.1.0 #127
v0.0.0
Raw JSON
{
  "key": "rpc.service",
  "brief": "The full (logical) name of the service being called, including its package name, if applicable.",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": true,
  "visibility": "public",
  "example": "myService.BestService",
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        127
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}