Rename repo from forgejo-runner-resource-collector
All checks were successful
ci / build (push) Successful in 1m48s

This commit is contained in:
Martin McCaffery 2026-02-12 09:36:23 +01:00
parent d0dd209bc9
commit db78b02bb5
Signed by: martin.mccaffery
GPG key ID: 7C4D0F375BCEE533
15 changed files with 22 additions and 21 deletions

View file

@ -6,9 +6,9 @@ import (
"log/slog"
"time"
"edp.buildth.ing/DevFW-CICD/forgejo-runner-resource-collector/internal/metrics"
"edp.buildth.ing/DevFW-CICD/forgejo-runner-resource-collector/internal/output"
"edp.buildth.ing/DevFW-CICD/forgejo-runner-resource-collector/internal/summary"
"edp.buildth.ing/DevFW-CICD/forgejo-runner-optimiser/internal/metrics"
"edp.buildth.ing/DevFW-CICD/forgejo-runner-optimiser/internal/output"
"edp.buildth.ing/DevFW-CICD/forgejo-runner-optimiser/internal/summary"
)
// Config holds the collector configuration

View file

@ -10,8 +10,8 @@ import (
"testing"
"time"
"edp.buildth.ing/DevFW-CICD/forgejo-runner-resource-collector/internal/output"
"edp.buildth.ing/DevFW-CICD/forgejo-runner-resource-collector/internal/summary"
"edp.buildth.ing/DevFW-CICD/forgejo-runner-optimiser/internal/output"
"edp.buildth.ing/DevFW-CICD/forgejo-runner-optimiser/internal/summary"
)
func TestCollector_EmitsSummaryOnShutdown(t *testing.T) {

View file

@ -14,8 +14,8 @@ import (
"testing"
"time"
"edp.buildth.ing/DevFW-CICD/forgejo-runner-resource-collector/internal/receiver"
"edp.buildth.ing/DevFW-CICD/forgejo-runner-resource-collector/internal/summary"
"edp.buildth.ing/DevFW-CICD/forgejo-runner-optimiser/internal/receiver"
"edp.buildth.ing/DevFW-CICD/forgejo-runner-optimiser/internal/summary"
)
const (

View file

@ -4,8 +4,8 @@ import (
"sort"
"time"
"edp.buildth.ing/DevFW-CICD/forgejo-runner-resource-collector/internal/cgroup"
"edp.buildth.ing/DevFW-CICD/forgejo-runner-resource-collector/internal/proc"
"edp.buildth.ing/DevFW-CICD/forgejo-runner-optimiser/internal/cgroup"
"edp.buildth.ing/DevFW-CICD/forgejo-runner-optimiser/internal/proc"
)
// Aggregator collects and aggregates metrics from processes

View file

@ -6,7 +6,7 @@ import (
"log/slog"
"os"
"edp.buildth.ing/DevFW-CICD/forgejo-runner-resource-collector/internal/metrics"
"edp.buildth.ing/DevFW-CICD/forgejo-runner-optimiser/internal/metrics"
)
// LogFormat specifies the log output format

View file

@ -1,6 +1,6 @@
package output
import "edp.buildth.ing/DevFW-CICD/forgejo-runner-resource-collector/internal/metrics"
import "edp.buildth.ing/DevFW-CICD/forgejo-runner-optimiser/internal/metrics"
// Writer defines the interface for outputting metrics
// This allows for different implementations (logging, HTTP push, etc.)

View file

@ -10,7 +10,7 @@ import (
"path/filepath"
"testing"
"edp.buildth.ing/DevFW-CICD/forgejo-runner-resource-collector/internal/summary"
"edp.buildth.ing/DevFW-CICD/forgejo-runner-optimiser/internal/summary"
)
func TestHandler_ReceiveMetrics(t *testing.T) {

View file

@ -6,7 +6,7 @@ import (
"testing"
"time"
"edp.buildth.ing/DevFW-CICD/forgejo-runner-resource-collector/internal/summary"
"edp.buildth.ing/DevFW-CICD/forgejo-runner-optimiser/internal/summary"
)
func TestNewStore(t *testing.T) {

View file

@ -2,7 +2,7 @@
// ABOUTME: Defines MetricsPayload combining execution metadata with run summary.
package receiver
import "edp.buildth.ing/DevFW-CICD/forgejo-runner-resource-collector/internal/summary"
import "edp.buildth.ing/DevFW-CICD/forgejo-runner-optimiser/internal/summary"
// ExecutionContext holds GitHub Actions style identifiers for a workflow run
type ExecutionContext struct {

View file

@ -7,7 +7,7 @@ import (
"sort"
"time"
"edp.buildth.ing/DevFW-CICD/forgejo-runner-resource-collector/internal/metrics"
"edp.buildth.ing/DevFW-CICD/forgejo-runner-optimiser/internal/metrics"
)
// containerAccumulator tracks metrics for a single container

View file

@ -6,7 +6,7 @@ import (
"testing"
"time"
"edp.buildth.ing/DevFW-CICD/forgejo-runner-resource-collector/internal/metrics"
"edp.buildth.ing/DevFW-CICD/forgejo-runner-optimiser/internal/metrics"
)
func TestAccumulator_NoSamples(t *testing.T) {