Skip to content
This repository was archived by the owner on Aug 4, 2021. It is now read-only.

Conversation

@wfelipew
Copy link

@wfelipew wfelipew commented Jun 19, 2020

Fix bug when labels include "\" character before closing quotes

Input example:
vmware_vm_guest_disk_capacity{cluster_name="CLUSTER-ABC",dc_name="LAN-BRAZIL",environment="Datacenter-AWS",host_name="lan.example.com",instance="localhost:9273",job="vmware_exporter",partition="F:\\",vm_name="VMTEST001"} 21064335360 1592592551506

Error Output: Unexpected end char V
In this case the value of partition label is parsed as "F:\",vm_name=".

Fix bug when labels include "\" character before closing quotes

Input example:
vmware_vm_guest_disk_capacity{cluster_name="CLUSTER-ABC",dc_name="LAN-BRAZIL",environment="Datacenter-AWS",host_name="lan.example.com",instance="localhost:9273",job="vmware_exporter",partition="F:\\",vm_name="VMTEST001"} 21064335360 1592592551506

Error Output: Unexpected end char V
@CLAassistant
Copy link

CLAassistant commented Jun 19, 2020

CLA assistant check
All committers have signed the CLA.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants