1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- import {Health} from 'sentry/types';
- export function HealthFixture(params: Partial<Health> = {}): Health {
- return {
- totalUsers24h: null,
- durationP50: 231,
- hasHealthData: true,
- sessionsAdoption: 0,
- totalProjectSessions24h: 0,
- totalProjectUsers24h: 0,
- totalSessions24h: 0,
- totalSessions: 74949,
- totalUsers: 2544,
- crashFreeSessions: 99.59839357429719,
- sessionsErrored: 301,
- crashFreeUsers: 98.07389937106919,
- durationP90: 333,
- adoption: null,
- sessionsCrashed: 301,
- stats: {
- '24h': [
- [1585472400, 0],
- [1585476000, 0],
- [1585479600, 0],
- [1585483200, 0],
- [1585486800, 0],
- [1585490400, 0],
- [1585494000, 0],
- [1585497600, 0],
- [1585501200, 0],
- [1585504800, 0],
- [1585508400, 0],
- [1585512000, 0],
- [1585515600, 0],
- [1585519200, 0],
- [1585522800, 0],
- [1585526400, 0],
- [1585530000, 0],
- [1585533600, 0],
- [1585537200, 0],
- [1585540800, 0],
- [1585544400, 0],
- [1585548000, 0],
- [1585551600, 0],
- [1585555200, 0],
- ],
- },
- ...params,
- };
- }
|