1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-18 11:14:57 +02:00
unleash.unleash/frontend/src/openapi/models/featureEnvironmentMetricsSchema.ts
2024-04-26 13:31:15 +02:00

34 lines
1.1 KiB
TypeScript

/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { DateSchema } from './dateSchema';
import type { FeatureEnvironmentMetricsSchemaVariants } from './featureEnvironmentMetricsSchemaVariants';
/**
* How many times `feautreName` was evaluated to `true` (yes) and `false` (no) for `appName` in `environmnet`
*/
export interface FeatureEnvironmentMetricsSchema {
/** The name of the application the SDK is being used in */
appName?: string;
/** Which environment the SDK is being used in */
environment: string;
/** The name of the feature */
featureName?: string;
/**
* How many times the toggle evaluated to false
* @minimum 0
*/
no: number;
/** The start of the time window these metrics are valid for. The window is usually 1 hour wide */
timestamp: DateSchema;
/** How many times each variant was returned */
variants?: FeatureEnvironmentMetricsSchemaVariants;
/**
* How many times the toggle evaluated to true
* @minimum 0
*/
yes: number;
}