Skip to content

v4.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 23 Oct 22:07
· 42 commits to master since this release
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.

    #393

  • 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.

    #405

  • 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 and GITHUB_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 to github_workflow_run_status.

    #412

  • Enhancement #368: Add actor.login label to workflow collector

    Export 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.

    #368