semconv.com

process.executable.build_id.htlhash

Release candidatestringas of v1.44.0

Deterministic build ID for executables.

GNU and Go build IDs may be stripped or unavailable in some environments (e.g., Alpine Linux, Docker images). This attribute provides a deterministic build ID computed by hashing the first and last 4096 bytes of the file along with its length:

`` Input ← Concat(File[:4096], File[-4096:], BigEndianUInt64(Len(File))) Digest ← SHA256(Input) BuildID ← Digest[:16] ``

The result is the first 16 bytes (128 bits) of the SHA256 digest, represented as a hex string.

Examples

Used by

entitys (1)

  • process.executable *

* required on that signal.

History

  1. v1.42.0stability

    Promoted to release_candidate.

  2. v1.31.0

    Stability label respelled from experimental to development.

  3. v1.30.0

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

Definition sourceRegistry docsJSON