1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-12-09 20:04:11 +01:00
unleash.unleash/frontend/src/openapi/models/featureEnvironmentMetricsSchema.ts
2023-06-14 14:40:24 +02:00

28 lines
1.0 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 feature */
featureName?: string;
/** The name of the application the SDK is being used in */
appName?: string;
/** Which environment the SDK is being used in */
environment: string;
/** The start of the time window these metrics are valid for. The window is usually 1 hour wide */
timestamp: DateSchema;
/** How many times the toggle evaluated to true */
yes: number;
/** How many times the toggle evaluated to false */
no: number;
/** How many times each variant was returned */
variants?: FeatureEnvironmentMetricsSchemaVariants;
}