Skip to main content
EMEP observability covers logs, metrics, and traces across all 16 components. Model-level metrics track candidate throughput, fitness distribution, GPU utilization, and VRAM. Evaluation metrics feed into experiment dashboards. Alerting hooks trigger on experiment state transitions, resource thresholds, and benchmark anomalies. This page includes the observability pipeline diagram.

Observability Pipeline

Log Specification

Every component emits structured JSON logs with the following required fields. Log levels:
  • DEBUG: Tensor shape details, scheduler polling
  • INFO: Job completion, state transitions, artifact storage
  • WARN: Retry attempts, fallback to CPU, fair-share deficit
  • ERROR: Merge failure, benchmark crash, GPU OOM

Metrics Specification

Metrics are emitted in Prometheus exposition format. Key metric categories: System metrics:
  • emep_gpu_utilization_percent{gpu_id, worker_id}
  • emep_gpu_vram_used_bytes{gpu_id, worker_id}
  • emep_gpu_vram_total_bytes{gpu_id, worker_id}
  • emep_scheduler_queue_depth{queue_name}
  • emep_scheduler_wait_time_seconds{queue_name, priority}
Model metrics:
  • emep_candidate_throughput_per_hour{experiment_id}
  • emep_fitness_distribution{experiment_id, percentile}
  • emep_merge_duration_seconds{strategy}
  • emep_eval_duration_seconds{benchmark_name}
Experiment metrics:
  • emep_experiment_state_duration_seconds{experiment_id, state}
  • emep_experiment_candidate_count{experiment_id, status}
  • emep_population_generation{experiment_id}

Trace Specification

Distributed traces follow OpenTelemetry conventions. Spans are created at job submission, queue wait, GPU allocation, execution phases, and artifact storage. Key spans:
  • merge_job.submit (API Server)
  • merge_job.queue_wait (Scheduler)
  • merge_job.gpu_allocate (Scheduler)
  • merge_job.tensor_load (TensorEngine)
  • merge_job.merge_execute (MergeEngine)
  • merge_job.artifact_store (ArtifactStore)
Trace sampling: 100% for failed jobs, 10% for successful jobs, 100% for critical priority.

Dashboards

Alerting Hooks

Alerts are configured as Prometheus alert rules routed through Alertmanager.