diff --git a/plugin/index.ts b/plugin/index.ts index 84b10fd..9dc7e05 100644 --- a/plugin/index.ts +++ b/plugin/index.ts @@ -148,12 +148,12 @@ export default function register(api: PluginAPI, rawConfig: PluginConfig | Plugi } // Hook into Gateway lifecycle - api.on('gateway:start', () => { + api.on('gateway_start', () => { logger.info('Gateway starting, starting telemetry server...'); startSidecar(); }); - api.on('gateway:stop', () => { + api.on('gateway_stop', () => { logger.info('Gateway stopping, stopping telemetry server...'); stopSidecar(); });