Skip to content

Prometheus golden test has been failing since 0.139.0 #1254

@songy23

Description

@songy23

E.g. https://github.com/open-telemetry/opentelemetry-collector-releases/actions/runs/19053339696/job/54419078875

2025-11-04T00:25:41.288Z	ERROR	golden/main.go:101	Timeout waiting for data
main.run
	github.com/open-telemetry/opentelemetry-collector-contrib/cmd/golden/main.go:101
main.main
	github.com/open-telemetry/opentelemetry-collector-contrib/cmd/golden/main.go:37
runtime.main
	runtime/proc.go:283
2025/11/04 00:25:41 resource "map[server.port:8888 url.scheme:http]": scope "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver": number of metrics doesn't match expected: 12, actual: 17

Probably related to Prometheus version upgrade: open-telemetry/opentelemetry-collector-contrib#43890.
IMO the test should allow new metrics from Prometheus while just validating expected metrics are present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingci-cd

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions