Commit 886969d6 authored by Amy Qualls's avatar Amy Qualls

Merge branch 'timeouts-in-docs' into 'master'

Add fallback values in UsagePing

See merge request gitlab-org/gitlab!57474
parents 38081550 ef70d590
...@@ -785,6 +785,16 @@ end ...@@ -785,6 +785,16 @@ end
Please refer to [the `PrometheusClient` definition](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/prometheus_client.rb) Please refer to [the `PrometheusClient` definition](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/prometheus_client.rb)
for how to use its API to query for data. for how to use its API to query for data.
### Fallback values for UsagePing
We return fallback values in these cases:
| Case | Value |
|-----------------------------|-------|
| Deprecated Metric | -1000 |
| Timeouts, general failures | -1 |
| Standard errors in counters | -2 |
## Developing and testing Usage Ping ## Developing and testing Usage Ping
### 1. Naming and placing the metrics ### 1. Naming and placing the metrics
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment