Skip to content

Update/Fix PROM_APP_LABEL_REGEX  #734

Description

@Channyboy

Update PROM_APP_LABEL_REGEX from "mp_app=\"[-/A-Za-z0-9]+\"" to something that appropriately reflects the possible tag values.

Either updates regex or use logic for parsing.
Perhaps using mp_app=".*(?<!\\\\)", may work.

Tag values are any character that is UTF-8.

This current regex was an artifact from Metrics 2.0 when the (mp)_app value was supposed to be (optionally) resolved from the context-root of the application.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions