Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Persist TaskRun logs with timestamps (opt-in) #671

Closed
thomascube opened this issue Nov 21, 2023 · 2 comments
Closed

Persist TaskRun logs with timestamps (opt-in) #671

thomascube opened this issue Nov 21, 2023 · 2 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@thomascube
Copy link
Contributor

Feature request

I'd like to have timestamp information in the logs persisted by Tekton Results.
Basically the equivalent of kubectl logs --timestamps

Of course this should be opt-in and configurable by a config option.

Use case

For long running pipeline tasks, exact timing information for each log line can be helpful to determine where the elapsed time was spent. We have a custom UI built for Tekton which can show/hide timestamps in logs. Instead of pulling the logs ourselves, we'd like to use Tekton results' logging feature to persist logs and consume them via the API.

@thomascube thomascube added the kind/feature Categorizes issue or PR as related to a new feature. label Nov 21, 2023
@manuelwallrapp
Copy link
Contributor

We also need this feature. Eventually we can figure out how to adapt it and do a PR.

@thomascube
Copy link
Contributor Author

This feature is now covered with the merge of #789.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants