tencent cloud

Tencent Cloud Observability Platform

Environment Control

Download
Focus Mode
Font Size
Last updated: 2024-11-01 19:54:54
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', // Production environment
gray = 'gray', // Beta test environment
pre = 'pre', // Prerelease environment
daily = 'daily', // Daily release environment
local = 'local', // Local environment
test = 'test', // Test environment
others = 'others' // Other environments
}
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.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback