Module: Sentry::Span::DataConventions
- Defined in:
- lib/sentry/span.rb
Overview
We will try to be consistent with OpenTelemetry on this front going forward. develop.sentry.dev/sdk/performance/span-data-conventions/
Constant Summary collapse
- URL =
"url"
- HTTP_STATUS_CODE =
"http.response.status_code"
- HTTP_QUERY =
"http.query"
- HTTP_METHOD =
"http.request.method"
- DB_SYSTEM =
An identifier for the database management system (DBMS) product being used. Example: postgresql
"db.system"
- DB_NAME =
The name of the database being accessed. For commands that switch the database, this should be set to the target database (even if the command fails). Example: myDatabase
"db.name"
- SERVER_ADDRESS =
Name of the database host. Example: example.com
"server.address"
- SERVER_PORT =
Logical server port number Example: 80; 8080; 443
"server.port"
- SERVER_SOCKET_ADDRESS =
Physical server IP address or Unix socket address. Example: 10.5.3.2
"server.socket.address"
- SERVER_SOCKET_PORT =
Physical server port. Recommended: If different than server.port. Example: 16456
"server.socket.port"
- FILEPATH =
"code.filepath"
- LINENO =
"code.lineno"
- FUNCTION =
"code.function"
- NAMESPACE =
"code.namespace"