Skip to content

Commit

Permalink
[ENG-2342] unit and fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pwilczynskiclearcode committed Jan 8, 2025
1 parent c8cbe79 commit 3b333a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions monitor/census.go
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ func InitCensus(nodeType NodeType, version string) {
census.mAIResultUploadTime = stats.Float64("ai_result_upload_time_seconds", "Upload (to Orchestrator) time", "sec")
census.mAIResultSaveFailed = stats.Int64("ai_result_upload_failed_total", "AIResultUploadFailed", "tot")
census.mAICurrentLivePipelines = stats.Int64("ai_current_live_pipelines", "Number of live AI pipelines currently running", "tot")
census.mAIFirstSegmentDelay = stats.Int64("ai_first_segment_delay", "Delay of the first live AI segment being processed", "ms")
census.mAIFirstSegmentDelay = stats.Int64("ai_first_segment_delay_ms", "Delay of the first live AI segment being processed", "ms")

glog.Infof("Compiler: %s Arch %s OS %s Go version %s", runtime.Compiler, runtime.GOARCH, runtime.GOOS, runtime.Version())
glog.Infof("Livepeer version: %s", version)
Expand Down Expand Up @@ -985,7 +985,7 @@ func InitCensus(nodeType NodeType, version string) {
Aggregation: view.LastValue(),
},
{
Name: "ai_first_segment_delay",
Name: "ai_first_segment_delay_ms",
Measure: census.mAIFirstSegmentDelay,
Description: "Delay of the first live AI segment being processed",
TagKeys: baseTags,
Expand Down

0 comments on commit 3b333a6

Please sign in to comment.