AI Agent Invocation Triggers - Events and Schedule
Feb 15, 20267 views
Chapters
00:00
Introduction to Agent Triggers
Introducing the new agent triggers feature.
00:10
Adding a Scheduled Trigger
Setting up a scheduled trigger for observability.
01:24
Adding an Event-Based Trigger
Configuring an event-based trigger from NATS or Kafka.
02:03
Webhook Support Demonstration
Demonstrating webhook support for triggers.
02:18
Conclusion
Concluding the video and thanking viewers.
Transcript
00:00
Introducing our latest feature, the agent triggers.
00:03
Within your project, you'll spot the trigger option.
00:06
Triggers can activate agents based on a schedule or events.
00:10
Let's dive into adding a trigger.
00:12
Here's the form where you can name your trigger.
00:14
Specifying the type.
00:16
I'm going to set up one for observability, Add a description and a message for the trigger.
00:26
The message can be JSON or text.
00:28
Let's go with text.
00:30
We have event based and scheduled based based triggers.
00:32
So I'll choose Scheduled.
00:34
Enter the CRON expression which schedules the trigger.
00:37
We also have an AI option for prompts like every minute, select Insert to add the Cron expression.
00:44
An end time option is available automatically.
00:47
Disabling the trigger.
00:49
Scheduled based triggers offer two Trigger a workflow or post an event to a stream like NATS or Kafka Stream Lets choose Workflow and select Observability.
01:01
Once created, it adds a trigger with your chosen name.
01:04
This workflow triggers every minute.
01:07
AI observability is now active.
01:09
The IoBServability event is triggered and in progress.
01:13
The agent has completed and here's the output.
01:17
We added a Slack message feature Reports published directly to Slack and you can add event based triggers too.
01:24
Let's add one.
01:25
Name it and choose Event based.
01:28
Upon selecting Event based options appear.
01:31
You can read events from NATS or Kafka.
01:33
For Kafka, provide the topic name, filter and group name.
01:38
I'll choose NATS based option for now and specify Incident Stream name.
01:42
Apply a filter like Status is open.
01:45
It reads open status from the stream.
01:48
Assign a group name like incident for action type.
01:51
Choose between executing a workflow or posting an event.
01:55
We'll choose Workflow and the Dynatrace agent.
01:58
The trigger is set.
01:59
It executes and can also trigger an agent.
02:03
We've added webhook support.
02:05
Let me demonstrate quickly.
02:06
Ask for recent 5 events or alerts this message sends to the stream we're monitoring.
02:11
Triggering the event.
02:13
There it is.
02:14
The event is complete and the message is visible.
02:18
Thanks for watching.
02:19
Catch you in another video.
Comments
No comments yet
AI Agent Invocation Triggers - Events and Schedule