Releases: freepik-company/tekton-exporter
Releases · freepik-company/tekton-exporter
tekton-exporter-helm-chart-0.3.0
A Helm chart to deploy Tekton Exporter into a Kubernetes cluster
v0.3.0
Changes
- Refactor functions in charge of parsing Kubernetes resources: objects from the watchers' events are now handling the errors more carefully
- Watchers and events' processing logic are now separated: a shorter watcher is simpler and easier to debug. Now the watcher calls a handler function for each event. When the event fails to be processed, the watcher log the failure but goes for the next event
Contributors
v0.2.1
Fixes
- Watchers for
*Run
objects are restarted when they return an error - Manage most errors inside goroutines (watchers) instead of throwing them to the main process (treat them as completely separated processes)
- Inside watchers, extracting information from malformed
*Run
objects can end with missing data. Now the default behavior is to log the error and skip the object not to crash other metrics - Error messages templates were moved to constants
- GVR definition for
Taskrun
andPipelinerun
resources are now defined as variables on top
Contributors
v0.2.0
Fixes
- Refactor some functions: This will allow the project implement more metrics when needed with ease
Features
- Add
namespace
label to all the metrics - Add
_duration_seconds
metric for PipelineRun and TaskRun objects. Moreover, those metrics have two new labels:start_timestamp
andcompletion_timestamp
. These timestamps are fixed, so they will not increase the cardinality of the metric and will add some benefits on dashboards that will use it
Contributors
v0.1.1
Fixes
- Post-parse comma-separated flag
--populated-labels
: Depending on how the flag was passed and the environment in which the command-line interface (CLI) was running, the Cobra flags library did not properly separate the values when they were divided by commas. This issue did not occur when setting the flag multiple times with just one value per setting. To address this, we now perform post-processing on the flag to ensure that commas are consistently used as separators as expected.