Skip to content

Requesting badly formatted PVs breaks metrics parsing #92

@AlexanderWells-diamond

Description

@AlexanderWells-diamond

If you request a PV using a clearly incorrect syntax, e.g. CALC\\\{(A%2)\}(BL05J-VA-IOC-02:HEARTBEAT), this string will appear as-is in the metrics overview. This particular string breaks the parsing of the metrics completely, and so no Coniql metrics appear in Prometheus.

We will need to do some escaping of strings. There may be functionality in aioprometheus for such behaviour. I'm sort of surprised it doesn't automatically escape strings...

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