Closed ramessesii2 closed 11 months ago
cc @khrm @enarha @sayan-biswas @avinal
Few things here i would like to mention..
zap
logger underneath.Agreeing with the @sayan-biswas's feedback, I'm closing this issue. The integration of a Knative adapter doesn't align with our current viper-based config parsing and context propagation needs in Tekton Results API . The complexities added by this approach, given our reliance on the zap logger, outweigh the benefits.
Feature request
This issue proposes the integration of a Knative adapter to enhance logging capabilities within the Tekton Results API component. This transition aims to address the limitations and lack of uniformity in logging across the API and watcher currently observed with the zap logger. Original Issue - #272
Use case
The Tekton Results API employs a zap logger, which has demonstrated limitations and inconsistencies, particularly in uniformity across the API and watcher components. Adopting a Knative-based logging approach, inspired by its successful use in Tekton Triggers and Pipelines-as-Code projects, promises enhanced flexibility, integration, and customization.
Benefits
Potential Drawbacks
Preliminary configuration of adapter with Tekton-Results API
https://github.com/ramessesii2/downstream-tektoncd-results/blob/RAMESSESII2/results-api-knative-adapter-2/cmd/api/main.go