Search by

ctxflow / semconv

OscarRoLlo

ctxflow semantic conventions (C1-C7): attribute name constants, generated from the registry.

v0.2.5 2026-12-02 21:34 UTC

This package is auto-updated.

Last update: 2026-12-02 21:34:46 UTC


README

Read-only mirror of packages/semconv in ctxflow-sh/ctxflow-edge. Open issues and pull requests there.

ctxflow/semconv

ctxflow semantic conventions (C1-C7) for PHP: one final class Ctxflow\Semconv\Semconv with the attribute name constants, the content-key maps of OpenInference, OTel GenAI and OpenLLMetry, and contentKind() / isContentKey(). Generated from a single registry; no runtime dependencies.

use Ctxflow\Semconv\Semconv;

$span->setAttribute(Semconv::SOURCE_ID, 'policies/vacation.md');

You do not need to require it yourself: the SDK ctxflow/otel depends on it.

Documentation and the attribute reference: https://docs.ctxflow.sh. Release notes: CHANGELOG.md. Apache-2.0.