Skip to content

AgentPrismDiagnostics.Tags

Namespace AgentPrism · Assembly AgentPrism.Core.dll

Defines span and metric tag names. Changing them breaks dashboards.

public static class AgentPrismDiagnostics.Tags

objectAgentPrismDiagnostics.Tags

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Gets the agent name tag name.

public const string AgentName = "agentprism.agent.name"

string

Gets the evaluated definition version tag name.

public const string AgentVersion = "agentprism.agent.version"

string

Gets the summarization-call input-token tag name.

public const string CompactionInputTokens = "agentprism.compaction.input_tokens"

string

Gets the summarization-call output-token tag name.

public const string CompactionOutputTokens = "agentprism.compaction.output_tokens"

string

Gets the cost currency tag name.

public const string Currency = "agentprism.cost.currency"

string

Gets the call-tree depth tag name. It is written only for child runs.

public const string Depth = "agentprism.run.depth"

string

Gets the token direction tag name: input or output.

public const string Direction = "agentprism.token.direction"

string

Gets the script execution duration tag name in milliseconds.

public const string DurationMs = "agentprism.script.duration_ms"

string

Gets the script process exit-code tag name.

public const string ExitCode = "agentprism.script.exit_code"

string

Gets the judge name tag name from IRunJudge.Name.

public const string JudgeName = "agentprism.judge.name"

string

Gets the model name tag name.

public const string ModelId = "agentprism.model.id"

string

Gets the parent run identifier tag name. It is written only for child runs.

public const string ParentRunId = "agentprism.run.parent_id"

string

Gets the applied quota metric tag name: Runs, Tokens, or Cost.

public const string QuotaMetric = "agentprism.quota.metric"

string

Gets the quota counter reset-period tag name.

public const string QuotaPeriod = "agentprism.quota.period"

string

Gets the quota scope tag name: agent name or an empty string for tenant-wide scope.

public const string QuotaScope = "agentprism.quota.scope"

string

Gets the run identifier tag name.

public const string RunId = "agentprism.run.id"

string

Gets the script name tag name.

public const string ScriptName = "agentprism.script.name"

string

Gets the session identifier tag name.

public const string SessionId = "agentprism.session.id"

string

Gets the skill name tag name.

public const string SkillName = "agentprism.skill.name"

string

Gets the run-status tag name.

public const string Status = "agentprism.run.status"

string

Gets the tag name that indicates streaming runs.

public const string Streaming = "agentprism.run.streaming"

string

Gets the tenant identifier tag name.

public const string TenantId = "agentprism.tenant.id"

string

Gets the tool name tag name.

public const string ToolName = "agentprism.tool.name"

string