Skip to content

Commit

Permalink
rearrange order in Host metric list
Browse files Browse the repository at this point in the history
  • Loading branch information
chris124567 committed Oct 2, 2024
1 parent e52902d commit 181e343
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions api/prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,6 @@ func (host Host) PrometheusMetric() (metrics []prometheus.Metric) {
}

return []prometheus.Metric{
{
Name: "renterd_host_scanned",
Labels: netAddressLabel,
Value: 1,
},

// price table
{
Name: "renterd_host_pricetable_validity",
Expand Down Expand Up @@ -372,6 +366,11 @@ func (host Host) PrometheusMetric() (metrics []prometheus.Metric) {
},

// interactions
{
Name: "renterd_host_scanned",
Labels: netAddressLabel,
Value: 1,
},
{
Name: "renterd_host_interactions_totalscans",
Labels: netAddressLabel,
Expand Down

0 comments on commit 181e343

Please sign in to comment.