Skip to content

Commit

Permalink
Doc: Explain how lifetime of logging links is configured (flyteorg#5503)
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio Grätz <fabiogratz@googlemail.com>
Signed-off-by: Fabio M. Graetz, Ph.D. <fabiograetz@googlemail.com>
Co-authored-by: Fabio Grätz <fabiogratz@googlemail.com>
Co-authored-by: Nikki Everett <neverett@users.noreply.github.com>
  • Loading branch information
3 people authored Jun 25, 2024
1 parent 3ee7120 commit f715341
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,22 @@ Flytepropeller pod would be created as:
This code snippet will output two logs per task that use the log plugin.
However, not all task types use the log plugin; for example, the Snowflake plugin will use a link to the Snowflake console.

### Configure lifetime of logging links

By default, log links are shown once a task starts running and do not disappear when the task finishes. Certain log links might, however, be helpful when a task is still queued or initializing, for instance, to debug why a task might not be able to start. Other log links might not be valid anymore once the task terminates. You can configure the lifetime of log links in the following way:

```yaml
task_logs:
plugins:
logs:
templates:
- displayName: <name-to-show>
hideOnceFinished: true
showWhilePending: true
templateUris:
- "https://..."
```

## Datadog integration

To send your Flyte workflow logs to Datadog, you can follow these steps:
Expand Down

0 comments on commit f715341

Please sign in to comment.