Skip to content

Commit

Permalink
api: add timestamp to host state
Browse files Browse the repository at this point in the history
  • Loading branch information
n8maninger committed Jan 18, 2024
1 parent 24b0c5e commit ddfdc9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ func (hs HostState) PrometheusMetric() []prometheus.Metric {
"build_time": hs.BuildTime,
"start_time": hs.StartTime,
},
Timestamp: time.Now(),
},
{
Name: "hostd_runtime",
Expand Down

0 comments on commit ddfdc9b

Please sign in to comment.