Skip to content

Commit

Permalink
chore: added deprecation hint
Browse files Browse the repository at this point in the history
Signed-off-by: Bruno Bressi <[email protected]>
  • Loading branch information
puffitos committed Jun 6, 2024
1 parent c240cae commit 7f8fef6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ latency:

- `sparrow_latency_duration_seconds`
- Type: Gauge
- Description: Latency with status information of targets. This metric is DEPRECATED
- Description: Latency with status information of targets. This metric is DEPRECATED. Use `sparrow_latency_seconds`.
- Labelled with `target` and `status`

- `sparrow_latency_seconds`
Expand Down
2 changes: 1 addition & 1 deletion pkg/checks/latency/latency.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func newMetrics() metrics {
duration: prometheus.NewGaugeVec(
prometheus.GaugeOpts{
Name: "sparrow_latency_duration_seconds",
Help: "DEPRECATED Latency with status information of targets",
Help: "DEPRECATED Latency with status information of targets. Use sparrow_latency_seconds.",
},
[]string{
"target",
Expand Down

0 comments on commit 7f8fef6

Please sign in to comment.