Skip to content

otel / metrics: OTelMetricEmitter accepts bare string classification_values (splitting into characters) and reserved '_other' bucket #113

Done

Description

@drk-ram

Summary

  1. OTelMetricEmitter in src/agentrust_telemetry/otel.py and packages/typescript/src/metrics.ts accepts a bare string for classification_values / classificationValues (iterating character-by-character into single-letter allowlist entries), does not validate that elements are strings without surrounding whitespace, and allows the reserved fallback label "_other".

Activity

  1. github-actions commented on Oct 25, 2026

    @github-actions

    🟡 Contributor Check: MEDIUM

    Check Result
    Profile MEDIUM
    Credential LOW
    Overall MEDIUM

    Automated check by AgenTrust Contributor Check.

  2. added
    needs-review:MEDIUM
    on Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-review:MEDIUM

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions