Skip to content

Error with ValidationScheme has no field or method IsValidMetricName #1873

@heliapb

Description

@heliapb

From a dependabot pr https://github.com/paulojmdias/lokxy/pull/84/files git and error with client_golang v1.23.2

# github.com/prometheus/client_golang/prometheus/internal
Error: ../../../go/pkg/mod/github.com/prometheus/[email protected]/prometheus/internal/go_runtime_metrics.go:70:34: model.LegacyValidation.IsValidMetricName undefined (type model.ValidationScheme has no field or method IsValidMetricName)

Seems this change was introduced in https://github.com/prometheus/client_golang/pull/1859/files. Could you pls check. Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions