Skip to content

array_combine(): Argument #1 ($keys) and argument #2 ($values) must have the same number of elements #147

Description

@FractalizeR

If you first send a metric with two labels and later remove one of the labels, you get an exception in \Prometheus\RenderTextFormat::escapeAllLabels because two label arrays cannot be array_combine()'ed. You have to flush metric storage to make it working again.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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