mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-09 00:18:00 +01:00
chore: remove the addonUsageMetrics flag (#8590)
This commit is contained in:
parent
095a82569c
commit
a1c98c4400
@ -94,12 +94,10 @@ export default abstract class Addon {
|
||||
integrationEvent: IntegrationEventWriteModel,
|
||||
): Promise<void> {
|
||||
await this.integrationEventsService.registerEvent(integrationEvent);
|
||||
if (this.flagResolver.isEnabled('addonUsageMetrics')) {
|
||||
this.eventBus.emit(ADDON_EVENTS_HANDLED, {
|
||||
result: integrationEvent.state,
|
||||
destination: this.name,
|
||||
});
|
||||
}
|
||||
this.eventBus.emit(ADDON_EVENTS_HANDLED, {
|
||||
result: integrationEvent.state,
|
||||
destination: this.name,
|
||||
});
|
||||
}
|
||||
|
||||
destroy?(): void;
|
||||
|
@ -57,7 +57,6 @@ export type IFlagKey =
|
||||
| 'originMiddlewareRequestLogging'
|
||||
| 'unleashAI'
|
||||
| 'webhookDomainLogging'
|
||||
| 'addonUsageMetrics'
|
||||
| 'releasePlans'
|
||||
| 'navigationSidebar'
|
||||
| 'productivityReportEmail'
|
||||
@ -286,10 +285,6 @@ const flags: IFlags = {
|
||||
process.env.UNLEASH_EXPERIMENT_WEBHOOK_DOMAIN_LOGGING,
|
||||
false,
|
||||
),
|
||||
addonUsageMetrics: parseEnvVarBoolean(
|
||||
process.env.UNLEASH_EXPERIMENTAL_ADDON_USAGE_METRICS,
|
||||
false,
|
||||
),
|
||||
releasePlans: parseEnvVarBoolean(
|
||||
process.env.UNLEASH_EXPERIMENTAL_RELEASE_PLANS,
|
||||
false,
|
||||
|
@ -55,7 +55,6 @@ process.nextTick(async () => {
|
||||
originMiddlewareRequestLogging: true,
|
||||
unleashAI: true,
|
||||
webhookDomainLogging: true,
|
||||
addonUsageMetrics: true,
|
||||
releasePlans: false,
|
||||
simplifyProjectOverview: true,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user