kestra-io/kestra
在 GitHub 查看[TBD] Bring back a search box to filter out task runs in the Outputs tab
Open
#5,448 创建于 2024年10月14日
area/frontendgood first issue
描述
Feature description
In the old outputs tab design, we used to have a small search box allowing to filter for task runs with a specific ID, would it be useful to add it here? if not, let's close the issue, just wondering
flow to explore the same:
id: microservices_and_apis
namespace: tutorial
description: Microservices and APIs
inputs:
- id: server_uri
type: URI
defaults: https://kestra.io
- id: slack_webhook_uri
type: URI
defaults: https://reqres.in/api/slack
tasks:
- id: http_status_check
type: io.kestra.plugin.core.flow.AllowFailure
tasks:
- id: http_request
type: io.kestra.plugin.core.http.Request
uri: "{{ inputs.server_uri }}"
- id: check_status
type: io.kestra.plugin.core.flow.If
condition: "{{ outputs.http_request.code != 200 }}"
then:
- id: unhealthy
type: io.kestra.plugin.core.log.Log
message: "Server is unhealthy! Response {{ outputs.http_request.body }}"
- id: send_slack_alert
type: io.kestra.plugin.notifications.slack.SlackIncomingWebhook
url: "{{ inputs.slack_webhook_uri }}"
payload: |
{
"channel": "#alerts",
"text": "The server {{ inputs.server_uri }} is down!"
}
else:
- id: healthy
type: io.kestra.plugin.core.log.Log
message: Everything is fine!
errors:
- id: server_unreachable
type: io.kestra.plugin.notifications.slack.SlackIncomingWebhook
url: "{{ inputs.slack_webhook_uri }}"
payload: |
{
"channel": "#alerts",
"text": "The server {{ inputs.server_uri }} is unreachable!"
}