Skip to content

Commit a7d05d0

Browse files
authored
Adding Company Data Health Checks Documentation (#833)
Adding company data health checks documentation
1 parent 4808be6 commit a7d05d0

File tree

3 files changed

+62
-0
lines changed

3 files changed

+62
-0
lines changed

docs/metrics/health-checks.md

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
title: Data Health Checks
3+
sidebar_label: Health
4+
slug: /metrics/health-checks
5+
---
6+
7+
### Monitoring Data Health
8+
9+
To monitor the health of your data,
10+
11+
- Navigate to **Metrics** in the left-hand navigation panel in the Statsig console
12+
- Select the **events** tab at the top
13+
14+
- **Data Health Checks Card**
15+
16+
![Screen Shot 1402-04-06 at 15 31 53](https://github.com/statsig-io/docs/assets/133702265/07997263-9840-4e09-ae2f-e709e852df71)
17+
18+
- The data health checks card displays the results of the health checks that are run on your data. If any health check fails, the card is automatically expanded revealing the health check results.
19+
- Hover over the icon and click on a check for more details.
20+
21+
- Viewing these health checks can help you identify any anomalies or issues with the data. By monitoring these health checks, you can ensure the reliability and accuracy of your metrics. To monitor the health of your Data, the following health checks are performed.
22+
23+
### Health Check Details
24+
25+
- **Event Count Health Check**
26+
27+
- The Event Count Health Check flags the data if the percentage difference in number of events ingested today differs from the previous day falls outside a dynamically set bound.
28+
The bound is computed by leveraging the day-to-day percentage difference data across all companies for the past 30 days.
29+
30+
- The percentage difference is computed with respect to the minimum of the two values.
31+
32+
- The upper bound is set as two standard deviations above the mean of percentage differences
33+
- The lower bound is set as two standard deviations below the mean of percentage differences
34+
35+
- **Thresholds**
36+
37+
- $Event\ Count\ >\ 100,000$
38+
and one of the following:
39+
- $\frac{|Event\ Count_{Today}\ -\ Event\ Count_{Yesterday}|}{min(Event\ Count_{Today}\ ,\ Event\ Count_{Yesterday})} > Upper\ Bound\%$
40+
- $\frac{|Event\ Count_{Today}\ -\ Event\ Count_{Yesterday}|}{min(Event\ Count_{Today}\ ,\ Event\ Count_{Yesterday})} < Lower\ Bound\%$
41+
42+
- **Frequency Health Check**
43+
44+
- The Frequency Health Check displays as many rows as there are unique unit type in the data. For each unit type, the health check flags the row if an ID appears a lot more frequently than any other ID. It helps identify cases where certain IDs are disproportionately represented in the data.
45+
46+
- **Thresholds**
47+
48+
- $Frequency > 1,000$
49+
- $\frac{Frequency}{\sum Frequency} > \frac{1}{\log_{2}(Frequency)}$
50+
51+
- **Data Processed Health Check**
52+
53+
- The Data Processed Health Checks displays a row for each event type up to 10 rows. For each event type, the health check flags the row if number of events ingested divided by the number of events submitted is less than 95%. It ensures that a high percentage of the submitted events are successfully processed and ingested.
54+
55+
- **Thresholds**
56+
57+
- $Rows Ingested > 1,000$
58+
- $\frac{Rows Processed}{Rows Ingested} < 95\%$
59+
60+
- Monitoring data health is crucial for ensuring the validity and effectiveness of your experiments. Regularly checking these health checks allows you to identify any issues early on and make informed decisions based on reliable data.

script.scpt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
tell application "System Events" to display dialog "jello" buttons {"Close"}

sidebars.js

+1
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ module.exports = {
172172
"metrics/ingest",
173173
"metrics/pulse",
174174
"metrics/console",
175+
"metrics/health-checks",
175176

176177
// 201
177178
"metrics/create",

0 commit comments

Comments
 (0)