v4.0.0
Changelog for 4.0.0
The following sections list the changes for 4.0.0.
Summary
- Chg #393: Switch to official logging library
- Chg #405: New metrics and configs for workflow job collector
- Chg #412: Change config and metric names for workflows
- Enh #368: Add
actor.login
label to workflow collector
Details
-
Change #393: Switch to official logging library
Since there have been a structured logger part of the Go standard library we
thought it's time to replace the library with that. Be aware that log messages
should change a little bit. -
Change #405: New metrics and configs for workflow job collector
We have added a new metric for the duration of the time since the workflow job
was created, defined in minutes. Beside that we have added two additional
configurations to query the workflows for a specific status and you are able to
define a different timeframe than 12 hours now. -
Change #412: Change config and metric names for workflows
We introduced a BREAKING CHANGE by renaming the config variables and metrics
related to the workflows. Previously you had to set--collector.workflows
or
GITHUB_EXPORTER_COLLECTOR_WORKFLOWS
to enable the collector, for being
consistent with the new workflow job collector we have renamed them to
--collector.workflow_runs
andGITHUB_EXPORTER_COLLECTOR_WORKFLOW_JOBS
, so be
aware about that. Additionally we have also renamed the metrics a tiny bit
matching the same suffix. We renamed them as an example from
github_workflow_status
togithub_workflow_run_status
. -
Enhancement #368: Add
actor.login
label to workflow collectorExport an
actor.login
label for workflow collector which could be added to the
labels optionally, please keep the label cardinality in mind while enabling this
label.