Aegis will report the data environment as production
, and you can modify it through the env
parameter.
new Aegis({
id: '',
env: Aegis.environment.gray
})
Valid values of Aegis.environment
:
export enum Environment {
production = 'production',
gray = 'gray',
pre = 'pre',
daily = 'daily',
local = 'local',
test = 'test',
others = 'others'
}
After you modify the env
parameter, the data reported by Aegis will carry it to help you distinguish between the data from different environments. However, only data in the production
environment can participate in the calculation of the project score.
Was this page helpful?