Welcome to Portkey Forum

Updated last month

Extending the Capabilities of Guardrail Plugins: Leveraging Hooks for Instrumentation and Monitoring

At a glance
Hi, quick question. Are the plugins only for guardrail purposes? It would be interesting for example to be able to create a plugin which leverages the hooks to use an instrumentation framework from tools like datadog or grafana tu automatically trace and inject third party monitoring to the calls
s
e
r
5 comments
@visarg is extending the plugins piece have generic lifecycle triggers
@sega nice. Are there more details that can be shared about this?
four types of hook controllers

on start
before request
after request
on end
and what about using third party libraries in the hooks? As mentioned, for example, datadog sdk
yes, youll be able to build connectors to third party libraries or use webhooks for custom URLs as well.
Add a reply
Sign up and join the conversation on Discord