Skip to content

Event to metric

Event to metric #3607

Triggered via pull request February 3, 2026 09:38
Status Failure
Total duration 3m 54s
Artifacts 2

ci.yml

on: pull_request
Matrix: e2e_test
Matrix: test
upload
upload
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 2 warnings
check-generate
Process completed with exit code 2.
test
No test report files were found
test
Process completed with exit code 1.
test: plugin/output/prometheus/prometheus.go#L389
cannot use ctl.RegisterCounter("output_prometheus_send_error", "Total Prometheus send errors") (value of type *metric.Counter) as "github.com/prometheus/client_golang/prometheus".Counter value in assignment: *metric.Counter does not implement "github.com/prometheus/client_golang/prometheus".Counter (missing method Collect)
test: plugin/action/cardinality_limit/cardinality_limit.go#L72
cannot use ctl.RegisterCounterVec(name, help, labelNames...) (value of type *metric.CounterVec) as *prometheus.CounterVec value in return statement
test (-race)
No test report files were found
test (-race)
Process completed with exit code 1.
test (-race): plugin/output/prometheus/prometheus.go#L389
cannot use ctl.RegisterCounter("output_prometheus_send_error", "Total Prometheus send errors") (value of type *metric.Counter) as "github.com/prometheus/client_golang/prometheus".Counter value in assignment: *metric.Counter does not implement "github.com/prometheus/client_golang/prometheus".Counter (missing method Collect)
test (-race): plugin/action/cardinality_limit/cardinality_limit.go#L72
cannot use ctl.RegisterCounterVec(name, help, labelNames...) (value of type *metric.CounterVec) as *prometheus.CounterVec value in return statement
lint
issues found
lint: plugin/output/prometheus/prometheus.go#L389
cannot use ctl.RegisterCounter("output_prometheus_send_error", "Total Prometheus send errors") (value of type *metric.Counter) as "github.com/prometheus/client_golang/prometheus".Counter value in assignment: *metric.Counter does not implement "github.com/prometheus/client_golang/prometheus".Counter (missing method Collect) (typecheck)
test
No file matches path test-report.json
test (-race)
No file matches path test-report-race.json

Artifacts

Produced during runtime
Name Size Digest
test-artifacts-e2e Expired
303 KB
sha256:6cafd6f799964f9bfd6c91d6d7315387877ceebc4f81adc382673f9403fa0fcd
test-artifacts-e2e-race Expired
303 KB
sha256:4eeaa3cdc49f02516a592c01b0db0fbd64fc6ec25fe7619ed13161d8ff574d03