Skip to content
semconv.com
↑↓ move↵ openUse with your agent →

code.file.path

Stablestringas of v1.45.0

The source code filename that identifies the code unit as uniquely as possible (preferably an absolute file path). This attribute MUST NOT be used on the Profile signal since the data is already captured in 'message Function'. This constraint is imposed to prevent redundancy and maintain data integrity.

Examples

  • /usr/local/MyApplication/content_root/app/index.php

History

  1. v1.33.0Stability

    Promoted to stable.

  2. v1.31.0

    Now referenced by code (recommended).

  3. v1.31.0Stability

    Promoted to release_candidate.

  4. v1.30.0

    Already present at v1.30.0, the oldest release tracked here (experimental).

Definition sourceRegistry docsJSONUse with your agent →