Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

Enhance payload parsing to support spaces in labels and string values. #491

Merged
merged 1 commit into from
Oct 14, 2020

Commits on Oct 13, 2020

  1. Enhance payload parsing to support spaces in labels and string values.

    For example, we'll be able to parse the following string:
    version{service="service A",dc="xx"} "version 1.5.0"
    
    = Instead of splitting by spaces, parse the string from the beginning. Use opening and closing braces("{", "}") to find labels in the string.
    = Metric names cannot have spaces. Consider everything before the first space to be a metric name.
    
    PiperOrigin-RevId: 336970245
    manugarg committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    1d6284f View commit details
    Browse the repository at this point in the history