Files
ImageApi/docs/tracing-baseline/pre-migration/span-inventory.json
T
cameron 73523c6796 baseline(#137): pre-migration OTel span capture from da3901c
Raw Jaeger trace dumps (with and without incoming traceparent) plus a
derived span inventory and README describing the pre-migration span shape.
Captured from master da3901c release build against a local Jaeger; see
docs/tracing-baseline/pre-migration/README.md for the procedure and the
single span-neutral deviation (aux listen port 8088->18088).

Artifact branch only; /docs/* is gitignored, files force-added deliberately.
2026-09-29 13:57:05 -04:00

591 lines
12 KiB
JSON

[
{
"operation": "generate_video_thumbnail",
"span_count": 222,
"trace_count": 1,
"kind": "internal",
"scope": "image-server",
"status": "(none)",
"attribute_keys": [
"file-name",
"library",
"otel.scope.name",
"span.kind",
"type"
]
},
{
"operation": "llm.request",
"span_count": 8,
"trace_count": 3,
"kind": "client",
"scope": "image-server",
"status": "OK",
"attribute_keys": [
"http.status_code",
"llm.model",
"llm.operation",
"llm.provider",
"llm.tokens.input",
"llm.tokens.output",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "db.query.count_for_library",
"span_count": 4,
"trace_count": 4,
"kind": "internal",
"scope": "db",
"status": "OK",
"attribute_keys": [
"db.operation",
"db.query_type",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "db.query.get_memories_in_window",
"span_count": 4,
"trace_count": 1,
"kind": "internal",
"scope": "db",
"status": "OK",
"attribute_keys": [
"db.operation",
"db.query_type",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "db.query.get_persona",
"span_count": 4,
"trace_count": 4,
"kind": "internal",
"scope": "db",
"status": "OK",
"attribute_keys": [
"db.operation",
"db.query_type",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "db.query.get_prefs",
"span_count": 4,
"trace_count": 4,
"kind": "internal",
"scope": "db",
"status": "OK",
"attribute_keys": [
"db.operation",
"db.query_type",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "db.insert.upsert_entity",
"span_count": 2,
"trace_count": 1,
"kind": "internal",
"scope": "db",
"status": "OK",
"attribute_keys": [
"db.operation",
"db.query_type",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "db.query.get_event_count",
"span_count": 2,
"trace_count": 2,
"kind": "internal",
"scope": "db",
"status": "OK",
"attribute_keys": [
"db.operation",
"db.query_type",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "db.query.get_exif",
"span_count": 2,
"trace_count": 2,
"kind": "internal",
"scope": "db",
"status": "OK",
"attribute_keys": [
"db.operation",
"db.query_type",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "db.query.get_location_count",
"span_count": 2,
"trace_count": 2,
"kind": "internal",
"scope": "db",
"status": "OK",
"attribute_keys": [
"db.operation",
"db.query_type",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "db.query.has_any_faces",
"span_count": 2,
"trace_count": 2,
"kind": "internal",
"scope": "db",
"status": "OK",
"attribute_keys": [
"db.operation",
"db.query_type",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "db.query.has_any_summaries",
"span_count": 2,
"trace_count": 2,
"kind": "internal",
"scope": "db",
"status": "OK",
"attribute_keys": [
"db.operation",
"db.query_type",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "db.query.list_entities",
"span_count": 2,
"trace_count": 1,
"kind": "internal",
"scope": "db",
"status": "OK",
"attribute_keys": [
"db.operation",
"db.query_type",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "ai.agentic.loop",
"span_count": 1,
"trace_count": 1,
"kind": "internal",
"scope": "image-server",
"status": "OK",
"attribute_keys": [
"iterations_used",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "ai.insight.generate_agentic",
"span_count": 1,
"trace_count": 1,
"kind": "internal",
"scope": "image-server",
"status": "OK",
"attribute_keys": [
"backend",
"file_path",
"images_inline",
"max_iterations",
"model",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "ai.rag.search_daily_summaries",
"span_count": 1,
"trace_count": 1,
"kind": "internal",
"scope": "image-server",
"status": "OK",
"attribute_keys": [
"date",
"limit",
"otel.scope.name",
"otel.status_code",
"query",
"results_count",
"span.kind",
"time_weighted"
]
},
{
"operation": "db.insert.create_job",
"span_count": 1,
"trace_count": 1,
"kind": "internal",
"scope": "db",
"status": "OK",
"attribute_keys": [
"db.operation",
"db.query_type",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "db.insert.store_insight",
"span_count": 1,
"trace_count": 1,
"kind": "internal",
"scope": "db",
"status": "OK",
"attribute_keys": [
"db.operation",
"db.query_type",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "db.insert.upsert_fact",
"span_count": 1,
"trace_count": 1,
"kind": "internal",
"scope": "db",
"status": "OK",
"attribute_keys": [
"db.operation",
"db.query_type",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "db.insert.upsert_photo_link",
"span_count": 1,
"trace_count": 1,
"kind": "internal",
"scope": "db",
"status": "OK",
"attribute_keys": [
"db.operation",
"db.query_type",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "db.query.faces_for_hash",
"span_count": 1,
"trace_count": 1,
"kind": "internal",
"scope": "db",
"status": "OK",
"attribute_keys": [
"content_hash",
"db.operation",
"db.query_type",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "db.query.find_relevant_events_hybrid",
"span_count": 1,
"trace_count": 1,
"kind": "internal",
"scope": "db",
"status": "OK",
"attribute_keys": [
"db.operation",
"db.query_type",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "db.query.find_similar_summaries_with_time_weight",
"span_count": 1,
"trace_count": 1,
"kind": "internal",
"scope": "db",
"status": "OK",
"attribute_keys": [
"db.operation",
"db.query_type",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "db.query.get_active_job",
"span_count": 1,
"trace_count": 1,
"kind": "internal",
"scope": "db",
"status": "OK",
"attribute_keys": [
"db.operation",
"db.query_type",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "db.query.get_current_insight_for_library",
"span_count": 1,
"trace_count": 1,
"kind": "internal",
"scope": "db",
"status": "OK",
"attribute_keys": [
"db.operation",
"db.query_type",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "db.query.get_links_for_photo",
"span_count": 1,
"trace_count": 1,
"kind": "internal",
"scope": "db",
"status": "OK",
"attribute_keys": [
"db.operation",
"db.query_type",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "db.query.get_tag_counts_batch",
"span_count": 1,
"trace_count": 1,
"kind": "internal",
"scope": "db",
"status": "OK",
"attribute_keys": [
"db.operation",
"db.query_type",
"file_count",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "db.query.get_tags_for_path",
"span_count": 1,
"trace_count": 1,
"kind": "internal",
"scope": "db",
"status": "OK",
"attribute_keys": [
"db.operation",
"db.query_type",
"otel.scope.name",
"otel.status_code",
"path",
"span.kind"
]
},
{
"operation": "db.query.list_rel_paths_for_libraries",
"span_count": 1,
"trace_count": 1,
"kind": "internal",
"scope": "db",
"status": "OK",
"attribute_keys": [
"db.operation",
"db.query_type",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "db.query.resolve_content_hash",
"span_count": 1,
"trace_count": 1,
"kind": "internal",
"scope": "db",
"status": "OK",
"attribute_keys": [
"db.operation",
"db.query_type",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "db.update.cancel_active_jobs",
"span_count": 1,
"trace_count": 1,
"kind": "internal",
"scope": "db",
"status": "OK",
"attribute_keys": [
"db.operation",
"db.query_type",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "db.update.complete_job",
"span_count": 1,
"trace_count": 1,
"kind": "internal",
"scope": "db",
"status": "OK",
"attribute_keys": [
"db.operation",
"db.query_type",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "db.update.update_facts_insight_id",
"span_count": 1,
"trace_count": 1,
"kind": "internal",
"scope": "db",
"status": "OK",
"attribute_keys": [
"db.operation",
"db.query_type",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "db.update.update_training_messages",
"span_count": 1,
"trace_count": 1,
"kind": "internal",
"scope": "db",
"status": "OK",
"attribute_keys": [
"db.operation",
"db.query_type",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "http.insights.generate_agentic",
"span_count": 1,
"trace_count": 1,
"kind": "internal",
"scope": "image-server",
"status": "OK",
"attribute_keys": [
"backend",
"file_path",
"job_id",
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "list_memories",
"span_count": 1,
"trace_count": 1,
"kind": "internal",
"scope": "image-server",
"status": "OK",
"attribute_keys": [
"otel.scope.name",
"otel.status_code",
"span.kind"
]
},
{
"operation": "list_photos",
"span_count": 1,
"trace_count": 1,
"kind": "internal",
"scope": "image-server",
"status": "OK",
"attribute_keys": [
"camera_make",
"camera_model",
"date_from",
"date_to",
"exclude_tag_ids",
"file_count",
"gps_lat",
"gps_lon",
"gps_radius_km",
"lens_model",
"library",
"media_type",
"optimization.batch_tags",
"optimization.db_sort",
"otel.scope.name",
"otel.status_code",
"pagination.enabled",
"pagination.limit",
"pagination.offset",
"path",
"recursive",
"returned_count",
"sort",
"span.kind",
"tag_filter_mode",
"tag_ids",
"total_count"
]
}
]