Skip to content

Commit

Permalink
Merge pull request #30 from domsolutions/fix-metrics
Browse files Browse the repository at this point in the history
fix not recording 200 status
  • Loading branch information
domsolutions authored Sep 15, 2024
2 parents d7a55fd + 51d593e commit cf376de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checks.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (mi *ModuleInstance) CheckStatus(wantStatus int, r *sobek.Object, extras ..
},
Time: t,
Metadata: commonTagsAndMeta.Metadata,
Value: 0,
Value: 1,
}

metrics.PushIfNotDone(ctx, state.Samples, sample)
Expand Down

0 comments on commit cf376de

Please sign in to comment.