.NET API
TraconDiagnostics
Tracon.Core.dllDefines Tracon telemetry source and measurement names.
public static class TraconDiagnosticsInheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”These names are stable. Consumers use them in OpenTelemetry configuration, so changing them is a breaking change.
Consumers continue to configure their own OTLP exporter. Tracon does not take over the pipeline. Example setup:
builder.Services.AddOpenTelemetry() .WithTracing(t => t.AddSource(TraconDiagnostics.ActivitySourceName)) .WithMetrics(m => m.AddMeter(TraconDiagnostics.MeterName));Fields
Section titled “Fields”ActivitySourceName
Section titled “ ActivitySourceName”Gets the Tracon ActivitySource name.
public const string ActivitySourceName = "Tracon"Field Value
Section titled “Field Value”AgentSourceFailureCounterName
Section titled “ AgentSourceFailureCounterName”Gets the counter name for agent-source failures.
public const string AgentSourceFailureCounterName = "tracon.agent_source.failures"Field Value
Section titled “Field Value”CompactHistoryActivityName
Section titled “ CompactHistoryActivityName”Gets the span name that represents a context-compaction summarization call.
public const string CompactHistoryActivityName = "compact_history"Field Value
Section titled “Field Value”JobCounterName
Section titled “ JobCounterName”Gets the counter name for finished background jobs.
public const string JobCounterName = "tracon.job.executions"Field Value
Section titled “Field Value”JobDurationName
Section titled “ JobDurationName”Gets the job-attempt duration histogram name in seconds.
public const string JobDurationName = "tracon.job.duration"Field Value
Section titled “Field Value”JobQueueDepthGaugeName
Section titled “ JobQueueDepthGaugeName”Gets the observable gauge that shows outstanding jobs per lane and status.
public const string JobQueueDepthGaugeName = "tracon.job.queue.depth"Field Value
Section titled “Field Value”JudgeCostCounterName
Section titled “ JudgeCostCounterName”Gets the counter name for the judge’s own cost.
public const string JudgeCostCounterName = "tracon.judge.cost"Field Value
Section titled “Field Value”JudgeScoreHistogramName
Section titled “ JudgeScoreHistogramName”Gets the histogram name for judge scores from 0 to 100.
public const string JudgeScoreHistogramName = "tracon.judge.score"Field Value
Section titled “Field Value”MeterName
Section titled “ MeterName”Gets the Tracon Meter name.
public const string MeterName = "Tracon"Field Value
Section titled “Field Value”ModelCacheLookupCounterName
Section titled “ ModelCacheLookupCounterName”Gets the response-cache lookup counter name.
public const string ModelCacheLookupCounterName = "tracon.model.cache"Field Value
Section titled “Field Value”QuotaLimitGaugeName
Section titled “ QuotaLimitGaugeName”Gets the observable gauge that shows the configured quota-scope limit.
public const string QuotaLimitGaugeName = "tracon.quota.limit"Field Value
Section titled “Field Value”QuotaUsageGaugeName
Section titled “ QuotaUsageGaugeName”Gets the observable gauge that shows quota-scope consumption in the current period.
public const string QuotaUsageGaugeName = "tracon.quota.usage"Field Value
Section titled “Field Value”RunActivityName
Section titled “ RunActivityName”Gets the root span name that represents a run.
public const string RunActivityName = "tracon.run"Field Value
Section titled “Field Value”RunCostCounterName
Section titled “ RunCostCounterName”Gets the monetary cost counter name per run.
public const string RunCostCounterName = "tracon.run.cost"Field Value
Section titled “Field Value”RunCounterName
Section titled “ RunCounterName”Gets the completed-run counter name.
public const string RunCounterName = "tracon.runs"Field Value
Section titled “Field Value”RunDurationName
Section titled “ RunDurationName”Gets the run-duration histogram name in seconds.
public const string RunDurationName = "tracon.run.duration"Field Value
Section titled “Field Value”SkillScriptActivityName
Section titled “ SkillScriptActivityName”Gets the span name that represents a skill script execution.
public const string SkillScriptActivityName = "execute_skill_script"Field Value
Section titled “Field Value”SkillScriptToolName
Section titled “ SkillScriptToolName”Gets the tool name for skill script calls in metrics.
public const string SkillScriptToolName = "skill_script"Field Value
Section titled “Field Value”TokenCounterName
Section titled “ TokenCounterName”Gets the token counter name.
public const string TokenCounterName = "tracon.tokens"Field Value
Section titled “Field Value”ToolCounterName
Section titled “ ToolCounterName”Gets the tool-invocation counter name.
public const string ToolCounterName = "tracon.tool.invocations"Field Value
Section titled “Field Value”ToolDurationName
Section titled “ ToolDurationName”Gets the tool-call duration histogram name in seconds.
public const string ToolDurationName = "tracon.tool.duration"