Skip to content

Commit

Permalink
add comment regarding processStateTimeGauge namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardmack committed Apr 12, 2023
1 parent a7692b3 commit d6344f9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dot/network/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ var (
Help: "total number of outbound streams",
})
processStartTimeGauge = promauto.NewGauge(prometheus.GaugeOpts{
Namespace: "substrate",
Name: "process_start_time_seconds",
Namespace: "substrate", // Note: this is using substrate namespace because that is what zombienet uses
// to confirm nodes have started TODO: consider other ways to handle this.
Name: "process_start_time_seconds",
Help: "gossamer process start seconds unix timestamp, " +
"using substrate namespace so zombienet detects node start",
})
Expand Down

0 comments on commit d6344f9

Please sign in to comment.