feature(dashboard): add ability to filter out events by profile id and ip (#101)
This commit is contained in:
committed by
GitHub
parent
27ee623584
commit
f4ad97d87d
@@ -28,7 +28,9 @@ export async function activateRateLimiter({
|
||||
req.headers['x-forwarded-for']) as string;
|
||||
},
|
||||
onExceeded: (req, reply) => {
|
||||
req.log.warn('Rate limit exceeded');
|
||||
req.log.warn('Rate limit exceeded', {
|
||||
clientId: req.headers['openpanel-client-id'],
|
||||
});
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user